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

# PFFriendsFriendInfo

> PFFriendsFriendInfo 数据模型。

PFFriendsFriendInfo 数据模型。

## 语法

```cpp theme={null}
typedef struct PFFriendsFriendInfo {  
    PFUserFacebookInfo const* facebookInfo;  
    const char* friendPlayFabId;  
    PFUserGameCenterInfo const* gameCenterInfo;  
    PFPlayerProfileModel const* profile;  
    PFUserPsnInfo const* PSNInfo;  
    PFUserSteamInfo const* steamInfo;  
    const char* const* tags;  
    uint32_t tagsCount;  
    const char* titleDisplayName;  
    const char* username;  
    PFUserXboxInfo const* xboxInfo;  
} PFFriendsFriendInfo;  
```

### 成员

**`facebookInfo`**   [PFUserFacebookInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserfacebookinfo.md) const\*\
*may be nullptr*

（可选）可用的 Facebook 信息（如果用户和已连接的 Facebook 好友在同一标题中都有 PlayFab 帐户）。

**`friendPlayFabId`**   const char\*\
*is null-terminated*

（可选）此好友的 PlayFab 唯一标识符。

**`gameCenterInfo`**   [PFUserGameCenterInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusergamecenterinfo.md) const\*\
*may be nullptr*

（可选）可用的 Game Center 信息（如果用户和已连接的 Game Center 好友在同一标题中都有 PlayFab 帐户）。

**`profile`**   [PFPlayerProfileModel](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md) const\*\
*may be nullptr*

（可选）用户的档案（如果已请求）。

**`PSNInfo`**   [PFUserPsnInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserpsninfo.md) const\*\
*may be nullptr*

（可选）可用的 PlayStation :tm: Network 信息，如果用户已连接 PlayStation :tm Network 好友，两者在同一标题中都有 PlayFab 帐户。

**`steamInfo`**   [PFUserSteamInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusersteaminfo.md) const\*\
*may be nullptr*

（可选）可用的 Steam 信息（如果用户和已连接的 Steam 好友在同一标题中都有 PlayFab 帐户）。

**`tags`**   const char\* const\*\
*may be nullptr*

（可选）与此好友关联的标签。

**`tagsCount`**   uint32\_t

tags 的计数

**`titleDisplayName`**   const char\*\
*is null-terminated*

（可选）此好友的标题特定显示名称。

**`username`**   const char\*\
*is null-terminated*

（可选）此好友的 PlayFab 唯一用户名。

**`xboxInfo`**   [PFUserXboxInfo](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuserxboxinfo.md) const\*\
*may be nullptr*

（可选）可用的 XBOX 信息（如果用户和已连接的 XBOX Live 好友在同一标题中都有 PlayFab 帐户）。

## 要求

**头文件：** PFFriendsTypes.h

## 另请参阅

[PFFriendsTypes 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members.md)


## Related topics

- [PFFriendsGetFriendsListResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsgetfriendslistresult.md)
- [Services C API overview - PFFriendsTypes.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members.md)
- [Get Friends List](https://docs.xbox.com/api-reference/friend-list-management/get-friends-list.md)
- [Add Friend](https://docs.xbox.com/api-reference/friend-list-management/add-friend.md)
- [Remove Friend](https://docs.xbox.com/api-reference/friend-list-management/remove-friend.md)
