32#ifdef PLATFORM_CONSOLE
33#ifndef PLATFORM_WINDOWS
65#ifdef PLATFORM_WINDOWS
73 Error(
"BiosClientServices Error: Usermanager does not exist.");
154 return g_Game.GetHostData();
354#ifdef PLATFORM_CONSOLE
370#ifdef PLATFORM_CONSOLE
560 input.SetOfficial(
true);
594 GetGame().GetUIManager().ShowDialog(
"#str_xbox_authentification_fail_title",
"#str_xbox_authentification_fail", 232,
DBT_OK,
DBB_NONE,
DMT_INFO,
GetGame().GetUIManager().GetMenu());
601 input.SetOfficial(
true);
605 GetGame().GetUIManager().ShowDialog(
"#str_xbox_authentification_fail_title",
"#xbox_authentification_fail", 232,
DBT_OK,
DBB_NONE,
DMT_INFO,
GetGame().GetUIManager().GetMenu());
624#ifndef PLATFORM_WINDOWS
635#ifndef PLATFORM_WINDOWS
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
array< ref BiosPrivacyUidResult > BiosPrivacyUidResultArray
EBiosPrivacyPermission
EBiosPrivacyPermission represents possible privacy permissions.
EBiosPrivacyPrivilege
EBiosPrivacyPrivilege represents possible privacy privileges.
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
NotificationType
DEPRECATED (moved into NotificationSystem)
BiosClientServices class provides individual online services.
BiosFriendInfo represents friend information.
static bool Compare(BiosFriendInfo a, BiosFriendInfo b)
BiosPrivacyPermissionResult represents the per permission result of the GetPermissionsAsync reqeust.
static bool Compare(BiosPrivacyPermissionResult a, BiosPrivacyPermissionResult b)
BiosPrivacyUidResult represents the per user result of the GetPermissionsAsync request.
static array< string > GetSimplePlayerList()
static ref SyncPlayerList m_LastNewPlayers
static void LogErrorAndTrace(string msg)
Prints debug message as error message and prints stack trace of calls.
The error handler itself, for managing and distributing errors to modules Manages the ErrorHandlerMod...
static proto string GetClientMessage(ErrorCategory category, int code, string additionalInfo="")
Gets the Client Message for specified error.
GetServersResult the output structure of the GetServers operation.
const int DEFAULT_TIME_DISPLAYED
static void AddNotification(NotificationType type, float show_time, string detail_text="")
Send notification from default types to local player.
static ref ScriptInvoker m_PermissionsAsyncInvoker
static void GetClientServices()
static void PromptUpdate()
static void OnUserProfileAsync(EBiosError error)
static void OnLoadServersAsync(GetServersResult result_list, EBiosError error, string response)
static bool IsPlayerMuted(string id)
static void LoadVoicePrivilege()
static void SetSessionHandle(string handle)
static void LeaveGameplaySession()
static void OnPermissionsAsync(BiosPrivacyUidResultArray result_list, EBiosError error)
static string m_InviteServerIP
static void OnGetServerModList(GetServerModListResult result_list, EBiosError error)
static ref ScriptInvoker m_ServersAsyncInvoker
static ref GetServersResultRow m_CurrentServerInfo
static void SetPendingInviteList(array< string > invitees)
static bool GetMultiplayState()
static void AutoConnectToEmptyServer()
static void ShowInviteScreen()
static void LoadFriends()
static bool IsGameActive(bool sim)
static void ShowUserProfile(string uid)
static void GetServerModList(string server_id)
static GetServersResultRow GetCurrentServerInfo()
static int m_InviteServerPort
static BiosUser GetBiosUser()
static ref ScriptInvoker m_ServerAsyncInvoker
static ref ScriptInvoker m_MuteUpdateAsyncInvoker
static int m_AutoConnectTries
static bool CheckUpdate()
static ref ScriptInvoker m_ServerModLoadAsyncInvoker
static void SetServerFavorited(string ipAddress, int port, int steamQueryPort, bool is_favorited)
static void GetCurrentServerInfo(string ip, int port)
static string GetSessionHandle()
static bool IsGameTrial(bool sim)
static void SetBiosUser(BiosUser user)
static ref TrialService m_TrialService
static ref map< string, ref BiosPrivacyPermissionResultArray > m_PermissionsList
static ref map< string, bool > m_MuteList
static GetServersResultRow GetRandomFreeResult(GetFirstServerWithEmptySlotResult results)
static ref BiosClientServices m_ClientServices
static void LoadPermissions(array< string > player_list)
static bool IsInitialized()
static void LoadServers(notnull GetServersInput inputValues)
static string m_CurrentServerIP
static map< string, bool > GetMuteList()
static array< string > GetPendingInviteList()
static void EnterGameplaySession()
static ref ScriptInvoker m_FriendsAsyncInvoker
static ref array< string > m_PendingInvites
static ref map< string, ref BiosFriendInfo > m_FriendsList
static bool m_MultiplayState
static int m_CurrentServerPort
static bool ErrorCaught(EBiosError error)
static void OnLoadVoicePrivilege(EBiosError err)
static void ClearPendingInviteList(array< string > invitees)
static void SetMultiplayState(bool state)
static bool m_FirstFriendsLoad
static void LoadMPPrivilege()
static void OnAutoConnectToEmptyServer(GetFirstServerWithEmptySlotResult result_list, EBiosError error)
static void GetInviteServerInfo(out string ip, out int port)
static void SetGameplayActivity()
static bool MutePlayer(string id, bool mute)
static void OnFriendsAsync(BiosFriendInfoArray friend_list, EBiosError error)
static void OnLoadMPPrivilege(EBiosError err)
static void GetFavoriteServers(TStringArray favServers)
static ref BiosUser m_BiosUser
static void ClearCurrentServerInfo()
static void GetCachedFavServerInfo(array< ref CachedServerInfo > favServersInfoCache)
static void SetInviteServerInfo(string ip, int port)
ScriptInvoker Class provide list of callbacks usage:
TrialService is used to query if the game is trial version or not.
proto native CGame GetGame()
void Error(string err)
Messagebox with error message.