DayZ 1.24
|
Definition at line 16 of file BiosUserManager.c.
Returns the currently selected user.
Referenced by OnGameNameChanged(), OnLoggedOn(), OnSignedOut(), and SelectUserEx().
Gets the initiatior of the title.
Definition at line 292 of file BiosUserManager.c.
References GetUserList().
|
private |
Call async function to get database ID.
Gets the currently present list of users.
Fills in the array. Expected errors: BAD_PARAMETER - user_list is NULL,
Referenced by GetUser().
|
private |
Display a system dependant ui for log-on.
Referenced by OnPartyHost().
Callback function.
Called when display info of a signed in user changed.
user | the user affected by the change. |
Definition at line 279 of file BiosUserManager.c.
References g_Game, GetGame(), and GetSelectedUser().
Referenced by OnUserPicked().
|
inlineprivate |
Callback function.
Called when a join is parsed or when a runtime join is accepted from the system UI.
type | the type of join. Undefined on error. |
joiner | the user that is joining. NULL on error. |
handle | join handle for a session. Empty on error. |
joinee | uid of the user that is being joined. Empty on error. |
error | indicating if parsing failed. OK if not a result of ParseJoinAsync. |
Definition at line 207 of file BiosUserManager.c.
References DISCONNECT_SESSION_FLAGS_JOIN, OnlineServices::ErrorCaught(), g_Game, GetGame(), GetInput(), OnlineServices::GetSession(), MENU_TITLE_SCREEN, SelectUserEx(), OnlineServices::SetBiosUser(), and OnlineServices::SetSessionHandle().
Callback function.
Definition at line 165 of file BiosUserManager.c.
References OnSignedOut().
Callback function.
Definition at line 158 of file BiosUserManager.c.
References g_Game, GetGame(), GetInput(), and GetSelectedUser().
|
inlineprivate |
Callback function.
Called when a party is parsed or when a party is hosted from the system UI.
host | the user that is hosting the party. NULL on error. |
invitee_list | list of party members. |
error | indicating if parsing failed. OK if not a result of ParsePartyAsync. |
Definition at line 244 of file BiosUserManager.c.
References g_Game, GetGame(), GetID(), LogOnUserAsync(), MENU_MAIN, MENU_TITLE_SCREEN, SelectUserEx(), and OnlineServices::SetPendingInviteList().
Callback function.
Called when a new user signed in
user | the user that signed in. Cannot be NULL. |
Definition at line 176 of file BiosUserManager.c.
Callback function.
Called when a new user signed out
user | the user that signed out. Cannot be NULL. |
Definition at line 187 of file BiosUserManager.c.
References DISCONNECT_SESSION_FLAGS_FORCE, g_Game, GetGame(), GetSelectedUser(), and SelectUserEx().
Referenced by OnLoggedOff().
|
inlineprivate |
Callback function.
dbID | user database ID. If something went wrong, then it is empty string. |
error | indicating correct state. |
Definition at line 114 of file BiosUserManager.c.
References OnlineServices::ErrorCaught(), and g_Game.
|
inlineprivate |
Callback function.
error | error indicating success or fail of the async operation. |
Definition at line 124 of file BiosUserManager.c.
References DISCONNECT_SESSION_FLAGS_FORCE, OnlineServices::ErrorCaught(), g_Game, and GetGame().
|
inlineprivate |
Callback function.
user | picked user. NULL on fail. |
error | error indicating success or fail of the async operation. |
Definition at line 138 of file BiosUserManager.c.
References OnlineServices::ErrorCaught(), g_Game, GetGame(), GetInput(), OnGameNameChanged(), and SelectUserEx().
|
private |
Parse the join data from from command line parameters.
The async result is returned in the OnJoin callback. The OnJoin callback is called also during runtime when a join is accepted. Expected errors: BAD_PARAMETER - join_data could not be parsed,
join_data | the startup join data from command line parameters. |
|
private |
Parse the party data from from command line parameters.
The async result is returned in the OnPartyHost callback. The OnPartyHost callback is called also during runtime when a player hosts a game for the party. Expected errors: BAD_PARAMETER - join_data could not be parsed,
party_data | the startup party data from command line parameters. |
|
private |
Display a system dependant account picket.
Xbox: The async result is returned in the OnUserPicked callback.
Informs the engine about the current selected user.
Must be called to ensure proper authentication etc.
user | the user to select. |
Referenced by SelectUserEx().
Definition at line 90 of file BiosUserManager.c.
References NotificationSystem::AddNotification(), NotificationSystem::DEFAULT_TIME_DISPLAYED, DISCONNECT_SESSION_FLAGS_FORCE, g_Game, GetSelectedUser(), and SelectUser().
Referenced by OnJoin(), OnPartyHost(), OnSignedOut(), and OnUserPicked().