You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Add --login flag to sync command * Add in-process token cache * Add auth token when quering server features * Use direct download path when supported by server #jira UE-192913 #rb none [CL 27535921 by yuriy odonnell in ue5-main branch]
31 lines
516 B
C++
31 lines
516 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "UnsyncCommon.h"
|
|
#include "UnsyncRemote.h"
|
|
|
|
#include <string>
|
|
|
|
namespace unsync {
|
|
|
|
struct FCmdQueryOptions
|
|
{
|
|
std::string Query;
|
|
std::string Args;
|
|
FPath OutputPath;
|
|
FRemoteDesc Remote;
|
|
};
|
|
|
|
int32 CmdQuery(const FCmdQueryOptions& Options);
|
|
|
|
struct FMirrorInfo
|
|
{
|
|
std::string Name;
|
|
std::string Address;
|
|
uint16 Port = UNSYNC_DEFAULT_PORT;
|
|
double Ping = 0;
|
|
};
|
|
|
|
TResult<FMirrorInfo> FindClosestMirror(const FRemoteDesc& Remote);
|
|
|
|
} // namespace unsync
|