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

# 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](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfadcampaignattributionmodel.md) const\*\
*may be nullptr*

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

**`adCampaignAttributionsCount`**   uint32\_t

adCampaignAttributions の数。

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

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

**`bannedUntil`**   time\_t const\*\
*may be nullptr*

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

**`contactEmailAddresses`**   [PFContactEmailInfoModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfcontactemailinfomodel.md) const\*\
*may be nullptr*

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

**`contactEmailAddressesCount`**   uint32\_t

contactEmailAddresses の数。

**`created`**   time\_t const\*\
*may be nullptr*

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

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

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

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

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

**`experimentVariantsCount`**   uint32\_t

experimentVariants の数。

**`lastLogin`**   time\_t const\*\
*may be nullptr*

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

**`linkedAccounts`**   [PFLinkedPlatformAccountModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pflinkedplatformaccountmodel.md) const\*\
*may be nullptr*

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

**`linkedAccountsCount`**   uint32\_t

linkedAccounts の数。

**`locations`**   [PFLocationModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pflocationmodel.md) const\*\
*may be nullptr*

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

**`locationsCount`**   uint32\_t

locations の数。

**`memberships`**   [PFMembershipModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfmembershipmodel.md) const\*\
*may be nullptr*

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

**`membershipsCount`**   uint32\_t

memberships の数。

**`origination`**   [PFLoginIdentityProvider](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/enums/pfloginidentityprovider.md) const\*\
*may be nullptr*

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

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

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

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

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

**`pushNotificationRegistrations`**   [PFPushNotificationRegistrationModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfpushnotificationregistrationmodel.md) const\*\
*may be nullptr*

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

**`pushNotificationRegistrationsCount`**   uint32\_t

pushNotificationRegistrations の数。

**`statistics`**   [PFStatisticModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfstatisticmodel.md) const\*\
*may be nullptr*

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

**`statisticsCount`**   uint32\_t

statistics の数。

**`tags`**   [PFTagModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pftagmodel.md) const\*\
*may be nullptr*

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

**`tagsCount`**   uint32\_t

tags の数。

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

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

**`totalValueToDateInUSD`**   uint32\_t const\*\
*may be nullptr*

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

**`valuesToDate`**   [PFValueToDateModel](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfvaluetodatemodel.md) const\*\
*may be nullptr*

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

**`valuesToDateCount`**   uint32\_t

valuesToDate の数。

## 要件

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

## 関連項目

[PFTypes メンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/pftypes_members.md)


## Related topics

- [PFAccountManagementGetPlayerProfileResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayerprofileresult.md)
- [Services C API overview - PFTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFGetPlayerCombinedInfoResultPayload](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforesultpayload.md)
- [PFFriendsFriendInfo](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsfriendinfo.md)
- [Get Player Profile](https://docs.xbox.com/api-reference/account-management/get-player-profile.md)
