Skip to main content
PFStatisticsStatisticDefinition data model.

Syntax

Members

aggregationDestinations   const char* const*
may be nullptr
(Optional) The list of statistic definitions names this definition aggregates to. aggregationDestinationsCount   uint32_t Count of aggregationDestinations aggregationSources   const char* const*
may be nullptr
(Optional) The list of statistic definitions names whose values must be aggregated towards this stat. If AggregationSource is specified, the entityType of this definition MUST be Title (making it a CommunityStat). Currently, only one aggregation source can be specified. aggregationSourcesCount   uint32_t Count of aggregationSources columns   PFStatisticsStatisticColumn const*
may be nullptr
(Optional) The columns for the statistic defining the aggregation method for each column. columnsCount   uint32_t Count of columns created   time_t Created time, in UTC. entityType   const char*
is null-terminated
(Optional) The entity type that can have this statistic. eventEmissionConfig   PFStatisticsStatisticsEventEmissionConfig const*
may be nullptr
(Optional) [In Preview]: Configurations for different Statistics events that can be emitted by the service. lastResetTime   time_t const*
may be nullptr
(Optional) Last time, in UTC, statistic version was incremented. linkedLeaderboardNames   const char* const*
may be nullptr
(Optional) The list of leaderboards that are linked to this statistic definition. linkedLeaderboardNamesCount   uint32_t Count of linkedLeaderboardNames name   const char*
is null-terminated
(Optional) Name of the statistic. version   uint32_t Statistic version. versionConfiguration   PFVersionConfiguration const*
may be nullptr
(Optional) The version reset configuration for the leaderboard definition.

Requirements

Header: PFStatisticsTypes.h

See also

PFStatisticsTypes members
Last modified on August 31, 2026