You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* 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]
29 lines
477 B
C++
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
|