DIFF

class BiosUserManagerSource

Methods 22

proto native BiosUser GetTitleInitiator()

Returns: BiosUser the initiator. May be NULL.

proto native EBiosError GetUserList(array<ref BiosUser> user_list)

Fills in the array. Expected errors: BAD_PARAMETER - user_list is NULL,

Returns: EBiosError indicating if the operation is done.

proto native EBiosError LogOnUserAsync(BiosUser user)

Display a system dependant ui for log-on

proto native EBiosError PickUserAsync()

Xbox: The async result is returned in the OnUserPicked callback.

Returns: EBiosError indicating if the async operation is pending.

Referenced by DayZGame.SelectUser()
proto native EBiosError ParseJoinAsync(string join_data)

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.

Returns: EBiosError indicating if the async operation is pending.

Referenced by DayZGame.JoinLaunch()
proto native EBiosError ParsePartyAsync(string party_data)

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.

Returns: EBiosError indicating if the async operation is pending.

proto native bool SelectUser(BiosUser user)

Must be called to ensure proper authentication etc.

user
the user to select.
Referenced by SelectUserEx()
proto native EBiosError GetUserDatabaseIdAsync()

Returns: EBiosError indicating if the async operation is pending. If active user is not set, then return NOT_FOUND

void OnUserDatabaseId(string dbID, EBiosError error)
dbID
user database ID. If something went wrong, then it is empty string.
error
indicating correct state.
void OnUserLoggedOn(EBiosError error)
error
error indicating success or fail of the async operation.
void OnUserPicked(BiosUser user, EBiosError error)
user
picked user. NULL on fail.
error
error indicating success or fail of the async operation.
void OnLoggedOn(BiosUser user)

Callback function.

void OnLoggedOff(BiosUser user)

Callback function.

References OnSignedOut()
void OnSignedIn(BiosUser user)

Called when a new user signed in

user
the user that signed in. Cannot be NULL.
void OnSignedOut(BiosUser user)

Called when a new user signed out

user
the user that signed out. Cannot be NULL.
Referenced by OnLoggedOff()
void OnJoin(EBiosJoinType type, BiosUser joiner, string handle, string joinee, EBiosError error)

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.
void OnPartyHost(BiosUser host, array<string> invitee_list, EBiosError error)

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.
void OnGameNameChanged(BiosUser user)

Called when display info of a signed in user changed.

user
the user affected by the change.
Referenced by OnUserPicked()
BiosUser GetUser(string user_id)