Files
UnrealEngineUWP/Engine/Source/Programs/Unsync/Private/UnsyncCmdQuery.h
yuriy odonnell c45fdca170 unsync - Automatically find closest proxy server by default
* Use --no-proxy-select to skip server selection
* Bump version to 1.0.52

#rb none

[CL 26157514 by yuriy odonnell in ue5-main branch]
2023-06-21 15:01:35 -04:00

29 lines
477 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "UnsyncCommon.h"
#include "UnsyncRemote.h"
#include <string>
namespace unsync {
struct FCmdQueryOptions
{
std::string Query;
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