Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get statistics for users across different Service configurations.
Syntax
HRESULT XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsAsync(
XblContextHandle xblContextHandle,
uint64_t* xboxUserIds,
uint32_t xboxUserIdsCount,
const XblRequestedStatistics* requestedServiceConfigurationStatisticsCollection,
uint32_t requestedServiceConfigurationStatisticsCollectionCount,
XAsyncBlock* async
)
Parameters
xblContextHandle _In_
Type: XblContextHandle
Xbox live context for the local user.
xboxUserIds _In_
Type: uint64_t*
A list of the user Xbox user ID to get stats for.
xboxUserIdsCount _In_
Type: uint32_t
A list of the user Xbox user ID to get stats for.
requestedServiceConfigurationStatisticsCollection _In_
Type: XblRequestedStatistics*
A list of the service config IDs and its associated array of statistics.
requestedServiceConfigurationStatisticsCollectionCount _In_
Type: uint32_t
The number of the service config IDs and its associated array of statistics.
async _In_
Type: XAsyncBlock*
The AsyncBlock for this operation.
Return value
Type: HRESULT
HRESULT return code for this API operation.
Remarks
Call XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResultSize and XblUserStatisticsGetMultipleUserStatisticsForMultipleServiceConfigurationsResult upon completion to get the result. Only statistics with values are returned. For example, if you ask for 3 statistic names and only 2 have values, only 2 statistics are returned by the service.
REST Call
V1 POST /batch
Requirements
Header: user_statistics_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib