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

# Services C API overview - PFStatistics.h

> Overview of the PFStatistics.h header in the PlayFab Services C API, listing the functions it defines for entity statistics and statistic definitions.

## Functions

| Function                                                                                                                                                         | Description                                                                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| [PFStatisticsCreateStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticscreatestatisticdefinitionasync)               | Create a new entity statistic definition.                                                                                                      |
| [PFStatisticsDeleteStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticdefinitionasync)               | Delete an entity statistic definition. Will delete all statistics on entity profiles and leaderboards.                                         |
| [PFStatisticsDeleteStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticsasync)                                 | Delete statistics on an entity profile. This will remove all rankings from associated leaderboards.                                            |
| [PFStatisticsDeleteStatisticsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticsgetresult)                         | Gets the result of a successful PFStatisticsDeleteStatisticsAsync call.                                                                        |
| [PFStatisticsDeleteStatisticsGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticsgetresultsize)                 | Get the size in bytes needed to store the result of a DeleteStatistics call.                                                                   |
| [PFStatisticsGetStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitionasync)                     | Get current statistic definition information                                                                                                   |
| [PFStatisticsGetStatisticDefinitionGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitiongetresult)             | Gets the result of a successful PFStatisticsGetStatisticDefinitionAsync call.                                                                  |
| [PFStatisticsGetStatisticDefinitionGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitiongetresultsize)     | Get the size in bytes needed to store the result of a GetStatisticDefinition call.                                                             |
| [PFStatisticsGetStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync)                                       | Gets statistics for the specified entity.                                                                                                      |
| [PFStatisticsGetStatisticsForEntitiesAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesasync)                 | Gets statistics for the specified collection of entities.                                                                                      |
| [PFStatisticsGetStatisticsForEntitiesGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult)         | Gets the result of a successful PFStatisticsGetStatisticsForEntitiesAsync call.                                                                |
| [PFStatisticsGetStatisticsForEntitiesGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresultsize) | Get the size in bytes needed to store the result of a GetStatisticsForEntities call.                                                           |
| [PFStatisticsGetStatisticsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresult)                               | Gets the result of a successful PFStatisticsGetStatisticsAsync call.                                                                           |
| [PFStatisticsGetStatisticsGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresultsize)                       | Get the size in bytes needed to store the result of a GetStatistics call.                                                                      |
| [PFStatisticsIncrementStatisticVersionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversionasync)               | Increment an entity statistic definition version.                                                                                              |
| [PFStatisticsIncrementStatisticVersionGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversiongetresult)       | Gets the result of a successful PFStatisticsIncrementStatisticVersionAsync call.                                                               |
| [PFStatisticsListStatisticDefinitionsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsasync)                 | Get all current statistic definitions information                                                                                              |
| [PFStatisticsListStatisticDefinitionsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresult)         | Gets the result of a successful PFStatisticsListStatisticDefinitionsAsync call.                                                                |
| [PFStatisticsListStatisticDefinitionsGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsgetresultsize) | Get the size in bytes needed to store the result of a ListStatisticDefinitions call.                                                           |
| [PFStatisticsUpdateStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticdefinitionasync)               | Update an existing entity statistic definition.                                                                                                |
| [PFStatisticsUpdateStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsasync)                                 | Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on various leaderboards. |
| [PFStatisticsUpdateStatisticsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsgetresult)                         | Gets the result of a successful PFStatisticsUpdateStatisticsAsync call.                                                                        |
| [PFStatisticsUpdateStatisticsGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsgetresultsize)                 | Get the size in bytes needed to store the result of a UpdateStatistics call.                                                                   |


## Related topics

- [Services C API overview - PFStatisticsTypes.h](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)
- [PFStatisticsUpdateStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsasync.md)
- [PFStatisticsDeleteStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticsasync.md)
- [PFStatisticsGetStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync.md)
- [PFStatisticsUpdateStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticdefinitionasync.md)
