Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
BiosLobbyService Class Reference

Private Member Functions

proto native void AddServerFavorite (string ipAddress, int port, int steamQueryPort)
proto native void GetCachedFavoriteServerInfo (array< ref CachedServerInfo > favServersInfoCache)
 Get cached info about favorited servers (ONLY ON WINDOWS).
proto native void GetFavoriteServers (TStringArray favServers)
proto native EBiosError GetFirstServerWithEmptySlot (GetFirstServerWithEmptySlotInput inputValues)
 First 1st free server.
proto native EBiosError GetServerModList (string serverId)
 Async function to retrieve info about mods for specific server (only for PC).
proto native EBiosError GetServers (GetServersInput inputValues)
 Query game servers.
void OnDoneAsync (GetServersResult result_list, EBiosError error, string response)
 Async callback for GetServers.
void OnGetFirstServerWithEmptySlot (GetFirstServerWithEmptySlotResult result_list, EBiosError error)
void OnServerModList (GetServerModListResult result_list, EBiosError error)
 Async callback for GetServerModList.
proto native void RemoveServerFavorite (string ipAddress, int port, int steamQueryPort)

Detailed Description

Definition at line 655 of file bioslobbyservice.c.

Member Function Documentation

◆ AddServerFavorite()

proto native void AddServerFavorite ( string ipAddress,
int port,
int steamQueryPort )
private

◆ GetCachedFavoriteServerInfo()

proto native void GetCachedFavoriteServerInfo ( array< ref CachedServerInfo > favServersInfoCache)
private

Get cached info about favorited servers (ONLY ON WINDOWS).

Parameters
favServersInfoCachegets populated with data with format: key = Query End Point, value.param1 = Server Name, value.param2 = Connection Port

◆ GetFavoriteServers()

proto native void GetFavoriteServers ( TStringArray favServers)
private

◆ GetFirstServerWithEmptySlot()

proto native EBiosError GetFirstServerWithEmptySlot ( GetFirstServerWithEmptySlotInput inputValues)
private

First 1st free server.

The async result is returned in the OnGetFirstServerWithEmptySlot callback.

◆ GetServerModList()

proto native EBiosError GetServerModList ( string serverId)
private

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

Parameters
serverIdhave 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

◆ GetServers()

proto native EBiosError GetServers ( GetServersInput inputValues)
private

Query game servers.

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.

Parameters
inputValuesinput structure

◆ OnDoneAsync()

void OnDoneAsync ( GetServersResult result_list,
EBiosError error,
string response )
inlineprivate

Async callback for GetServers.

Parameters
result_listresult object
errorerror indicating success or fail of the async operation.
responsefor debugging - this is the data returned by the server; or an empty string ;)

Definition at line 698 of file bioslobbyservice.c.

References OnlineServices::OnLoadServersAsync().

◆ OnGetFirstServerWithEmptySlot()

void OnGetFirstServerWithEmptySlot ( GetFirstServerWithEmptySlotResult result_list,
EBiosError error )
inlineprivate

Definition at line 707 of file bioslobbyservice.c.

References OnlineServices::OnAutoConnectToEmptyServer().

◆ OnServerModList()

void OnServerModList ( GetServerModListResult result_list,
EBiosError error )
inlineprivate

Async callback for GetServerModList.

Definition at line 713 of file bioslobbyservice.c.

References OnlineServices::OnGetServerModList().

◆ RemoveServerFavorite()

proto native void RemoveServerFavorite ( string ipAddress,
int port,
int steamQueryPort )
private

The documentation for this class was generated from the following file: