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

# PFMatchmakingTicketConfiguration

> 用於建立 PlayFab Multiplayer 配對票證的設定資料，包括逾時、佇列名稱，以及延遲測量使用方式等選項。

定義配對票證的設定。

## 語法

```cpp theme={null}
struct PFMatchmakingTicketConfiguration {  
    uint32_t timeoutInSeconds;  
    const char* queueName;  
    uint32_t membersToMatchWithCount;  
    const PFEntityKey* membersToMatchWith;  
}  
```

### 成員

**`timeoutInSeconds`**   uint32\_t

嘗試為票證進行配對的時間長度 (以秒為單位)。

**`queueName`**   const char\*\
*以 null 結尾*

比賽佇列的名稱。

**`membersToMatchWithCount`**   uint32\_t

預期加入票證的其他特定使用者數目。

**`membersToMatchWith`**   const [PFEntityKey](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/pfentitykey_clientsdk)\*\
*大小為 `membersToMatchWithCount` 的陣列*

預期加入票證之其他特定使用者的 PlayFab 實體索引鍵。

此欄位指定預期加入票證的其他特定使用者數目。此清單通常代表一群想一起尋找比賽的朋友或小隊。在所有指定的使用者透過 [PFMultiplayerJoinMatchmakingTicketFromId](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerjoinmatchmakingticketfromid) 加入票證之前，無法找到比賽。

## 需求

**標頭：** PFMatchmaking.h

## 另請參閱

[PFMatchmaking 成員](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members)


## Related topics

- [PFMultiplayerCreateMatchmakingTicket](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayercreatematchmakingticket.md)
- [PFMultiplayer C/C++ API 概觀 - PFMatchmaking.h](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [Matchmaking SDK 快速入門](/zh-TW/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
- [PFMatchmakingServerBackfillTicketConfiguration](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingserverbackfillticketconfiguration.md)
- [Join Matchmaking Ticket](/api-reference/matchmaking/join-matchmaking-ticket.md)
