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

# XblMatchTicketDetailsResponse

> XblMatchTicketDetailsResponse

# XblMatchTicketDetailsResponse

表示服务器对匹配票证详细信息请求的响应。

## 语法

```cpp theme={null}
typedef struct XblMatchTicketDetailsResponse {  
    XblTicketStatus matchStatus;  
    int64_t estimatedWaitTime;  
    XblPreserveSessionMode preserveSession;  
    XblMultiplayerSessionReference ticketSession;  
    XblMultiplayerSessionReference targetSession;  
    char* ticketAttributes;  
} XblMatchTicketDetailsResponse  
```

### 成员

*matchStatus*\
类型：[XblTicketStatus](/reference/live/xsapi-c/matchmaking_c/enums/xblticketstatus)

匹配请求的状态。

*estimatedWaitTime*\
类型：int64\_t

匹配请求与其他玩家匹配的估计等待时间。

*preserveSession*\
类型：[XblPreserveSessionMode](/reference/live/xsapi-c/matchmaking_c/enums/xblpreservesessionmode)

用于指定匹配是否应保留请求匹配所在会话的枚举值。

*ticketSession*\
类型：XblMultiplayerSessionReference

请求匹配的会话。

*targetSession*\
类型：XblMultiplayerSessionReference

已找到匹配请求的会话。

*ticketAttributes*\
类型：char\*

匹配请求的属性。

## 要求

**头文件：** matchmaking\_c.h

## 另请参阅

[matchmaking\_c](/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members)


## Related topics

- [XblMatchmakingGetMatchTicketDetailsResult](/zh-CN/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresult.md)
- [使用 SmartMatch 匹配](/zh-CN/services/xbox-services/multiplayer/matchmaking/concepts/live-matchmaking-how-tos.md)
- [XblCreateMatchTicketResponse](/zh-CN/reference/live/xsapi-c/matchmaking_c/structs/xblcreatematchticketresponse.md)
- [XblMatchmakingGetMatchTicketDetailsAsync](/zh-CN/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsasync.md)
- [XblMatchmakingGetMatchTicketDetailsResultSize](/zh-CN/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsresultsize.md)
