DayZ 1.24
Loading...
Searching...
No Matches
BiosSocialService Class Reference

BiosSocialService is used to query friend list and other social features for the current user. More...

Private Member Functions

proto native EBiosError ShowUserProfileAsync (string uid_target)
 Display small system UI profile for the target.
 
proto native EBiosError GetFriendsAsync ()
 Query for friends list.
 
void OnUserProfileAsync (EBiosError error)
 Async callback for ShowUserProfileAsync.
 
void OnFriendsAsync (BiosFriendInfoArray friend_list, EBiosError error)
 Async callback for GetFriendsAsync.
 

Detailed Description

BiosSocialService is used to query friend list and other social features for the current user.

Todo: report friend changes

Definition at line 23 of file BiosSocialService.c.

Member Function Documentation

◆ GetFriendsAsync()

proto native EBiosError BiosSocialService::GetFriendsAsync ( )
private

Query for friends list.

The async result is returned in the OnFriendsAsync callback.

Returns
EBiosError indicating if the async operation is pending.

◆ OnFriendsAsync()

void BiosSocialService::OnFriendsAsync ( BiosFriendInfoArray friend_list,
EBiosError error )
inlineprivate

Async callback for GetFriendsAsync.

Parameters
friend_listlist of BiosFriendInfo for each friend. NULL if failed.
errorerror indicating success or fail of the async operation.

Definition at line 58 of file BiosSocialService.c.

59 {
61 }
static void OnFriendsAsync(BiosFriendInfoArray friend_list, EBiosError error)

References OnlineServices::OnFriendsAsync().

◆ OnUserProfileAsync()

void BiosSocialService::OnUserProfileAsync ( EBiosError error)
inlineprivate

Async callback for ShowUserProfileAsync.

Parameters
errorerror indicating success or fail of the async operation. Xbox: OK - the user displayed the fullscreen profile Xbox: CANCEL - the user closed the small profile.

Definition at line 48 of file BiosSocialService.c.

49 {
51 }
static void OnUserProfileAsync(EBiosError error)

References OnlineServices::OnUserProfileAsync().

◆ ShowUserProfileAsync()

proto native EBiosError BiosSocialService::ShowUserProfileAsync ( string uid_target)
private

Display small system UI profile for the target.

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

Parameters
uid_targettarget user Uid's for which to display profile.
Returns
EBiosError indicating if the async operation is pending.

The documentation for this class was generated from the following file: