PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
OnlineServices Class Reference

Static Private Member Functions

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

Static Private Attributes

static ref ScriptInvoker m_FriendsAsyncInvoker = new ScriptInvoker()
 
static ref ScriptInvoker m_PermissionsAsyncInvoker = new ScriptInvoker()
 
static ref ScriptInvoker m_ServersAsyncInvoker = new ScriptInvoker()
 
static ref ScriptInvoker m_ServerAsyncInvoker = new ScriptInvoker()
 
static ref ScriptInvoker m_MuteUpdateAsyncInvoker = new ScriptInvoker()
 
static ref ScriptInvoker m_ServerModLoadAsyncInvoker = new ScriptInvoker()
 
static BiosClientServices m_ClientServices
 
static ref TrialService m_TrialService
 
static protected string m_InviteServerIP
 
static protected int m_InviteServerPort
 
static protected string m_CurrentServerIP
 
static protected int m_CurrentServerPort
 
static protected ref GetServersResultRow m_CurrentServerInfo
 
static protected ref map< string, ref BiosFriendInfom_FriendsList
 
static protected ref map< string, boolm_MuteList
 
static protected ref map< string, ref BiosPrivacyPermissionResultArraym_PermissionsList
 
static protected bool m_FirstFriendsLoad = true
 
static protected bool m_MultiplayState = false
 
static protected ref array< stringm_PendingInvites
 
static protected ref BiosUser m_BiosUser
 
static int m_AutoConnectTries = 0
 

Member Function Documentation

◆ AutoConnectToEmptyServer()

◆ CheckUpdate()

◆ ClearCurrentServerInfo()

static void ClearCurrentServerInfo ( )
inlinestaticprivate

◆ ClearPendingInviteList()

static void ClearPendingInviteList ( array< string invitees)
inlinestaticprivate

References m_PendingInvites.

◆ EnterGameplaySession()

◆ ErrorCaught()

◆ GetBiosUser()

static BiosUser GetBiosUser ( )
inlinestaticprivate

References m_BiosUser.

Referenced by CGame::DisconnectSessionEx().

◆ GetCachedFavServerInfo()

static void GetCachedFavServerInfo ( array< ref CachedServerInfo favServersInfoCache)
inlinestaticprivate

◆ GetClientServices()

◆ GetCurrentServerInfo() [1/2]

static GetServersResultRow GetCurrentServerInfo ( )
inlinestaticprivate

References g_Game, and m_CurrentServerInfo.

Referenced by LeaveGameplaySession().

◆ GetCurrentServerInfo() [2/2]

◆ GetFavoriteServers()

static void GetFavoriteServers ( TStringArray  favServers)
inlinestaticprivate

◆ GetInviteServerInfo()

static void GetInviteServerInfo ( out string  ip,
out int  port 
)
inlinestaticprivate

◆ GetMultiplayState()

static bool GetMultiplayState ( )
inlinestaticprivate

◆ GetMuteList()

static map< string, bool > GetMuteList ( )
inlinestaticprivate

References m_MuteList.

Referenced by UIScriptedMenu::Init().

◆ GetPendingInviteList()

static array< string > GetPendingInviteList ( )
inlinestaticprivate

◆ GetRandomFreeResult()

◆ GetServerModList()

static void GetServerModList ( string  server_id)
inlinestaticprivate

◆ GetSession()

◆ GetSessionHandle()

static string GetSessionHandle ( )
inlinestaticprivate

◆ Init()

static void Init ( )
inlinestaticprivate

◆ IsGameActive()

static bool IsGameActive ( bool  sim)
inlinestaticprivate

◆ IsGameTrial()

static bool IsGameTrial ( bool  sim)
inlinestaticprivate

◆ IsInitialized()

static bool IsInitialized ( )
inlinestaticprivate

References m_ClientServices.

◆ IsPlayerMuted()

static bool IsPlayerMuted ( string  id)
inlinestaticprivate

◆ LeaveGameplaySession()

◆ LoadFriends()

