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

# PFStatisticsEntityStatistics

> Reference for the PFStatisticsEntityStatistics struct in the PlayFab Services C API, pairing an entity key with its list of statistic values.

PFStatisticsEntityStatistics data model.

## Syntax

```cpp theme={null}
typedef struct PFStatisticsEntityStatistics {  
    PFEntityKey const* entityKey;  
    PFStatisticsEntityStatisticValue const* statistics;  
    uint32_t statisticsCount;  
} PFStatisticsEntityStatistics;  
```

### Members

**`entityKey`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

(Optional) The entity for which the statistics are returned.

**`statistics`**   [PFStatisticsEntityStatisticValue](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatisticvalue) const\*<br />*may be nullptr*

(Optional) The statistics for the given entity key.

**`statisticsCount`**   uint32\_t

Count of statistics

## Requirements

**Header:** PFStatisticsTypes.h

## See also

[PFStatisticsTypes members](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members)


## Related topics

- [PFStatisticsGetStatisticsForEntitiesResponse](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsforentitiesresponse.md)
- [Services C API overview - PFStatisticsTypes.h](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)
- [PFStatisticsEntityStatisticValue](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatisticvalue.md)
- [PFStatisticsEntityStatisticValueDictionaryEntry](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatisticvaluedictionaryentry.md)
- [PFStatisticsGetStatisticsForEntitiesRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsforentitiesrequest.md)
