42 static void AddMapInfo(
string mapName,
string mapDisplayName)
52 string internalMapName;
62 return internalMapName;
68 string displayMapName;
69 string internalMapName = mapName;
74 if (mn == internalMapName)
81 if (displayMapName ==
"")
83 displayMapName = mapName;
84 string fc = displayMapName[0];
93 displayMapName[0] = fc;
97 return displayMapName;
112 case "chernarusplus":
136class GetServerModListResult
197#ifdef PLATFORM_WINDOWS
206#ifdef PLATFORM_WINDOWS
209 m_Id.Split(
":", parts);
291 if (comparisonResult == 0)
300 return comparisonResult;
582 m_SortBy +=
"M" + pingMaxValue +
";";
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
class ServerBrowserHelperFunctions m_Id
array< ref GetServersResultRow > GetServersResultRowArray
Param4< string, string, int, int > CachedServerInfo
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native EBiosError GetFirstServerWithEmptySlot(GetFirstServerWithEmptySlotInput inputValues)
First 1st free server.
proto native void RemoveServerFavorite(string ipAddress, int port, int steamQueryPort)
proto native void GetFavoriteServers(TStringArray favServers)
proto native EBiosError GetServers(GetServersInput inputValues)
Query game servers.
proto native void AddServerFavorite(string ipAddress, int port, int steamQueryPort)
void OnDoneAsync(GetServersResult result_list, EBiosError error, string response)
Async callback for GetServers.
void OnGetFirstServerWithEmptySlot(GetFirstServerWithEmptySlotResult result_list, EBiosError error)
proto native EBiosError GetServerModList(string serverId)
proto native void GetCachedFavoriteServerInfo(array< ref CachedServerInfo > favServersInfoCache)
Get cached info about favorited servers (ONLY ON WINDOWS)
void OnServerModList(GetServerModListResult result_list, EBiosError error)
Async callback for GetServerModList.
GetServersResult m_Result
ref GetServersResultRowArray m_Results
GetServersResult the output structure of the GetServers operation.
string GetValueStr(ESortType sort_type)
float m_EnvironmentTimeMul
time multiplier of environment
bool m_AllowedFilePatching
int m_Disable3rdPerson
disable3rdPerson servers for mode regular/hardcore
int m_CurrentNumberPlayers
float m_EnvironmentNightTimeMul
bool m_MouseAndKeyboardEnabled
int CompareTo(GetServersResultRow other, ESortType sortType)
int GetValueInt(ESortType sort_type)
bool m_IsPasswordProtected
GetServersResultRow the output structure of the GetServers operation that represents one game server.
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 string GetServerMapImagePath(string mapName)
static const string SAKHAL_MAP_IMAGE
static ref map< string, string > INTERNAL_MAP_NAMES
static ServerBrowserHelperFunctions GetInstance()
static ref ServerBrowserHelperFunctions s_ServerBrowserHelperFunctions
static const string LIVONIA_MAP_IMAGE
static string GetMapDisplayName(string mapName)
static const string LOWERCASE_ALPHABET
static const string CHERNARUS_MAP_IMAGE
static string GetInternalMapName(string mapName)
void ServerBrowserHelperFunctions()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
array< string > TStringArray
proto int ToUpper()
Changes string to uppercase. Returns length.
proto int ToLower()
Changes string to lowercase. Returns length.