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

# PFPlayerProfileModel

> PFPlayerProfileModel データ モデル。

PFPlayerProfileModel データ モデル。

## 構文

```cpp theme={null}
typedef struct PFPlayerProfileModel {  
    PFAdCampaignAttributionModel const* adCampaignAttributions;  
    uint32_t adCampaignAttributionsCount;  
    const char* avatarUrl;  
    time_t const* bannedUntil;  
    PFContactEmailInfoModel const* contactEmailAddresses;  
    uint32_t contactEmailAddressesCount;  
    time_t const* created;  
    const char* displayName;  
    const char* const* experimentVariants;  
    uint32_t experimentVariantsCount;  
    time_t const* lastLogin;  
    PFLinkedPlatformAccountModel const* linkedAccounts;  
    uint32_t linkedAccountsCount;  
    PFLocationModel const* locations;  
    uint32_t locationsCount;  
    PFMembershipModel const* memberships;  
    uint32_t membershipsCount;  
    PFLoginIdentityProvider const* origination;  
    const char* playerId;  
    const char* publisherId;  
    PFPushNotificationRegistrationModel const* pushNotificationRegistrations;  
    uint32_t pushNotificationRegistrationsCount;  
    PFStatisticModel const* statistics;  
    uint32_t statisticsCount;  
    PFTagModel const* tags;  
    uint32_t tagsCount;  
    const char* titleId;  
    uint32_t const* totalValueToDateInUSD;  
    PFValueToDateModel const* valuesToDate;  
    uint32_t valuesToDateCount;  
} PFPlayerProfileModel;  
```

### メンバー

**`adCampaignAttributions`**   [PFAdCampaignAttributionModel](/services/playfab/api-references/c/pftypes/structs/pfadcampaignattributionmodel) const\*<br />*may be nullptr*

(省略可) プレイヤーがアトリビューションされた広告キャンペーンの一覧。

**`adCampaignAttributionsCount`**   uint32\_t

adCampaignAttributions の数。

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

(省略可) プレイヤーのアバター画像の URL。

**`bannedUntil`**   time\_t const\*<br />*may be nullptr*

(省略可) プレイヤーが現在禁止されている場合、禁止が解除される UTC 日時。

**`contactEmailAddresses`**   [PFContactEmailInfoModel](/services/playfab/api-references/c/pftypes/structs/pfcontactemailinfomodel) const\*<br />*may be nullptr*

(省略可) プレイヤー アカウントに関連付けられているすべての連絡先メール情報の一覧。

**`contactEmailAddressesCount`**   uint32\_t

contactEmailAddresses の数。

**`created`**   time\_t const\*<br />*may be nullptr*

(省略可) プレイヤー レコードが作成された日時。

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

(省略可) プレイヤーの表示名。

**`experimentVariants`**   const char\* const\*<br />*may be nullptr*

(省略可) プレイヤーの実験バリアントの一覧。プレイヤー プロファイルはログイン後に更新されるため、ログイン時に返されるこれらのバリアントは最新であることが保証されていません。正しいバリアントおよび変数を取得するには、代わりにログイン時に LoginResult.TreatmentAssignment プロパティを使用してください。

**`experimentVariantsCount`**   uint32\_t

experimentVariants の数。

**`lastLogin`**   time\_t const\*<br />*may be nullptr*

(省略可) プレイヤーがタイトルに最後にログインした UTC 時刻。

**`linkedAccounts`**   [PFLinkedPlatformAccountModel](/services/playfab/api-references/c/pftypes/structs/pflinkedplatformaccountmodel) const\*<br />*may be nullptr*

(省略可) このプレイヤー アカウントにリンクされているすべての認証システムの一覧。

**`linkedAccountsCount`**   uint32\_t

linkedAccounts の数。

**`locations`**   [PFLocationModel](/services/playfab/api-references/c/pftypes/structs/pflocationmodel) const\*<br />*may be nullptr*

(省略可) プレイヤーがタイトルにログインした地理的な場所の一覧。

**`locationsCount`**   uint32\_t

locations の数。

**`memberships`**   [PFMembershipModel](/services/playfab/api-references/c/pftypes/structs/pfmembershipmodel) const\*<br />*may be nullptr*

(省略可) プレイヤーのメンバーシップの一覧および期限切れかどうか。

**`membershipsCount`**   uint32\_t

memberships の数。

**`origination`**   [PFLoginIdentityProvider](/services/playfab/api-references/c/pftypes/enums/pfloginidentityprovider) const\*<br />*may be nullptr*

(省略可) プレイヤー アカウントの発生元。

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

(省略可) PlayFab プレイヤー アカウントの一意識別子。

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

(省略可) このプレイヤーが属するパブリッシャー。

**`pushNotificationRegistrations`**   [PFPushNotificationRegistrationModel](/services/playfab/api-references/c/pftypes/structs/pfpushnotificationregistrationmodel) const\*<br />*may be nullptr*

(省略可) プレイヤーへのプッシュ通知の送信用に登録された構成済みエンドポイントの一覧。

**`pushNotificationRegistrationsCount`**   uint32\_t

pushNotificationRegistrations の数。

**`statistics`**   [PFStatisticModel](/services/playfab/api-references/c/pftypes/structs/pfstatisticmodel) const\*<br />*may be nullptr*

(省略可) プレイヤーのリーダーボード統計値の一覧。

**`statisticsCount`**   uint32\_t

statistics の数。

**`tags`**   [PFTagModel](/services/playfab/api-references/c/pftypes/structs/pftagmodel) const\*<br />*may be nullptr*

(省略可) セグメント化用のプレイヤーのタグの一覧。

**`tagsCount`**   uint32\_t

tags の数。

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

(省略可) このプレイヤー プロファイルが適用されるタイトル ID。

**`totalValueToDateInUSD`**   uint32\_t const\*<br />*may be nullptr*

(省略可) プレイヤーが実通貨で行った購入の合計を米ドル換算し、セント (1/100 USD) の整数で表した値。たとえば、999 は 9 ドル 99 セントを示します。

**`valuesToDate`**   [PFValueToDateModel](/services/playfab/api-references/c/pftypes/structs/pfvaluetodatemodel) const\*<br />*may be nullptr*

(省略可) 実通貨ごとに集計されたプレイヤーの生涯購入合計の一覧。

**`valuesToDateCount`**   uint32\_t

valuesToDate の数。

## 要件

**ヘッダー:** PFTypes.h

## 関連項目

[PFTypes メンバー](/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [PFAccountManagementGetPlayerProfileResult](/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayerprofileresult.md)
- [Services C API overview - PFTypes.h](/ja-jp/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFGetPlayerCombinedInfoResultPayload](/ja-jp/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [PFFriendsFriendInfo](/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsfriendinfo.md)
- [PlayerProfile](/ja-jp/services/playfab/api-references/events/data-types/playerprofile.md)
