PFPlayerProfileModel データ モデル。
構文
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 const*
nullptr でもかまいません
(オプション) プレイヤーが属性付けされた広告キャンペーンの一覧。
adCampaignAttributionsCount uint32_t
adCampaignAttributions の数
avatarUrl const char*
が null で終わる
(オプション) プレイヤーのアバター画像の URL。
bannedUntil time_t const*
nullptr でもかまいません
(オプション) プレイヤーが現在禁止されている場合、禁止の有効期限が切れた UTC 日付。
contactEmailAddresses
PFContactEmailInfoModel const*
nullptr でもかまいません
(オプション) プレイヤー アカウントに関連付けられているすべての連絡先メール情報の一覧。
contactEmailAddressesCount uint32_t
contactEmailAddresses の数
created time_t const*
nullptr でもかまいません
(オプション) 作成されたプレイヤー レコード。
displayName const char*
が null で終わる
(オプション) プレイヤーの表示名。
experimentVariants const char* const*
nullptr でもかまいません
(オプション) プレイヤーの実験バリエーションの一覧。 プレイヤー プロファイルはログイン後にのみ更新されるため、ログイン中に返された場合、これらのバリエーションが最新の状態になることは保証されないことに注意してください。 代わりに、ログイン時に LoginResult.TreatmentAssignment プロパティを使用して、正しいバリエーションと変数を取得してください。
experimentVariantsCount uint32_t
experimentVariants の数
lastLogin time_t const*
nullptr でもかまいません
(オプション) プレイヤーが最後にタイトルにログインした UTC 時刻。
linkedAccounts
PFLinkedPlatformAccountModel const*
nullptr でもかまいません
(オプション) このプレイヤー アカウントにリンクされているすべての認証システムの一覧。
linkedAccountsCount uint32_t
linkedAccounts の数
locations
PFLocationModel const*
nullptr でもかまいません
(オプション) プレイヤーがタイトルにログインした地理的な場所の一覧。
locationsCount uint32_t
場所の数
memberships
PFMembershipModel const*
nullptr でもかまいません
(オプション) プレイヤーのメンバーシップの一覧と、有効期限が切れているかどうか。
membershipsCount uint32_t
メンバーシップの数
origination
PFLoginIdentityProvider const*
nullptr でもかまいません
(オプション) プレイヤー アカウントの元。
playerId const char*
が null で終わる
(オプション) PlayFab プレイヤー アカウントの一意の識別子。
publisherId const char*
が null で終わる
(オプション) このプレイヤーが属している発行元。
pushNotificationRegistrations
PFPushNotificationRegistrationModel const*
nullptr でもかまいません
(オプション) プレイヤーのプッシュ通知を送信するために登録された構成済みのエンドポイントの一覧。
pushNotificationRegistrationsCount uint32_t
pushNotificationRegistrations の数
statistics
PFStatisticModel const*
nullptr でもかまいません
(オプション) プレイヤーのランキング統計値の一覧。
statisticsCount uint32_t
統計の数
tags
PFTagModel const*
nullptr でもかまいません
(オプション) セグメント化のためのプレイヤーのタグの一覧。
tagsCount uint32_t
タグの数
titleId const char*
が null で終わる
(オプション) このプレイヤー プロファイルが適用されるタイトル ID。
totalValueToDateInUSD uint32_t const*
nullptr でもかまいません
(オプション) 実際の通貨で行われたプレイヤーの購入の合計。米ドル相当に換算され、整数のセント (1/100 USD) として表されます。 たとえば、999 は 9 ドルと 99 セントを示します。
valuesToDate
PFValueToDateModel const*
nullptr でもかまいません
(オプション) プレイヤーの生涯購入合計の一覧。実際のお金の通貨で合計されます。
valuesToDateCount uint32_t
valuesToDate の数
要件
ヘッダー: PFTypes.h