◆ LoadMPPrivilege()

◆ LoadPermissions()

◆ LoadServers()

◆ LoadVoicePrivilege()

◆ MutePlayer()

static bool MutePlayer ( string  id,
bool  mute 
)
inlinestaticprivate

◆ OnAutoConnectToEmptyServer()

◆ OnFriendsAsync()

◆ OnGetServerModList()

static void OnGetServerModList ( GetServerModListResult  result_list,
EBiosError  error 
)
inlinestaticprivate

◆ OnLoadMPPrivilege()

static void OnLoadMPPrivilege ( EBiosError  err)
inlinestaticprivate

◆ OnLoadServersAsync()

static void OnLoadServersAsync ( GetServersResult  result_list,
EBiosError  error,
string  response 
)
inlinestaticprivate

◆ OnLoadVoicePrivilege()

static void OnLoadVoicePrivilege ( EBiosError  err)
inlinestaticprivate

◆ OnPermissionsAsync()

◆ OnUserProfileAsync()

static void OnUserProfileAsync ( EBiosError  error)
inlinestaticprivate

◆ PromptUpdate()

◆ SetBiosUser()

static void SetBiosUser ( BiosUser  user)
inlinestaticprivate

◆ SetGameplayActivity()

◆ SetInviteServerInfo()

static void SetInviteServerInfo ( string  ip,
int  port 
)
inlinestaticprivate

◆ SetMultiplayState()

◆ SetPendingInviteList()

◆ SetServerFavorited()

◆ SetSessionHandle()

static void SetSessionHandle ( string  handle)
inlinestaticprivate

◆ ShowInviteScreen()

◆ ShowUserProfile()

Field Documentation

◆ m_AutoConnectTries

int m_AutoConnectTries = 0
staticprivate

◆ m_BiosUser

protected ref BiosUser m_BiosUser
staticprivate

Referenced by GetBiosUser(), and SetBiosUser().

◆ m_ClientServices

◆ m_CurrentServerInfo

protected ref GetServersResultRow m_CurrentServerInfo
staticprivate

◆ m_CurrentServerIP

protected string m_CurrentServerIP
staticprivate

◆ m_CurrentServerPort

protected int m_CurrentServerPort
staticprivate

◆ m_FirstFriendsLoad

protected bool m_FirstFriendsLoad = true
staticprivate

◆ m_FriendsAsyncInvoker

ref ScriptInvoker m_FriendsAsyncInvoker = new ScriptInvoker()
staticprivate

Referenced by OnFriendsAsync().

◆ m_FriendsList

protected ref map<string, ref BiosFriendInfo> m_FriendsList
staticprivate

◆ m_InviteServerIP

protected string m_InviteServerIP
staticprivate

◆ m_InviteServerPort

protected int m_InviteServerPort
staticprivate

◆ m_MultiplayState

protected bool m_MultiplayState = false
staticprivate

◆ m_MuteList

protected ref map<string, bool> m_MuteList
staticprivate

◆ m_MuteUpdateAsyncInvoker

ref ScriptInvoker m_MuteUpdateAsyncInvoker = new ScriptInvoker()
staticprivate

◆ m_PendingInvites

protected ref array<string> m_PendingInvites
staticprivate

◆ m_PermissionsAsyncInvoker

ref ScriptInvoker m_PermissionsAsyncInvoker = new ScriptInvoker()
staticprivate

◆ m_PermissionsList

protected ref map<string, ref BiosPrivacyPermissionResultArray> m_PermissionsList
staticprivate

Referenced by Init(), and OnPermissionsAsync().

◆ m_ServerAsyncInvoker

ref ScriptInvoker m_ServerAsyncInvoker = new ScriptInvoker()
staticprivate

◆ m_ServerModLoadAsyncInvoker

ref ScriptInvoker m_ServerModLoadAsyncInvoker = new ScriptInvoker()
staticprivate

◆ m_ServersAsyncInvoker

◆ m_TrialService

ref TrialService m_TrialService
staticprivate

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


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