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

# PFPlayerProfileViewConstraints

> PFPlayerProfileViewConstraints 数据模型。

PFPlayerProfileViewConstraints 数据模型。

## 语法

```cpp theme={null}
typedef struct PFPlayerProfileViewConstraints {  
    bool showAvatarUrl;  
    bool showBannedUntil;  
    bool showCampaignAttributions;  
    bool showContactEmailAddresses;  
    bool showCreated;  
    bool showDisplayName;  
    bool showExperimentVariants;  
    bool showLastLogin;  
    bool showLinkedAccounts;  
    bool showLocations;  
    bool showMemberships;  
    bool showOrigination;  
    bool showPushNotificationRegistrations;  
    bool showStatistics;  
    bool showTags;  
    bool showTotalValueToDateInUsd;  
    bool showValuesToDate;  
} PFPlayerProfileViewConstraints;  
```

### 成员

**`showAvatarUrl`**   bool

是否显示玩家的头像 URL。默认为 false。

**`showBannedUntil`**   bool

是否显示禁用截止时间。默认为 false。

**`showCampaignAttributions`**   bool

是否显示活动归因。默认为 false。

**`showContactEmailAddresses`**   bool

是否显示联系电子邮件地址。默认为 false。

**`showCreated`**   bool

是否显示创建日期。默认为 false。

**`showDisplayName`**   bool

是否显示显示名称。默认为 false。

**`showExperimentVariants`**   bool

是否显示玩家的实验变体。默认为 false。

**`showLastLogin`**   bool

是否显示上次登录时间。默认为 false。

**`showLinkedAccounts`**   bool

是否显示链接的账号。默认为 false。

**`showLocations`**   bool

是否显示玩家的位置。默认为 false。

**`showMemberships`**   bool

是否显示玩家的会员资格信息。默认为 false。

**`showOrigination`**   bool

是否显示来源。默认为 false。

**`showPushNotificationRegistrations`**   bool

是否显示推送通知注册。默认为 false。

**`showStatistics`**   bool

保留供将来开发使用。

**`showTags`**   bool

是否显示标签。默认为 false。

**`showTotalValueToDateInUsd`**   bool

是否显示以美元表示的截至目前的总价值。默认为 false。

**`showValuesToDate`**   bool

是否显示截至目前的值。默认为 false。

## 要求

**头文件：** PFTypes.h

## 另请参阅

[PFTypes 成员](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFAccountManagementGetPlayerProfileRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayerprofilerequest.md)
- [PFFriendsClientGetFriendsListRequest](/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientgetfriendslistrequest.md)
- [PFFriendsServerGetFriendsListRequest](/zh-CN/services/playfab/api-references/c/pffriendstypes/structs/pffriendsservergetfriendslistrequest.md)
- [PFGetPlayerCombinedInfoRequestParams](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforequestparams.md)
- [服务 C API 概览 - PFTypes.h](/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)
