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

> Detalhes da alteração de estado TicketCompleted do PlayFab Multiplayer, gerada quando um tíquete de matchmaking é concluído, seja por combinação, cancelamento ou falha.

Informações específicas do tipo de alteração de estado *TicketCompleted*.

## Sintaxe

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

### Membros

**`result`**   HRESULT

Um código de erro que indica se o tíquete teve êxito ou, se falhou, por que falhou.

**`ticket`**   PFMatchmakingTicketHandle\
*não deve ser nulo*

O tíquete de matchmaking que foi concluído.

**`asyncContext`**   void\*

O contexto assíncrono fornecido à chamada associada a esta alteração de estado.

## Requisitos

**Cabeçalho:** PFMatchmaking.h

## Confira também

[Membros do PFMatchmaking](/pt-BR/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members)


## Related topics

- [PFMatchmakingStateChangeType](/pt-BR/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/enums/pfmatchmakingstatechangetype.md)
- [PFMatchmakingTicketCancel](/pt-BR/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketcancel.md)
- [Visão geral da API C/C++ do PFMultiplayer – PFMatchmaking.h](/pt-BR/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/pfmatchmaking_members.md)
- [PFMatchmakingTicketStatusChangedStateChange](/pt-BR/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingticketstatuschangedstatechange.md)
- [Início rápido do SDK de Matchmaking](/pt-BR/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
