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

# PFStatisticsIncrementStatisticVersionAsync

> Reference for PFStatisticsIncrementStatisticVersionAsync, a PlayFab Services C API function that increments an entity statistic definition version.

Increment an entity statistic definition version.

## Syntax

```cpp theme={null}
HRESULT PFStatisticsIncrementStatisticVersionAsync(  
    PFEntityHandle entityHandle,  
    const PFStatisticsIncrementStatisticVersionRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFStatisticsIncrementStatisticVersionRequest\*](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsincrementstatisticversionrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows, Linux, and macOS. See also StatisticCreateStatisticDefinitionAsync. When the asynchronous task is complete, call [PFStatisticsIncrementStatisticVersionGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversiongetresult) to get the result.

## Requirements

**Header:** PFStatistics.h

## See also

[PFStatistics members](/services/playfab/api-references/c/pfstatistics/pfstatistics_members)


## Related topics

- [PFStatisticsIncrementStatisticVersionGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsincrementstatisticversiongetresult.md)
- [Services C API overview - PFStatistics.h](/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsIncrementStatisticVersionRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsincrementstatisticversionrequest.md)
- [PFStatisticsIncrementStatisticVersionResponse](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsincrementstatisticversionresponse.md)
- [Seasonal statistics](/services/playfab/player-progression/statistics/seasonal-statistics.md)
