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

Static Protected Member Functions

static void AutoConnectToEmptyServer ()
static bool CheckUpdate ()
static void ClearCurrentServerInfo ()
static void ClearPendingInviteList (array< string > invitees)
static void EnterGameplaySession ()
static bool ErrorCaught (EBiosError error)
static BiosUser GetBiosUser ()
static void GetCachedFavServerInfo (array< ref CachedServerInfo > favServersInfoCache)
static void GetClientServices ()
static GetServersResultRow GetCurrentServerInfo ()
static void GetCurrentServerInfo (string ip, int port)
static void GetFavoriteServers (TStringArray favServers)
static void GetInviteServerInfo (out string ip, out int port)
static bool GetMultiplayState ()
static map< string, boolGetMuteList ()
static array< stringGetPendingInviteList ()
static GetServersResultRow GetRandomFreeResult (GetFirstServerWithEmptySlotResult results)
static void GetServerModList (string server_id)
static void GetSession ()
static string GetSessionHandle ()
static void Init ()
static bool IsGameActive (bool sim)
static bool IsGameTrial (bool sim)
static bool IsInitialized ()
static bool IsPlayerMuted (string id)
static void LeaveGameplaySession ()
static void LoadFriends ()
static void LoadMPPrivilege ()
static void LoadPermissions (array< string > player_list)
static void LoadServers (notnull GetServersInput inputValues)
static void LoadVoicePrivilege ()
static bool MutePlayer (string id, bool mute)
static void OnAutoConnectToEmptyServer (GetFirstServerWithEmptySlotResult result_list, EBiosError error)
static void OnFriendsAsync (BiosFriendInfoArray friend_list, EBiosError error)
static void OnGetServerModList (GetServerModListResult result_list, EBiosError error)
static void OnLoadMPPrivilege (EBiosError err)
static void OnLoadServersAsync (GetServersResult result_list, EBiosError error, string response)
static void OnLoadVoicePrivilege (EBiosError err)
static void OnPermissionsAsync (BiosPrivacyUidResultArray result_list, EBiosError error)
static void OnUserProfileAsync (EBiosError error)
static void PromptUpdate ()
static void SetBiosUser (BiosUser user)
static void SetGameplayActivity ()
static void SetInviteServerInfo (string ip, int port)
static void SetMultiplayState (bool state)
static void SetPendingInviteList (array< string > invitees)
static void SetServerFavorited (string ipAddress, int port, int steamQueryPort, bool is_favorited)
static void SetSessionHandle (string handle)
static void ShowInviteScreen ()
static void ShowUserProfile (string uid)

Static Protected Attributes

static int m_AutoConnectTries = 0
static ref BiosUser m_BiosUser
static ref GetServersResultRow m_CurrentServerInfo
static string m_CurrentServerIP
static int m_CurrentServerPort
static bool m_FirstFriendsLoad = true
static ref map< string, ref BiosFriendInfom_FriendsList
static string m_InviteServerIP
static int m_InviteServerPort
static bool m_MultiplayState = false
static ref map< string, boolm_MuteList
static ref array< stringm_PendingInvites
static ref map< string, ref BiosPrivacyPermissionResultArraym_PermissionsList

Static Private Attributes

static BiosClientServices m_ClientServices
static ref ScriptInvoker m_FriendsAsyncInvoker = new ScriptInvoker()
static ref ScriptInvoker m_MuteUpdateAsyncInvoker = new ScriptInvoker()
static ref ScriptInvoker m_PermissionsAsyncInvoker = new ScriptInvoker()
static ref ScriptInvoker m_ServerAsyncInvoker = new ScriptInvoker()
static ref ScriptInvoker m_ServerModLoadAsyncInvoker = new ScriptInvoker()
static ref ScriptInvoker m_ServersAsyncInvoker = new ScriptInvoker()
static ref TrialService m_TrialService

Detailed Description

Definition at line 1 of file onlineservices.c.

Member Function Documentation

◆ AutoConnectToEmptyServer()

