Editar

Compartir a través de


PFLobbyUpdatedStateChange

Information specific to the Updated type of state change.

Syntax

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

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

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(). 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