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

# PFFriendsClientAddFriendRequest

> PFFriendsClientAddFriendRequest 数据模型。

PFFriendsClientAddFriendRequest 数据模型。

## 语法

```cpp theme={null}
typedef struct PFFriendsClientAddFriendRequest {  
    const char* friendEmail;  
    const char* friendPlayFabId;  
    const char* friendTitleDisplayName;  
    const char* friendUsername;  
} PFFriendsClientAddFriendRequest;  
```

### 成员

**`friendEmail`**   const char\*<br />*is null-terminated*

（可选）尝试添加到本地用户的好友列表的用户的电子邮件地址。

**`friendPlayFabId`**   const char\*<br />*is null-terminated*

（可选）尝试添加到本地用户的好友列表的用户的 PlayFab 标识符。

**`friendTitleDisplayName`**   const char\*<br />*is null-terminated*

（可选）尝试添加到本地用户的好友列表的用户的标题特定显示名称。

**`friendUsername`**   const char\*<br />*is null-terminated*

（可选）尝试添加到本地用户的好友列表的用户的 PlayFab 用户名。

## 要求

**头文件：** PFFriendsTypes.h

## 另请参阅

[PFFriendsTypes 成员](/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members)