void AutoConnectToEmptyServer ( )
inlinestaticprotected

◆ CheckUpdate()

bool CheckUpdate ( )
inlinestaticprotected

Definition at line 734 of file onlineservices.c.

References GetClientServices(), and m_ClientServices.

Referenced by DayZIntroSceneXbox::CheckXboxClientUpdate().

◆ ClearCurrentServerInfo()

void ClearCurrentServerInfo ( )
inlinestaticprotected

Definition at line 178 of file onlineservices.c.

References m_CurrentServerInfo, m_CurrentServerIP, and m_CurrentServerPort.

Referenced by CGame::OnEvent().

◆ ClearPendingInviteList()

void ClearPendingInviteList ( array< string > invitees)
inlinestaticprotected

Definition at line 620 of file onlineservices.c.

References m_PendingInvites.

◆ EnterGameplaySession()

void EnterGameplaySession ( )
inlinestaticprotected

Definition at line 531 of file onlineservices.c.

References g_Game, GetClientServices(), m_ClientServices, and SetMultiplayState().

Referenced by CGame::OnEvent().

◆ ErrorCaught()

◆ GetBiosUser()

BiosUser GetBiosUser ( )
inlinestaticprotected

Definition at line 504 of file onlineservices.c.

References m_BiosUser.

Referenced by CGame::DisconnectSessionEx().

◆ GetCachedFavServerInfo()

void GetCachedFavServerInfo ( array< ref CachedServerInfo > favServersInfoCache)
inlinestaticprotected

Definition at line 114 of file onlineservices.c.

References m_ClientServices.

Referenced by ServerBrowserTabPc::RefreshList().

◆ GetClientServices()

◆ GetCurrentServerInfo() [1/2]

GetServersResultRow GetCurrentServerInfo ( )
inlinestaticprotected

Definition at line 170 of file onlineservices.c.

References g_Game, and m_CurrentServerInfo.

Referenced by LeaveGameplaySession().

◆ GetCurrentServerInfo() [2/2]

◆ GetFavoriteServers()

void GetFavoriteServers ( TStringArray favServers)
inlinestaticprotected

Definition at line 109 of file onlineservices.c.

References m_ClientServices.

Referenced by UIScriptedMenu::LoadFavoriteServers().

◆ GetInviteServerInfo()

void GetInviteServerInfo ( out string ip,
out int port )
inlinestaticprotected

Definition at line 191 of file onlineservices.c.

References m_InviteServerIP, and m_InviteServerPort.

Referenced by UIScriptedMenu::Update().

◆ GetMultiplayState()

bool GetMultiplayState ( )
inlinestaticprotected

Definition at line 515 of file onlineservices.c.

References m_MultiplayState.

Referenced by ClientData::SyncEvent_OnRecievedPlayerList().

◆ GetMuteList()

map< string, bool > GetMuteList ( )
inlinestaticprotected

Definition at line 390 of file onlineservices.c.

References m_MuteList.

Referenced by UIScriptedMenu::Init().

◆ GetPendingInviteList()

array< string > GetPendingInviteList ( )
inlinestaticprotected

◆ GetRandomFreeResult()

◆ GetServerModList()

void GetServerModList ( string server_id)
inlinestaticprotected

Definition at line 687 of file onlineservices.c.

References GetClientServices(), and m_ClientServices.

Referenced by ScriptedWidgetEventHandler::SetExpand().

◆ GetSession()

void GetSession ( )
inlinestaticprotected

◆ GetSessionHandle()

string GetSessionHandle ( )
inlinestaticprotected

Definition at line 485 of file onlineservices.c.

References GetClientServices(), and m_ClientServices.

Referenced by GetSession().

◆ Init()

void Init ( )
inlinestaticprotected

Definition at line 30 of file onlineservices.c.

References GetClientServices(), m_FriendsList, m_MuteList, m_PermissionsList, and m_TrialService.

Referenced by CGame::OnEvent().

◆ IsGameActive()

