DayZ 1.24
|
BiosPrivacyService is used to query privacy permissions for a target user/s. More...
Private Member Functions | |
proto native EBiosError | GetPermissionsAsync (array< string > uid_list, array< EBiosPrivacyPermission > permission_list) |
Query for privacy permissions. | |
proto native EBiosError | GetPrivilegeAsync (EBiosPrivacyPrivilege privilege, bool try_resolution) |
Query for privileges. | |
void | OnPermissions (BiosPrivacyUidResultArray result_list, EBiosError error) |
Async callback for GetPermissionsAsync. | |
void | OnPrivilege (EBiosPrivacyPrivilege privilege, EBiosError error) |
Async callback for GetPrivilegeAsync. | |
BiosPrivacyService is used to query privacy permissions for a target user/s.
Definition at line 53 of file BiosPrivacyService.c.
|
private |
Query for privacy permissions.
The async result is returned in the OnPermissions callback. Expected errors: BAD_PARAMETER - if atleast one of the permissions is not supported on the current platform, or atleast one of the input arrays is NULL.
uid_list | list of target user Uid's for which to query privacy permissions. |
permission_list | list of requested permissions for each target user. |
|
private |
Query for privileges.
The async result is returned in the OnPrivilege callback. Expected errors: BAD_PARAMETER - if atleast one of the privileges is not supported on the current platform, PURCHASE_REQUIRED, BANNED, NOT_ALLOWED - the privilege is granted,
privilege | the requested privilege. |
tryResolution | Xbox: show system GUI with error msg and attempts to resolve it if possible. |
|
inlineprivate |
Async callback for GetPermissionsAsync.
result_list | list of results for each requested user. NULL if failed. |
error | error indicating success or fail of the async operation. |
Definition at line 91 of file BiosPrivacyService.c.
References OnlineServices::OnPermissionsAsync(), and Print().
|
inlineprivate |
Async callback for GetPrivilegeAsync.
privilege | the requested privilege. |
error | error indicating success or fail of the async operation. |
Definition at line 107 of file BiosPrivacyService.c.
References OnlineServices::OnLoadMPPrivilege(), and OnlineServices::OnLoadVoicePrivilege().