跳轉到主要內容
Updated 類型狀態變更的特定資訊。

語法

成員

lobby   PFLobbyHandle
不得為 null
已更新的大廳。 ownerUpdated   bool 表示大廳擁有者是否已更新的旗標。 maxMembersUpdated   bool 表示大廳中允許的最大成員數目是否已更新的旗標。 accessPolicyUpdated   bool 表示大廳存取原則是否已更新的旗標。 membershipLockUpdated   bool 表示大廳成員資格鎖定是否已更新的旗標。 updatedSearchPropertyCount   uint32_t 已更新的搜尋屬性數目。 updatedSearchPropertyKeys   const char* const*
大小為 updatedSearchPropertyCount 的陣列
已更新之搜尋屬性的索引鍵。 updatedLobbyPropertyCount   uint32_t 已更新的大廳屬性數目。 updatedLobbyPropertyKeys   const char* const*
大小為 updatedLobbyPropertyCount 的陣列
已更新之大廳屬性的索引鍵。 memberUpdateCount   uint32_t 大廳成員的更新數目。 memberUpdates   const PFLobbyMemberUpdateSummary*
大小為 memberUpdateCount 的陣列
成員更新的集合。 serverUpdated   bool 表示用戶端擁有之大廳的已加入伺服器是否已變更的旗標。 updatedServerPropertyCount   uint32_t 用戶端擁有之大廳的已加入伺服器已更新的屬性數目。 updatedServerPropertyKeys   const char* const*
大小為 updatedServerPropertyCount 的陣列
用戶端擁有之大廳的已加入伺服器已更新之屬性的索引鍵。 serverConnectionStatusUpdated   bool 表示大廳伺服器的連線狀態是否已變更的旗標。 restrictInvitesToLobbyOwnerUpdated   bool 表示大廳將邀請限制為大廳擁有者的原則是否已變更的旗標。

備註

此狀態變更表示大廳已更新,並提供有關哪些值已變更的提示。單次呼叫 PFMultiplayerStartProcessingLobbyStateChanges() 可能會提供多個更新。呼叫 PFMultiplayerStartProcessingLobbyStateChanges() 時,這些更新所反映的所有狀態會同時變為可用,因此可以個別或批次調和這些更新。

需求

標頭: PFLobby.h

另請參閱

PFLobby 成員
最後修改於 2026年10月8日