PFLobbyUpdatedStateChange

状態変更の Updated 型に固有の情報。

構文

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

メンバー

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 定数 PFLobbyMemberUpdateSummary*
サイズ memberUpdateCount の配列

メンバー更新プログラムのセット。

serverUpdated bool

クライアント所有のロビーに参加しているサーバーが変更されていることを示すフラグ。

updatedServerPropertyCount uint32_t

クライアント所有のロビーに参加しているサーバーに対して更新されたプロパティの数。

updatedServerPropertyKeys const char* const*
サイズ updatedServerPropertyCount の配列

クライアント所有のロビーに参加しているサーバーに対して更新されたプロパティのキー。

serverConnectionStatusUpdated bool

ロビー サーバーの接続状態が変更されていることを示すフラグ。

解説

この状態の変更は、ロビーが更新されたことを示し、どの値が変更されたかに関するヒントを提供します。 PFMultiplayerStartProcessingLobbyStateChanges()への 1 回の呼び出しによって、複数の更新プログラムが提供される場合があります。 これらの更新によって反映されるすべての状態は、PFMultiplayerStartProcessingLobbyStateChanges() が呼び出されると同時に使用可能になるため、更新を個別にまたはバッチとして調整できます。

要件

ヘッダー: PFLobby.h

関連項目

PFLobby メンバー