bool IsGameActive ( bool sim)
inlinestaticprotected

Definition at line 719 of file onlineservices.c.

References m_TrialService.

Referenced by CGame::IsDigitalCopy().

◆ IsGameTrial()

bool IsGameTrial ( bool sim)
inlinestaticprotected

Definition at line 704 of file onlineservices.c.

References m_TrialService.

◆ IsInitialized()

bool IsInitialized ( )
inlinestaticprotected

Definition at line 52 of file onlineservices.c.

References m_ClientServices.

◆ IsPlayerMuted()

bool IsPlayerMuted ( string id)
inlinestaticprotected

Definition at line 360 of file onlineservices.c.

References m_MuteList.

Referenced by UIScriptedMenu::Init(), and ScriptedWidgetEventHandler::ReloadLocal().

◆ LeaveGameplaySession()

◆ LoadFriends()

void LoadFriends ( )
inlinestaticprotected

◆ LoadMPPrivilege()

◆ LoadPermissions()

void LoadPermissions ( array< string > player_list)
inlinestaticprotected

◆ LoadServers()

void LoadServers ( notnull GetServersInput inputValues)
inlinestaticprotected

◆ LoadVoicePrivilege()

void LoadVoicePrivilege ( )
inlinestaticprotected

◆ MutePlayer()

bool MutePlayer ( string id,
bool mute )
inlinestaticprotected

◆ OnAutoConnectToEmptyServer()

◆ OnFriendsAsync()

◆ OnGetServerModList()

void OnGetServerModList ( GetServerModListResult result_list,
EBiosError error )
inlinestaticprotected

Definition at line 696 of file onlineservices.c.

References ErrorCaught(), and m_ServerModLoadAsyncInvoker.

Referenced by BiosLobbyService::OnServerModList().

◆ OnLoadMPPrivilege()

void OnLoadMPPrivilege ( EBiosError err)
inlinestaticprotected

Definition at line 445 of file onlineservices.c.

References ErrorCaught(), and g_Game.

Referenced by LoadMPPrivilege(), and BiosPrivacyService::OnPrivilege().

◆ OnLoadServersAsync()

◆ OnLoadVoicePrivilege()

void OnLoadVoicePrivilege ( EBiosError err)
inlinestaticprotected

Definition at line 465 of file onlineservices.c.

References ErrorCaught(), and g_Game.

Referenced by BiosPrivacyService::OnPrivilege().

◆ OnPermissionsAsync()

◆ OnUserProfileAsync()

void OnUserProfileAsync ( EBiosError error)
inlinestaticprotected

Definition at line 263 of file onlineservices.c.

References ErrorCaught().

Referenced by BiosSocialService::OnUserProfileAsync().

◆ PromptUpdate()

void PromptUpdate ( )
inlinestaticprotected

Definition at line 750 of file onlineservices.c.

References GetClientServices(), and m_ClientServices.

Referenced by BiosPackageService::OnCheckUpdate().

◆ SetBiosUser()

void SetBiosUser ( BiosUser user)
inlinestaticprotected

Definition at line 509 of file onlineservices.c.

References m_BiosUser.

Referenced by BiosUserManager::OnJoin(), and CGame::SelectGamepad().

◆ SetGameplayActivity()

void SetGameplayActivity ( )
inlinestaticprotected

Definition at line 566 of file onlineservices.c.

References g_Game, GetClientServices(), and m_ClientServices.

◆ SetInviteServerInfo()

void SetInviteServerInfo ( string ip,
int port )
inlinestaticprotected

Definition at line 185 of file onlineservices.c.

References m_InviteServerIP, and m_InviteServerPort.

Referenced by BiosSessionService::OnGetGameplaySession().

◆ SetMultiplayState()

◆ SetPendingInviteList()

void SetPendingInviteList ( array< string > invitees)
inlinestaticprotected

◆ SetServerFavorited()

void SetServerFavorited ( string ipAddress,
int port,
int steamQueryPort,
bool is_favorited )
inlinestaticprotected

