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

> Detalles del cambio de estado TicketCompleted de PlayFab Multiplayer, que se genera cuando un vale de emparejamiento ha finalizado, ya sea por emparejamiento, cancelación o error.

Información específica del tipo de cambio de estado *TicketCompleted*.

## Sintaxis

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

### Miembros

**`result`**   HRESULT

Un código de error que indica si el vale se realizó correctamente o, si produjo un error, por qué se produjo.

**`ticket`**   PFMatchmakingTicketHandle\
*no debe ser null*

El vale de emparejamiento que se completó.

**`asyncContext`**   void\*

El contexto asincrónico proporcionado a la llamada asociada a este cambio de estado.

## Requisitos

**Encabezado:** PFMatchmaking.h

## Consulte también

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


## Related topics

- [PFMatchmakingStateChangeType](/es/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/enums/pfmatchmakingstatechangetype.md)
- [PFMatchmakingTicketCancel](/es/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketcancel.md)
- [Información general de la API de C/C++ de PFMultiplayer - PFMatchmaking.h](/es/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [PFMatchmakingTicketStatusChangedStateChange](/es/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingticketstatuschangedstatechange.md)
- [Inicio rápido del SDK de Matchmaking](/es/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
