68 static void AddMapInfo(
string mapName,
string mapDisplayName)
78 string internalMapName;
88 return internalMapName;
94 string displayMapName;
95 string internalMapName = mapName;
100 if (mn == internalMapName)
102 displayMapName = mdp;
107 if (displayMapName ==
"")
109 displayMapName = mapName;
110 string fc = displayMapName[0];
119 displayMapName[0] = fc;
123 return displayMapName;
138 case "chernarusplus":
162class GetServerModListResult
223#ifdef PLATFORM_WINDOWS
232#ifdef PLATFORM_WINDOWS
235 m_Id.Split(
":", parts);
317 if (comparisonResult == 0)
326 return comparisonResult;
608 m_SortBy +=
"M" + pingMaxValue +
";";
EBiosError
Possible Error codes for bios API.
class ServerBrowserHelperFunctions m_Id
array< ref GetServersResultRow > GetServersResultRowArray
Param4< string, string, int, int > CachedServerInfo
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native void GetCachedFavoriteServerInfo(array< ref CachedServerInfo > favServersInfoCache)
Get cached info about favorited servers (ONLY ON WINDOWS).
void OnDoneAsync(GetServersResult result_list, EBiosError error, string response)
Async callback for GetServers.
proto native void GetFavoriteServers(TStringArray favServers)
proto native EBiosError GetFirstServerWithEmptySlot(GetFirstServerWithEmptySlotInput inputValues)
First 1st free server.
proto native void AddServerFavorite(string ipAddress, int port, int steamQueryPort)
proto native EBiosError GetServerModList(string serverId)
Async function to retrieve info about mods for specific server (only for PC).
void OnGetFirstServerWithEmptySlot(GetFirstServerWithEmptySlotResult result_list, EBiosError error)
proto native void RemoveServerFavorite(string ipAddress, int port, int steamQueryPort)
void OnServerModList(GetServerModListResult result_list, EBiosError error)
Async callback for GetServerModList.
proto native EBiosError GetServers(GetServersInput inputValues)
Query game servers.
GetServersResult m_Result
GetServersResult the output structure of the GetServers operation.
ref GetServersResultRowArray m_Results
GetServersResultRow the output structure of the GetServers operation that represents one game server.
bool m_AllowedFilePatching
bool m_IsPasswordProtected
bool m_MouseAndKeyboardEnabled
int m_Disable3rdPerson
disable3rdPerson servers for mode regular/hardcore
float m_EnvironmentNightTimeMul
int GetValueInt(ESortType sort_type)
float m_EnvironmentTimeMul
time multiplier of environment
int m_CurrentNumberPlayers
int CompareTo(GetServersResultRow other, ESortType sortType)
string GetValueStr(ESortType sort_type)
ref array< ref JsonDataNewsArticle > News
static void OnLoadServersAsync(GetServersResult result_list, EBiosError error, string response)
static void OnGetServerModList(GetServerModListResult result_list, EBiosError error)
static void OnAutoConnectToEmptyServer(GetFirstServerWithEmptySlotResult result_list, EBiosError error)
static void AddMapInfo(string mapName, string mapDisplayName)
static ServerBrowserHelperFunctions GetInstance()
static const string LOWERCASE_ALPHABET
static ref ServerBrowserHelperFunctions s_ServerBrowserHelperFunctions
void ServerBrowserHelperFunctions()
static const string SAKHAL_MAP_IMAGE
static string GetServerMapImagePath(string mapName)
static string GetMapDisplayName(string mapName)
static ref map< string, string > INTERNAL_MAP_NAMES
static string GetInternalMapName(string mapName)
static const string LIVONIA_MAP_IMAGE
static const string CHERNARUS_MAP_IMAGE
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
array< string > TStringArray
proto int ToUpper()
Changes string to uppercase.
proto int ToLower()
Changes string to lowercase.