跳轉到主要內容
Matchmaking 程式庫中事件或狀態變更的一般基底結構表示法。

語法

成員

stateChangeType   PFMatchmakingStateChangeType 所代表之狀態變更的特定類型。 使用此欄位判斷此 PFMatchmakingStateChange 結構標頭代表哪個對應的衍生結構。

備註

PFMatchmakingStateChange 結構由 PFMultiplayerStartProcessingMatchmakingStateChanges() 回報,供遊戲處理後再透過 PFMultiplayerFinishProcessingMatchmakingStateChanges() 方法迅速傳回。

stateChangeType 欄位表示發生了哪種狀態變更,接著應將此基底結構轉換為更具體的衍生結構,以擷取其他事件專屬資訊。

需求

標頭: PFMatchmaking.h

另請參閱

PFMatchmaking 成員
PFMultiplayerStartProcessingMatchmakingStateChanges
PFMultiplayerFinishProcessingMatchmakingStateChanges
最後修改於 2026年10月20日