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

# PFLobbyUpdatedStateChange

> PlayFab Multiplayer Updated 狀態變更的詳細資料，在大廳的共用或成員資料已修改且用戶端應重新整理狀態時引發。

*Updated* 類型狀態變更的特定資訊。

## 語法

```cpp theme={null}
struct PFLobbyUpdatedStateChange : PFLobbyStateChange {  
    PFLobbyHandle lobby;  
    bool ownerUpdated;  
    bool maxMembersUpdated;  
    bool accessPolicyUpdated;  
    bool membershipLockUpdated;  
    uint32_t updatedSearchPropertyCount;  
    const char* const* updatedSearchPropertyKeys;  
    uint32_t updatedLobbyPropertyCount;  
    const char* const* updatedLobbyPropertyKeys;  
    uint32_t memberUpdateCount;  
    const PFLobbyMemberUpdateSummary* memberUpdates;  
    bool serverUpdated;  
    uint32_t updatedServerPropertyCount;  
    const char* const* updatedServerPropertyKeys;  
    bool serverConnectionStatusUpdated;  
    bool restrictInvitesToLobbyOwnerUpdated;  
}  
```

### 成員

**`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](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/structs/pflobbymemberupdatesummary)\*\
*大小為 `memberUpdateCount` 的陣列*

成員更新的集合。

**`serverUpdated`**   bool

表示用戶端擁有之大廳的已加入伺服器是否已變更的旗標。

**`updatedServerPropertyCount`**   uint32\_t

用戶端擁有之大廳的已加入伺服器已更新的屬性數目。

**`updatedServerPropertyKeys`**   const char\* const\*\
*大小為 `updatedServerPropertyCount` 的陣列*

用戶端擁有之大廳的已加入伺服器已更新之屬性的索引鍵。

**`serverConnectionStatusUpdated`**   bool

表示大廳伺服器的連線狀態是否已變更的旗標。

**`restrictInvitesToLobbyOwnerUpdated`**   bool

表示大廳將邀請限制為大廳擁有者的原則是否已變更的旗標。

## 備註

此狀態變更表示大廳已更新，並提供有關哪些值已變更的提示。單次呼叫 [PFMultiplayerStartProcessingLobbyStateChanges()](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerstartprocessinglobbystatechanges) 可能會提供多個更新。呼叫 PFMultiplayerStartProcessingLobbyStateChanges() 時，這些更新所反映的所有狀態會同時變為可用，因此可以個別或批次調和這些更新。

## 需求

**標頭：** PFLobby.h

## 另請參閱

[PFLobby 成員](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

- [PFLobbyGetOwner](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetowner.md)
- [PFLobbyGetMembershipLock](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetmembershiplock.md)
- [PFLobbyGetAccessPolicy](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetaccesspolicy.md)
- [PFLobbyGetMaxMemberCount](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetmaxmembercount.md)
- [PFLobbyGetRestrictInvitesToLobbyOwner](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetrestrictinvitestolobbyowner.md)
