Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
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 GetFriendsAsync ()
 Query for friends list.
void OnFriendsAsync (BiosFriendInfoArray friend_list, EBiosError error)
 Async callback for GetFriendsAsync.
void OnUserProfileAsync (EBiosError error)
 Async callback for ShowUserProfileAsync.
proto native EBiosError ShowUserProfileAsync (string uid_target)
 Display small system UI profile for the target.

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 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 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.

References OnlineServices::OnFriendsAsync().

◆ OnUserProfileAsync()

void 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.

References OnlineServices::OnUserProfileAsync().

◆ ShowUserProfileAsync()

proto native EBiosError 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: