> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFMatchmakingServerBackfillTicketConfiguration

> 用于创建 PlayFab 多人游戏服务器回填票证的配置数据，包括超时时间、队列名称以及现有的已匹配成员列表。

定义服务器回填票证的配置。

## 语法

```cpp theme={null}
struct PFMatchmakingServerBackfillTicketConfiguration {  
    uint32_t timeoutInSeconds;  
    const char* queueName;  
    uint32_t memberCount;  
    const PFMatchmakingMatchMember* members;  
    const PFMultiplayerServerDetails* serverDetails;  
}  
```

### 成员

**`timeoutInSeconds`**   uint32\_t

尝试填充票证的时长（以秒为单位）。

**`queueName`**   const char\*\
*is null-terminated*

匹配队列的名称。

**`memberCount`**   uint32\_t

当前匹配中的成员数量。

**`members`**   const [PFMatchmakingMatchMember](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingmatchmember.md)\*\
*大小为 `memberCount` 的数组*

当前匹配中的成员。

**`serverDetails`**   const [PFMultiplayerServerDetails](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmultiplayerserverdetails.md)\*\
*may be nullptr*

关于票证所针对的 PlayFab 多人游戏服务器的详细信息。

所提供的服务器详细信息将在 [PFMatchmakingMatchDetails](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingmatchdetails.md) 中提供给与此票证匹配的任何其他客户端。客户端将能够使用此信息连接到游戏服务器。\
\
&#x20;服务器详细信息是可选的。如果在匹配完成时无需向客户端提供服务器详细信息，此值可以为 nullptr。同样，服务器详细信息中不需要提供给客户端的任何字段可以为空或 nullptr。

## 备注

若要使用此功能，必须在包含 PFMatchmaking.h 之前定义 PFMULTIPLAYER\_INCLUDE\_SERVER\_APIS。

## 要求

**头文件：** PFMatchmaking.h

## 另请参阅

[PFMatchmaking 成员](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)


## Related topics

- [PFMultiplayerCreateServerBackfillTicket](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayercreateserverbackfillticket.md)
- [PFMultiplayer C/C++ API 概览 - PFMatchmaking.h](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [使用服务器回填票证 - Multiplayer SDK](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/matchmaking/backfill-tickets-multiplayer-sdk.md)
- [Create Server Backfill Ticket](https://docs.xbox.com/api-reference/matchmaking/create-server-backfill-ticket.md)
- [Cancel Server Backfill Ticket](https://docs.xbox.com/api-reference/matchmaking/cancel-server-backfill-ticket.md)
