共用方式為


XblMatchmakingGetMatchTicketDetailsAsync

Retrieves the properties of a match ticket from the server.

Syntax

HRESULT XblMatchmakingGetMatchTicketDetailsAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         const char* hopperName,  
         const char* ticketId,  
         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 where the match ticket is located.

ticketId   _In_
Type: char*

The ticket id of the match ticket to retrieve.

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}/tickets/{ticketId}

Requirements

Header: matchmaking_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

matchmaking_c