EOS_Friends_AddNotifyFriendsUpdate

EOS API reference page for EOS_Friends_AddNotifyFriendsUpdate

2 分で読めます

This function is part of the Friends Interface.

Remarks

Listen for changes to friends for a particular account.

Return Value

A valid notification ID if successfully bound, or EOS_INVALID_NOTIFICATIONID otherwise

Parameters

EOS_Friends_AddNotifyFriendsUpdate

Parameter Type And NameUsage Information
EOS_HFriends Handle
const EOS_Friends_AddNotifyFriendsUpdateOptions* OptionsInformation about who would like notifications.
void* ClientDataThis value is returned to the caller when FriendsUpdateHandler is invoked.
const EOS_Friends_OnFriendsUpdateCallback FriendsUpdateHandlerThe callback to be invoked when a change to any friend status changes.

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_Friends_OnFriendsUpdateCallback to report the results of its operation.

Callback Remarks

Callback for information related to a friend status update.

Callback Parameters

EOS_Friends_OnFriendsUpdateCallback

Parameter Type And NameUsage Information
const EOS_Friends_OnFriendsUpdateInfo* Data