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

## 状态更改

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

## 枚举

| 枚举                                                                                                                       | 描述                        |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------- |
| [PFFriendsExternalFriendSources](/services/playfab/api-references/c/pffriendstypes/enums/pffriendsexternalfriendsources) | ExternalFriendSources 枚举。 |


## Related topics

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