> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Services C API overview - PFFriends.h

> Services C API overview - PFFriends.h

## 函数

| 函数 | 描述 |
| - | - |
| [PFFriendsClientAddFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md) | 根据针对所提供的唯一标识符的匹配，将 PlayFab 用户添加到本地用户的好友列表中。应至少初始化 FriendPlayFabId、FriendUsername、FriendEmail 或 FriendTitleDisplayName 之一。 |
| [PFFriendsClientAddFriendGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendgetresult.md) | 获取成功的 PFFriendsClientAddFriendAsync 调用的结果。 |
| [PFFriendsClientGetFriendsListAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md) | 检索本地用户的当前好友列表，限于拥有 PlayFab 帐户的用户。已链接帐户（Facebook、Steam）的好友也包括在内。你可以选择性地排除某些链接服务的好友。 |
| [PFFriendsClientGetFriendsListGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md) | 获取成功的 PFFriendsClientGetFriendsListAsync 调用的结果。 |
| [PFFriendsClientGetFriendsListGetResultSize](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md) | 获取存储 ClientGetFriendsList 调用结果所需的字节大小。 |
| [PFFriendsClientRemoveFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientremovefriendasync.md) | 从本地用户的好友列表中移除指定的用户 |
| [PFFriendsClientSetFriendTagsAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientsetfriendtagsasync.md) | 更新本地用户好友列表中指定用户的标签列表 |
| [PFFriendsServerAddFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsserveraddfriendasync.md) | 将 Friend 用户添加到具有 PlayFabId 的用户的好友列表中。应至少初始化 FriendPlayFabId、FriendUsername、FriendEmail 或 FriendTitleDisplayName 之一。 |
| [PFFriendsServerGetFriendsListAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md) | 检索具有 PlayFabId 的用户的当前好友，限于拥有 PlayFab 帐户的用户。已链接帐户（Facebook、Steam）的好友也包括在内。你可以选择性地排除某些链接服务的好友。 |
| [PFFriendsServerGetFriendsListGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresult.md) | 获取成功的 PFFriendsServerGetFriendsListAsync 调用的结果。 |
| [PFFriendsServerGetFriendsListGetResultSize](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresultsize.md) | 获取存储 ServerGetFriendsList 调用结果所需的字节大小。 |
| [PFFriendsServerRemoveFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsserverremovefriendasync.md) | 从用户的好友列表中移除指定的好友 |
| [PFFriendsServerSetFriendTagsAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsserversetfriendtagsasync.md) | 更新另一个用户的好友列表中指定用户的标签列表 |


## Related topics

- [Services C API overview - PFFriendsTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members.md)
- [PFFriendsClientAddFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [PFFriendsClientRemoveFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsclientremovefriendasync.md)
- [PFFriendsServerAddFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsserveraddfriendasync.md)
- [PFFriendsServerRemoveFriendAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/functions/pffriendsserverremovefriendasync.md)
