语法
参数
titleEntityHandle PFEntityHandle
使用 PFAuthenticationGetEntityWithSecretKeyAsync 获取的标题实体的 PFEntityHandle。
request PFFriendsServerAddFriendRequest*
已填充的请求对象。
async XAsyncBlock*Inout 用于异步操作的 XAsyncBlock。
将 Friend 用户添加到具有 PlayFabId 的用户的好友列表中。FriendPlayFabId、FriendUsername、FriendEmail 或 FriendTitleDisplayName 中至少一个。
titleEntityHandle PFEntityHandle
使用 PFAuthenticationGetEntityWithSecretKeyAsync 获取的标题实体的 PFEntityHandle。
request PFFriendsServerAddFriendRequest*
已填充的请求对象。
async XAsyncBlock*相关主题
Services C API overview - PFFriends.hPFFriendsServerRemoveFriendAsyncPFFriendsServerGetFriendsListAsyncPFFriendsServerAddFriendRequestPFFriendsServerSetFriendTagsAsync