Edit

PFSegmentsPlayerProfile

PFSegmentsPlayerProfile data model.

Syntax

typedef struct PFSegmentsPlayerProfile {  
    PFSegmentsAdCampaignAttribution const* adCampaignAttributions;  
    uint32_t adCampaignAttributionsCount;  
    const char* avatarUrl;  
    time_t const* bannedUntil;  
    PFSegmentsChurnRiskLevel const* churnPrediction;  
    PFSegmentsContactEmailInfo const* contactEmailAddresses;  
    uint32_t contactEmailAddressesCount;  
    time_t const* created;  
    const char* displayName;  
    time_t const* lastLogin;  
    PFSegmentsPlayerLinkedAccount const* linkedAccounts;  
    uint32_t linkedAccountsCount;  
    PFSegmentsPlayerLocationDictionaryEntry const* locations;  
    uint32_t locationsCount;  
    PFLoginIdentityProvider const* origination;  
    const char* const* playerExperimentVariants;  
    uint32_t playerExperimentVariantsCount;  
    const char* playerId;  
    PFSegmentsPlayerStatistic const* playerStatistics;  
    uint32_t playerStatisticsCount;  
    const char* publisherId;  
    PFSegmentsPushNotificationRegistration const* pushNotificationRegistrations;  
    uint32_t pushNotificationRegistrationsCount;  
    PFInt32DictionaryEntry const* statistics;  
    uint32_t statisticsCount;  
    const char* const* tags;  
    uint32_t tagsCount;  
    const char* titleId;  
    uint32_t const* totalValueToDateInUSD;  
    PFUint32DictionaryEntry const* valuesToDate;  
    uint32_t valuesToDateCount;  
    PFInt32DictionaryEntry const* virtualCurrencyBalances;  
    uint32_t virtualCurrencyBalancesCount;  
} PFSegmentsPlayerProfile;  

Members

adCampaignAttributions   PFSegmentsAdCampaignAttribution const*
may be nullptr

(Optional) Array of ad campaigns player has been attributed to.

adCampaignAttributionsCount   uint32_t

Count of adCampaignAttributions

avatarUrl   const char*
is null-terminated

(Optional) Image URL of the player's avatar.

bannedUntil   time_t const*
may be nullptr

(Optional) Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date.

churnPrediction   PFSegmentsChurnRiskLevel const*
may be nullptr

(Optional) The prediction of the player to churn within the next seven days.

contactEmailAddresses   PFSegmentsContactEmailInfo const*
may be nullptr

(Optional) Array of contact email addresses associated with the player.

contactEmailAddressesCount   uint32_t

Count of contactEmailAddresses

created   time_t const*
may be nullptr

(Optional) Player record created.

displayName   const char*
is null-terminated

(Optional) Player Display Name.

lastLogin   time_t const*
may be nullptr

(Optional) Last login.

linkedAccounts   PFSegmentsPlayerLinkedAccount const*
may be nullptr

(Optional) Array of third party accounts linked to this player.

linkedAccountsCount   uint32_t

Count of linkedAccounts

locations   PFSegmentsPlayerLocationDictionaryEntry const*
may be nullptr

(Optional) Dictionary of player's locations by type.

locationsCount   uint32_t

Count of locations

origination   PFLoginIdentityProvider const*
may be nullptr

(Optional) Player account origination.

playerExperimentVariants   const char* const*
may be nullptr

(Optional) List of player variants for experimentation.

playerExperimentVariantsCount   uint32_t

Count of playerExperimentVariants

playerId   const char*
is null-terminated

(Optional) PlayFab Player ID.

playerStatistics   PFSegmentsPlayerStatistic const*
may be nullptr

(Optional) Array of player statistics.

playerStatisticsCount   uint32_t

Count of playerStatistics

publisherId   const char*
is null-terminated

(Optional) Publisher this player belongs to.

pushNotificationRegistrations   PFSegmentsPushNotificationRegistration const*
may be nullptr

(Optional) Array of configured push notification end points.

pushNotificationRegistrationsCount   uint32_t

Count of pushNotificationRegistrations

statistics   PFInt32DictionaryEntry const*
may be nullptr

(Optional) Dictionary of player's statistics using only the latest version's value.

statisticsCount   uint32_t

Count of statistics

tags   const char* const*
may be nullptr

(Optional) List of player's tags for segmentation.

tagsCount   uint32_t

Count of tags

titleId   const char*
is null-terminated

(Optional) Title ID this profile applies to.

totalValueToDateInUSD   uint32_t const*
may be nullptr

(Optional) A sum of player's total purchases in USD across all currencies.

valuesToDate   PFUint32DictionaryEntry const*
may be nullptr

(Optional) Dictionary of player's total purchases by currency.

valuesToDateCount   uint32_t

Count of valuesToDate

virtualCurrencyBalances   PFInt32DictionaryEntry const*
may be nullptr

(Optional) Dictionary of player's virtual currency balances.

virtualCurrencyBalancesCount   uint32_t

Count of virtualCurrencyBalances

Requirements

Header: PFSegmentsTypes.h

See also

PFSegmentsTypes members