Skip to main content
匹配库中事件或状态变更的通用基础结构表示。

语法

成员

stateChangeType   PFMatchmakingStateChangeType 所表示状态变更的具体类型。 使用此字段来确定此 PFMatchmakingStateChange 结构标头所表示的对应派生结构。

备注

PFMatchmakingStateChange 结构由 PFMultiplayerStartProcessingMatchmakingStateChanges() 报告,供 title 处理,然后通过 PFMultiplayerFinishProcessingMatchmakingStateChanges() 方法及时传回。

stateChangeType 字段指示发生了哪种状态变更,然后应将此基础结构强制转换为更具体的派生结构,以检索其他特定于事件的信息。

要求

头文件: PFMatchmaking.h

另请参阅

PFMatchmaking 成员
PFMultiplayerStartProcessingMatchmakingStateChanges
PFMultiplayerFinishProcessingMatchmakingStateChanges
最后修改于 2026年8月13日