XblMatchmakingGetHopperStatisticsAsync
Gets statistics about a hopper such as how many players are in it.
Syntax
HRESULT XblMatchmakingGetHopperStatisticsAsync(
XblContextHandle xboxLiveContext,
const char* serviceConfigurationId,
const char* hopperName,
XAsyncBlock* asyncBlock
)
Parameters
xboxLiveContext _In_
Type: XblContextHandle
Xbox live context for the local user.
serviceConfigurationId _In_
Type: char*
The Service Configuration ID (SCID) for the title. The SCID is considered case sensitive so paste it directly from the Partner Center.
hopperName _In_
Type: char*
The name of the hopper to query stats for.
asyncBlock _In_
Type: XAsyncBlock*
The AsyncBlock for this operation.
Return value
Type: HRESULT
HRESULT return code for this API operation.
REST Call
Calls V103 GET /serviceconfigs/{serviceConfigId}/hoppers/{hopperName}/stats
Requirements
Header: matchmaking_c.h
Library: Microsoft.Xbox.Services.141.GSDK.C.lib