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

# PFMultiplayer C/C++ API 概觀 - PFMatchmaking.h

> PlayFab Multiplayer C/C++ API 中 PFMatchmaking.h 標頭的概觀，列出用於管理配對票證的函式、結構和列舉。

## 函式

| 函式 | 描述 |
| - | - |
| [PFMatchmakingTicketCancel](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketcancel) | 取消票證。 |
| [PFMatchmakingTicketGetCustomContext](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetcustomcontext) | 擷取先前與此票證物件相關聯之應用程式私人、自訂的指標大小內容值。 |
| [PFMatchmakingTicketGetMatch](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetmatch) | 如果已找到比賽，則提供該比賽。 |
| [PFMatchmakingTicketGetStatus](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetstatus) | 提供配對票證狀態。 |
| [PFMatchmakingTicketGetTicketId](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketgetticketid) | 提供票證識別碼。 |
| [PFMatchmakingTicketSetCustomContext](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmatchmakingticketsetcustomcontext) | 為此票證物件設定選用的自訂指標大小內容值。 |
| [PFMultiplayerCreateMatchmakingTicket](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayercreatematchmakingticket) | 為一或多個本機使用者建立配對票證。 |
| [PFMultiplayerCreateServerBackfillTicket](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayercreateserverbackfillticket) | 建立伺服器回填票證。 |
| [PFMultiplayerDestroyMatchmakingTicket](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerdestroymatchmakingticket) | 終結配對票證。 |
| [PFMultiplayerFinishProcessingMatchmakingStateChanges](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerfinishprocessingmatchmakingstatechanges) | 傳回正在處理的配對狀態變更陣列。 |
| [PFMultiplayerJoinMatchmakingTicketFromId](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerjoinmatchmakingticketfromid) | 使用票證識別碼和佇列名稱，將一或多個本機使用者加入配對票證。 |
| [PFMultiplayerStartProcessingMatchmakingStateChanges](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerstartprocessingmatchmakingstatechanges) | 擷取自上次此類呼叫以來要處理的所有配對狀態變更陣列。 |

## 結構

| 結構 | 描述 |
| - | - |
| [PFMatchmakingMatchDetails](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingmatchdetails) | 已完成之票證所找到的比賽結果資訊。 |
| [PFMatchmakingMatchMember](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingmatchmember) | 比賽結果的成員。 |
| [PFMatchmakingServerBackfillTicketConfiguration](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingserverbackfillticketconfiguration) | 定義伺服器回填票證的設定。 |
| [PFMatchmakingTicketConfiguration](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingticketconfiguration) | 定義配對票證的設定。 |
| [PFMultiplayerPort](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmultiplayerport) | PlayFab Multiplayer Server 使用的連接埠。 |
| [PFMultiplayerServerDetails](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmultiplayerserverdetails) | PlayFab Multiplayer Server 的詳細資料。 |

## 狀態變更

| 狀態變更 | 描述 |
| - | - |
| [PFMatchmakingStateChange](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingstatechange) | Matchmaking 程式庫中事件或狀態變更的一般基底結構表示法。 |
| [PFMatchmakingTicketCompletedStateChange](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingticketcompletedstatechange) | *TicketCompleted* 類型狀態變更的特定資訊。 |
| [PFMatchmakingTicketStatusChangedStateChange](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/structs/pfmatchmakingticketstatuschangedstatechange) | *TicketStatusChanged* 類型狀態變更的特定資訊。 |

## 列舉

| 列舉 | 描述 |
| - | - |
| [PFMatchmakingStateChangeType](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/enums/pfmatchmakingstatechangetype) | Matchmaking 程式庫中可能發生的狀態變更類型。 |
| [PFMatchmakingTicketStatus](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/enums/pfmatchmakingticketstatus) | 配對票證的可能狀態。 |
| [PFMultiplayerProtocolType](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/enums/pfmultiplayerprotocoltype) | 用於連線至 PlayFab Multiplayer Server 連接埠的通訊協定類型。 |


## Related topics

- [PFMultiplayer C/C++ API 概觀 - PFMultiplayer.h](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/pfmultiplayer_members.md)
- [PFMultiplayerCreateMatchmakingTicket](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayercreatematchmakingticket.md)
- [PFMultiplayerDestroyMatchmakingTicket](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerdestroymatchmakingticket.md)
- [PFMultiplayerJoinMatchmakingTicketFromId](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerjoinmatchmakingticketfromid.md)
- [PFMultiplayerStartProcessingMatchmakingStateChanges](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerstartprocessingmatchmakingstatechanges.md)
