Skip to main content
Update statistics on an entity profile. Depending on the statistic definition, this may result in entity being ranked on various leaderboards.

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFStatisticsUpdateStatisticsRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on all platforms. See also StatisticDeleteStatisticsAsync. When the asynchronous task is complete, call PFStatisticsUpdateStatisticsGetResultSize and PFStatisticsUpdateStatisticsGetResult to get the result.

Requirements

Header: PFStatistics.h

See also

PFStatistics members
Last modified on August 27, 2026