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

> Details of the Updated PlayFab Multiplayer state change, raised when a lobby's shared or member data has been modified and clients should refresh state.

Information specific to the *Updated* type of state change.

## Syntax

```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;  
}  
```

### Members

**`lobby`**   PFLobbyHandle\
*must not be null*

The lobby that updated.

**`ownerUpdated`**   bool

A flag indicating if the lobby's owner updated.

**`maxMembersUpdated`**   bool

A flag indicating if the maximum number of members allowed in the lobby updated.

**`accessPolicyUpdated`**   bool

A flag indicating if the lobby's access policy updated.

**`membershipLockUpdated`**   bool

A flag indicating if the lobby's membership lock updated.

**`updatedSearchPropertyCount`**   uint32\_t

The number of search properties that updated.

**`updatedSearchPropertyKeys`**   const char\* const\*\
*array of size `updatedSearchPropertyCount`*

The keys of the search properties that updated.

**`updatedLobbyPropertyCount`**   uint32\_t

The number of lobby properties that updated.

**`updatedLobbyPropertyKeys`**   const char\* const\*\
*array of size `updatedLobbyPropertyCount`*

The keys of the lobby properties that updated.

**`memberUpdateCount`**   uint32\_t

The number of updates to the lobby members.

**`memberUpdates`**   const [PFLobbyMemberUpdateSummary](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/structs/pflobbymemberupdatesummary)\*\
*array of size `memberUpdateCount`*

The set of member updates.

**`serverUpdated`**   bool

A flag indicating if a client-owned lobby's joined server changed.

**`updatedServerPropertyCount`**   uint32\_t

The number of properties that updated for a client-owned lobby's joined server.

**`updatedServerPropertyKeys`**   const char\* const\*\
*array of size `updatedServerPropertyCount`*

The keys of properties that updated for a client-owned lobby's joined server.

**`serverConnectionStatusUpdated`**   bool

A flag indicating whether the lobby server's connection status changed.

**`restrictInvitesToLobbyOwnerUpdated`**   bool

A flag indicating if the lobby's policy for restricting invites to the lobby owner changed.

## Remarks

This state change signifies that the lobby is updated and provides hints as to which values have changed. Multiple updates may be provided by a single call to [PFMultiplayerStartProcessingLobbyStateChanges()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerstartprocessinglobbystatechanges). All state reflected by these updates become available simultaneously when PFMultiplayerStartProcessingLobbyStateChanges() is called, so the updates can be reconciled either individually or as a batch.

## Requirements

**Header:** PFLobby.h

## See also

[PFLobby members](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

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