// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "UnsyncCommon.h" #include "UnsyncRemote.h" #include namespace unsync { struct FCmdQueryOptions { std::string Query; std::vector Args; FPath OutputPath; FRemoteDesc Remote; }; int32 CmdQuery(const FCmdQueryOptions& Options); struct FMirrorInfo { std::string Name; std::string Address; std::string Description; uint16 Port = UNSYNC_DEFAULT_PORT; double Ping = 0; }; TResult FindClosestMirror(const FRemoteDesc& Remote); } // namespace unsync