PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

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.

Referenced by OnlineServices::LoadFriends().

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

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.

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.

Referenced by OnlineServices::ShowUserProfile().


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