95 if (selectedUser && selectedUser != user &&
g_Game.GetGameState() != DayZGameState.MAIN_MENU)
129 g_Game.SetDatabaseID( dbID );
141 g_Game.GetInput().ResetActiveGamepad();
155 g_Game.GetInput().ResetActiveGamepad();
166 g_Game.SelectUser(
g_Game.GetInput().GetUserGamepad(user));
175 g_Game.SelectUser(
g_Game.GetInput().GetUserGamepad(user));
206 g_Game.GetInput().ResetActiveGamepad();
230 if (
g_Game.GetGameState() == DayZGameState.IN_GAME )
232 g_Game.SetLoadState( DayZLoadState.JOIN_START );
237 if (
g_Game.GetUIManager() &&
g_Game.GetInput().IsActiveGamepadSelected() )
242 g_Game.SetLoadState( DayZLoadState.JOIN_START );
277 if (
g_Game.GetUIManager())
283 if (
g_Game.GetGameState() != DayZGameState.IN_GAME &&
g_Game.GetGameState() != DayZGameState.CONNECTING)
289 g_Game.SetGameState( DayZGameState.PARTY );
290 g_Game.SetLoadState( DayZLoadState.PARTY_START );
306 #ifdef PLATFORM_CONSOLE
309 if (
g_Game.GetUIManager().GetMenu() )
311 g_Game.GetUIManager().GetMenu().Refresh();
320 foreach (
BiosUser user : user_list )
322 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
NotificationType
DEPRECATED (moved into NotificationSystem)
BiosClientServices class provides individual online services.
proto native BiosClientServices GetClientServices()
proto native owned string GetName()
proto native bool IsOnline()
proto native owned string GetUid()
void OnUserPicked(BiosUser user, EBiosError error)
Callback function.
void OnLoggedOn(BiosUser user)
Callback function.
void OnSignedOut(BiosUser user)
Callback function.
void OnJoin(EBiosJoinType type, BiosUser joiner, string handle, string joinee, EBiosError error)
Callback function.
proto native EBiosError GetUserDatabaseIdAsync()
Call async function to get database ID.
proto native bool SelectUser(BiosUser user)
Informs the engine about the current selected user.
void OnGameNameChanged(BiosUser user)
Callback function.
void OnLoggedOff(BiosUser user)
Callback function.
proto native EBiosError GetUserList(array< ref BiosUser > user_list)
Gets the currently present list of users.
void CheckUserSwitchResult(BiosUser expectedUser)
proto native BiosUser GetSelectedUser()
Returns the currently selected user.
void OnUserDatabaseId(string dbID, EBiosError error)
Callback function.
proto native EBiosError ParseJoinAsync(string join_data)
Parse the join data from from command line parameters.
void OnSignedIn(BiosUser user)
Callback function.
void OnUserLoggedOn(EBiosError error)
Callback function.
proto native EBiosError PickUserAsync()
Display a system dependant account picket.
void OnPartyHost(BiosUser host, array< string > invitee_list, EBiosError error)
Callback function.
BiosUser GetUser(string user_id)
proto native EBiosError ParsePartyAsync(string party_data)
Parse the party data from from command line parameters.
proto native BiosUser GetTitleInitiator()
Gets the initiatior of the title.
proto native EBiosError LogOnUserAsync(BiosUser user)
Display a system dependant ui for log-on.
bool SelectUserEx(BiosUser user)
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 void SetSessionHandle(string handle)
static void SetPendingInviteList(array< string > invitees)
static void SetBiosUser(BiosUser user)
static bool ErrorCaught(EBiosError error)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.