DIFF

class BiosLobbyServiceSource

Methods 10

proto native EBiosError GetServers(GetServersInput inputValues)

The async result is returned in the OnDoneAsync callback. Expected errors: BAD_PARAMETER - if atleast one of the permissions is not supported on the current platform, or atleast one of the input arrays is NULL.

inputValues
input structure
proto native EBiosError GetFirstServerWithEmptySlot(GetFirstServerWithEmptySlotInput inputValues)

The async result is returned in the OnGetFirstServerWithEmptySlot callback.

proto native void AddServerFavorite(string ipAddress, int port, int steamQueryPort)
proto native void RemoveServerFavorite(string ipAddress, int port, int steamQueryPort)
proto native void GetFavoriteServers(TStringArray favServers)
proto native void GetCachedFavoriteServerInfo(array<ref CachedServerInfo> favServersInfoCache)
favServersInfoCache
gets populated with data with format: key = Query End Point, value.param1 = Server Name, value.param2 = Connection Port
proto native EBiosError GetServerModList(string serverId)

Async function to retrieve info about mods for specific server (only for PC)

serverId
have to be an id returned by callbacks issued by last call to GetServers if GetServers is used another time the id's must be upated
void OnDoneAsync(GetServersResult result_list, EBiosError error, string response)
result_list
result object
error
error indicating success or fail of the async operation.
response
for debugging - this is the data returned by the server; or an empty string ;)
void OnGetFirstServerWithEmptySlot(GetFirstServerWithEmptySlotResult result_list, EBiosError error)
void OnServerModList(GetServerModListResult result_list, EBiosError error)

Async callback for GetServerModList