93 if (selectedUser && selectedUser != user &&
g_Game.GetGameState() != DayZGameState.MAIN_MENU)
111 g_Game.SetDatabaseID( dbID );
209 if (
g_Game.GetGameState() == DayZGameState.IN_GAME )
211 g_Game.SetLoadState( DayZLoadState.JOIN_START );
221 g_Game.SetLoadState( DayZLoadState.JOIN_START );
262 if (
g_Game.GetGameState() != DayZGameState.IN_GAME &&
g_Game.GetGameState() != DayZGameState.CONNECTING)
268 g_Game.SetGameState( DayZGameState.PARTY );
269 g_Game.SetLoadState( DayZLoadState.PARTY_START );
285 #ifdef PLATFORM_CONSOLE
288 if (
GetGame().GetUIManager().GetMenu() )
299 foreach (
BiosUser user : user_list )
301 if ( user.GetUid() == user_id )
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
enum DisconnectSessionFlags DISCONNECT_SESSION_FLAGS_FORCE
const int DISCONNECT_SESSION_FLAGS_JOIN
int GetID()
Get the ID registered in SEffectManager.
BiosClientServices class provides individual online services.
proto native bool IsOnline()
proto native BiosClientServices GetClientServices()
proto native owned string GetName()
proto native owned string GetUid()
proto native EBiosError ParsePartyAsync(string party_data)
Parse the party data from from command line parameters.
proto native EBiosError LogOnUserAsync(BiosUser user)
Display a system dependant ui for log-on.
void OnUserLoggedOn(EBiosError error)
Callback function.
BiosUser GetUser(string user_id)
void OnUserPicked(BiosUser user, EBiosError error)
Callback function.
void OnGameNameChanged(BiosUser user)
Callback function.
proto native void SelectUser(BiosUser user)
Informs the engine about the current selected user.
void OnSignedOut(BiosUser user)
Callback function.
void OnPartyHost(BiosUser host, array< string > invitee_list, EBiosError error)
Callback function.
void OnJoin(EBiosJoinType type, BiosUser joiner, string handle, string joinee, EBiosError error)
Callback function.
void OnLoggedOn(BiosUser user)
Callback function.
proto native EBiosError ParseJoinAsync(string join_data)
Parse the join data from from command line parameters.
void OnSignedIn(BiosUser user)
Callback function.
proto native BiosUser GetTitleInitiator()
Gets the initiatior of the title.
proto native BiosUser GetSelectedUser()
Returns the currently selected user.
void OnUserDatabaseId(string dbID, EBiosError error)
Callback function.
void SelectUserEx(BiosUser user)
void OnLoggedOff(BiosUser user)
Callback function.
proto native EBiosError PickUserAsync()
Display a system dependant account picket.
proto native EBiosError GetUserList(array< ref BiosUser > user_list)
Gets the currently present list of users.
proto native EBiosError GetUserDatabaseIdAsync()
Call async function to get database ID.
proto native Mission GetMission()
proto native Input GetInput()
proto native UIManager GetUIManager()
static void SetSessionHandle(string handle)
static void SetPendingInviteList(array< string > invitees)
static void SetBiosUser(BiosUser user)
static bool ErrorCaught(EBiosError error)
bool CloseMenu(int id)
Close menu with specific ID (see MenuID)
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()