> ## 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 - PFFriendsTypes.h

> Services C API overview - PFFriendsTypes.h

## 结构

| 结构 | 描述 |
| - | - |
| [PFFriendsAddFriendResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsaddfriendresult.md) | PFFriendsAddFriendResult 数据模型。 |
| [PFFriendsClientAddFriendRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientaddfriendrequest.md) | PFFriendsClientAddFriendRequest 数据模型。 |
| [PFFriendsClientGetFriendsListRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientgetfriendslistrequest.md) | PFFriendsClientGetFriendsListRequest 数据模型。 |
| [PFFriendsClientRemoveFriendRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientremovefriendrequest.md) | PFFriendsClientRemoveFriendRequest 数据模型。 |
| [PFFriendsClientSetFriendTagsRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientsetfriendtagsrequest.md) | PFFriendsClientSetFriendTagsRequest 数据模型。此操作不是累加的。它将完全替换指定用户的标签列表。请注意，只有 PlayFab 好友列表中的用户才能分配标签。尝试在仅通过社交站点集成（例如 Facebook 或 Steam）包含在好友列表中的好友上设置标签将返回 AccountNotFound 错误。 |
| [PFFriendsFriendInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsfriendinfo.md) | PFFriendsFriendInfo 数据模型。 |
| [PFFriendsGetFriendsListResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult.md) | PFFriendsGetFriendsListResult 数据模型。如果为用户的好友查询了任何其他服务，则那些也为该标题注册了 PlayFab 帐户的好友将在结果中返回。对于 Facebook，用户必须最近登录过该标题的 Facebook 应用，并且只有也玩此游戏的好友才会包括在内。注意：如果用户在调用 LoginWithFacebook 时使用 AuthenticationToken 进行身份验证，而不是 AcessToken，则将返回一个空列表。对于 XBOX Live，用户必须最近登录过 XBOX Live，并且只有也玩此游戏的好友才会包括在内。 |
| [PFFriendsServerAddFriendRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsserveraddfriendrequest.md) | PFFriendsServerAddFriendRequest 数据模型。 |
| [PFFriendsServerGetFriendsListRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsservergetfriendslistrequest.md) | PFFriendsServerGetFriendsListRequest 数据模型。 |
| [PFFriendsServerRemoveFriendRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsserverremovefriendrequest.md) | PFFriendsServerRemoveFriendRequest 数据模型。 |
| [PFFriendsServerSetFriendTagsRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsserversetfriendtagsrequest.md) | PFFriendsServerSetFriendTagsRequest 数据模型。此操作不是累加的。它将完全替换指定用户的标签列表。请注意，只有 PlayFab 好友列表中的用户才能分配标签。尝试在仅通过社交站点集成（例如 Facebook 或 Steam）包含在好友列表中的好友上设置标签将返回 AccountNotFound 错误。 |

## 状态更改

| 状态更改 | 描述 |
| - | - |

## 枚举

| 枚举 | 描述 |
| - | - |
| [PFFriendsExternalFriendSources](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/enums/pffriendsexternalfriendsources.md) | ExternalFriendSources 枚举。 |


## Related topics

- [Services C API overview - PFFriends.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [Services C API overview - PFSegmentsTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfsegmentstypes/pfsegmentstypes_members.md)
- [Services C API overview - PFProfilesTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfprofilestypes/pfprofilestypes_members.md)
- [Services C API overview - PFEventsTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfeventstypes/pfeventstypes_members.md)
- [Services C API overview - PFExperimentationTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfexperimentationtypes/pfexperimentationtypes_members.md)