◆ SetSessionHandle()

void SetSessionHandle ( string handle)
inlinestaticprotected

Definition at line 476 of file onlineservices.c.

References GetClientServices(), and m_ClientServices.

Referenced by BiosUserManager::OnJoin().

◆ ShowInviteScreen()

void ShowInviteScreen ( )
inlinestaticprotected

◆ ShowUserProfile()

void ShowUserProfile ( string uid)
inlinestaticprotected

Field Documentation

◆ m_AutoConnectTries

int m_AutoConnectTries = 0
staticprotected

Definition at line 625 of file onlineservices.c.

Referenced by AutoConnectToEmptyServer(), and OnAutoConnectToEmptyServer().

◆ m_BiosUser

ref BiosUser m_BiosUser
staticprotected

Definition at line 28 of file onlineservices.c.

Referenced by GetBiosUser(), and SetBiosUser().

◆ m_ClientServices

◆ m_CurrentServerInfo

ref GetServersResultRow m_CurrentServerInfo
staticprotected

◆ m_CurrentServerIP

string m_CurrentServerIP
staticprotected

◆ m_CurrentServerPort

int m_CurrentServerPort
staticprotected

◆ m_FirstFriendsLoad

bool m_FirstFriendsLoad = true
staticprotected

Definition at line 24 of file onlineservices.c.

Referenced by LeaveGameplaySession(), and OnFriendsAsync().

◆ m_FriendsAsyncInvoker

ref ScriptInvoker m_FriendsAsyncInvoker = new ScriptInvoker()
staticprivate

Definition at line 3 of file onlineservices.c.

Referenced by OnFriendsAsync().

◆ m_FriendsList

ref map<string, ref BiosFriendInfo> m_FriendsList
staticprotected

Definition at line 20 of file onlineservices.c.

Referenced by Init(), LeaveGameplaySession(), and OnFriendsAsync().

◆ m_InviteServerIP

string m_InviteServerIP
staticprotected

Definition at line 13 of file onlineservices.c.

Referenced by GetInviteServerInfo(), and SetInviteServerInfo().

◆ m_InviteServerPort

int m_InviteServerPort
staticprotected

Definition at line 14 of file onlineservices.c.

Referenced by GetInviteServerInfo(), and SetInviteServerInfo().

◆ m_MultiplayState

bool m_MultiplayState = false
staticprotected

Definition at line 25 of file onlineservices.c.

Referenced by GetMultiplayState(), and SetMultiplayState().

◆ m_MuteList

ref map<string, bool> m_MuteList
staticprotected

Definition at line 21 of file onlineservices.c.

Referenced by GetMuteList(), Init(), IsPlayerMuted(), and MutePlayer().

◆ m_MuteUpdateAsyncInvoker

ref ScriptInvoker m_MuteUpdateAsyncInvoker = new ScriptInvoker()
staticprivate

Definition at line 7 of file onlineservices.c.

◆ m_PendingInvites

ref array<string> m_PendingInvites
staticprotected

◆ m_PermissionsAsyncInvoker

ref ScriptInvoker m_PermissionsAsyncInvoker = new ScriptInvoker()
staticprivate

◆ m_PermissionsList

ref map<string, ref BiosPrivacyPermissionResultArray> m_PermissionsList
staticprotected

Definition at line 22 of file onlineservices.c.

Referenced by Init(), and OnPermissionsAsync().

◆ m_ServerAsyncInvoker

ref ScriptInvoker m_ServerAsyncInvoker = new ScriptInvoker()
staticprivate

Definition at line 6 of file onlineservices.c.

◆ m_ServerModLoadAsyncInvoker

ref ScriptInvoker m_ServerModLoadAsyncInvoker = new ScriptInvoker()
staticprivate

◆ m_ServersAsyncInvoker

◆ m_TrialService

ref TrialService m_TrialService
staticprivate

Definition at line 11 of file onlineservices.c.

Referenced by Init(), IsGameActive(), and IsGameTrial().


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