> ## 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 成員](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

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