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

# PFMatchmakingTicketCompletedStateChange

> Détails du changement d'état TicketCompleted de PlayFab Multiplayer, déclenché lorsqu'un ticket de matchmaking s'est terminé, que ce soit par une mise en relation, une annulation ou un échec.

Informations propres au type de changement d'état *TicketCompleted*.

## Syntaxe

```cpp theme={null}
struct PFMatchmakingTicketCompletedStateChange : PFMatchmakingStateChange {  
    HRESULT result;  
    PFMatchmakingTicketHandle ticket;  
    void* asyncContext;  
}  
```

### Membres

**`result`**   HRESULT

Code d'erreur indiquant si le ticket a réussi ou, en cas d'échec, la raison de l'échec.

**`ticket`**   PFMatchmakingTicketHandle\
*ne doit pas être null*

Ticket de matchmaking terminé.

**`asyncContext`**   void\*

Contexte asynchrone fourni à l'appel associé à ce changement d'état.

## Configuration requise

**En-tête :** PFMatchmaking.h

## Voir aussi

[Membres de PFMatchmaking](/fr-CA/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members)


## Related topics

- [PFMatchmakingStateChangeType](/fr-CA/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/enums/pfmatchmakingstatechangetype.md)
- [PFMatchmakingTicketCancel](/fr-CA/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketcancel.md)
- [Vue d'ensemble de l'API C/C++ PFMultiplayer - PFMatchmaking.h](/fr-CA/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [PFMatchmakingTicketStatusChangedStateChange](/fr-CA/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingticketstatuschangedstatechange.md)
- [Démarrage rapide du SDK Matchmaking](/fr-CA/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
