![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| void | CheckUserSwitchResult (BiosUser expectedUser) |
| proto native BiosUser | GetSelectedUser () |
| Returns the currently selected user. | |
| proto native BiosUser | GetTitleInitiator () |
| Gets the initiatior of the title. | |
| BiosUser | GetUser (string user_id) |
| proto native EBiosError | GetUserDatabaseIdAsync () |
| Call async function to get database ID. | |
| proto native EBiosError | GetUserList (array< ref BiosUser > user_list) |
| Gets the currently present list of users. | |
| proto native EBiosError | LogOnUserAsync (BiosUser user) |
| Display a system dependant ui for log-on. | |
| void | OnGameNameChanged (BiosUser user) |
| Callback function. | |
| void | OnJoin (EBiosJoinType type, BiosUser joiner, string handle, string joinee, EBiosError error) |
| Callback function. | |
| void | OnLoggedOff (BiosUser user) |
| Callback function. | |
| void | OnLoggedOn (BiosUser user) |
| Callback function. | |
| void | OnPartyHost (BiosUser host, array< string > invitee_list, EBiosError error) |
| Callback function. | |
| void | OnSignedIn (BiosUser user) |
| Callback function. | |
| void | OnSignedOut (BiosUser user) |
| Callback function. | |
| void | OnUserDatabaseId (string dbID, EBiosError error) |
| Callback function. | |
| void | OnUserLoggedOn (EBiosError error) |
| Callback function. | |
| void | OnUserPicked (BiosUser user, EBiosError error) |
| Callback function. | |
| proto native EBiosError | ParseJoinAsync (string join_data) |
| Parse the join data from from command line parameters. | |
| proto native EBiosError | ParsePartyAsync (string party_data) |
| Parse the party data from from command line parameters. | |
| proto native EBiosError | PickUserAsync () |
| Display a system dependant account picket. | |
| proto native bool | SelectUser (BiosUser user) |
| Informs the engine about the current selected user. | |
| bool | SelectUserEx (BiosUser user) |
Definition at line 16 of file biosusermanager.c.
|
inlineprivate |
Definition at line 112 of file biosusermanager.c.
References NotificationSystem::AddNotification(), NotificationSystem::DEFAULT_TIME_DISPLAYED, and GetSelectedUser().
Referenced by SelectUserEx().
|
private |
Returns the currently selected user.
Referenced by CheckUserSwitchResult(), CGame::CreateTitleScreen(), OnlineServices::GetClientServices(), DayZIntroScene::GetSelectedUserName(), UIScriptedMenu::Init(), OnGameNameChanged(), OnLoggedOn(), OnSignedOut(), CGame::SelectGamepad(), CGame::SelectUser(), SelectUserEx(), Managed::SetupPlayerName(), and DayZIntroSceneXbox::UpdateSelectedUserName().
|
private |
Gets the initiatior of the title.
Referenced by CGame::ConnectLaunch(), CGame::MainMenuLaunch(), and CGame::MissionLaunch().
Definition at line 316 of file biosusermanager.c.
References GetUserList().
|
private |
Call async function to get database ID.
Referenced by CGame::OnLoginTimeEvent(), and CGame::SelectGamepad().
|
private |
Gets the currently present list of users.
Fills in the array. Expected errors: BAD_PARAMETER - user_list is NULL,
Referenced by OnlineServices::GetClientServices(), and GetUser().
|
private |
Display a system dependant ui for log-on.
Referenced by OnPartyHost(), and CGame::SelectUser().
|
inlineprivate |
Callback function.
Called when display info of a signed in user changed.
| user | the user affected by the change. |
Definition at line 301 of file biosusermanager.c.
References g_Game, BiosUser::GetName(), 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 221 of file biosusermanager.c.
References DISCONNECT_SESSION_FLAGS_JOIN, OnlineServices::ErrorCaught(), g_Game, OnlineServices::GetSession(), MENU_TITLE_SCREEN, SelectUserEx(), OnlineServices::SetBiosUser(), and OnlineServices::SetSessionHandle().
|
inlineprivate |
|
inlineprivate |
Callback function.
Definition at line 172 of file biosusermanager.c.
References g_Game, 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 260 of file biosusermanager.c.
References g_Game, BiosUser::IsOnline(), LogOnUserAsync(), MENU_MAIN, MENU_TITLE_SCREEN, SelectUserEx(), and OnlineServices::SetPendingInviteList().
|
inlineprivate |
Callback function.
Called when a new user signed in
| user | the user that signed in. Cannot be NULL. |
Definition at line 190 of file biosusermanager.c.
|
inlineprivate |
Callback function.
Called when a new user signed out
| user | the user that signed out. Cannot be NULL. |
Definition at line 201 of file biosusermanager.c.
References DISCONNECT_SESSION_FLAGS_FORCE, g_Game, 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 125 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 137 of file biosusermanager.c.
References DISCONNECT_SESSION_FLAGS_FORCE, OnlineServices::ErrorCaught(), and g_Game.
|
inlineprivate |
Callback function.
| user | picked user. NULL on fail. |
| error | error indicating success or fail of the async operation. |
Definition at line 151 of file biosusermanager.c.
References OnlineServices::ErrorCaught(), g_Game, mission, 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. |
Referenced by CGame::JoinLaunch().
|
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. |
Referenced by CGame::PartyLaunch().
|
private |
Display a system dependant account picket.
Xbox: The async result is returned in the OnUserPicked callback.
Referenced by CGame::SelectUser().
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 CALL_CATEGORY_SYSTEM, CheckUserSwitchResult(), DISCONNECT_SESSION_FLAGS_FORCE, g_Game, GetGame(), GetSelectedUser(), and SelectUser().
Referenced by UIScriptedMenu::ChangeAccount(), CGame::ConnectLaunch(), CGame::MainMenuLaunch(), CGame::MissionLaunch(), OnJoin(), OnPartyHost(), OnSignedOut(), OnUserPicked(), and CGame::SelectUser().