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

> Configuration data used to create a PlayFab Multiplayer matchmaking ticket, including timeout, queue name, and options such as latency measurement usage.

Defines the configuration for a matchmaking ticket.

## Syntax

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

### Members

**`timeoutInSeconds`**   uint32\_t

How long to attempt matchmaking the ticket, in seconds.

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

The name of a match queue.

**`membersToMatchWithCount`**   uint32\_t

The number of other specific users expected to join the ticket.

**`membersToMatchWith`**   const [PFEntityKey](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/pfentitykey_clientsdk)\*\
*array of size `membersToMatchWithCount`*

The PlayFab Entity Keys of other specific users expected to join the ticket.

This field specifies the number of other specific users expected to join the ticket. Typically this list represents a group of friends or fireteam that are looking for a match together. A match can't be found until all specified users join the ticket via [PFMultiplayerJoinMatchmakingTicketFromId](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerjoinmatchmakingticketfromid).

## Requirements

**Header:** PFMatchmaking.h

## See also

[PFMatchmaking members](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members)


## Related topics

- [Matchmaking SDK quickstart](/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
- [PFMultiplayer C/C++ API overview - PFMatchmaking.h](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [PFMultiplayerCreateMatchmakingTicket](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayercreatematchmakingticket.md)
- [PFMatchmakingServerBackfillTicketConfiguration](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingserverbackfillticketconfiguration.md)
- [MatchmakingTicketStatus](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchmakingTicketStatus.md)
