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

# PFLobbyCreateConfiguration

> PlayFab Multiplayer ロビーを作成するときに使用する初期構成データ。最大メンバー数、アクセス ポリシー、検索可能プロパティなどを含みます。

ロビー作成時に使用する初期構成データ。

## 構文

```cpp theme={null}
struct PFLobbyCreateConfiguration {  
    uint32_t maxMemberCount;  
    PFLobbyOwnerMigrationPolicy ownerMigrationPolicy;  
    PFLobbyAccessPolicy accessPolicy;  
    uint32_t searchPropertyCount;  
    const char* const* searchPropertyKeys;  
    const char* const* searchPropertyValues;  
    uint32_t lobbyPropertyCount;  
    const char* const* lobbyPropertyKeys;  
    const char* const* lobbyPropertyValues;  
    bool restrictInvitesToLobbyOwner;  
}  
```

### メンバー

**`maxMemberCount`**   uint32\_t

新しいロビーで許容される最大メンバー数。

この値は `PFLobbyMaxMemberCountLowerLimit` 以上、`PFLobbyMaxMemberCountUpperLimit` 以下である必要があります。<br /><br /> クライアントが [PFMultiplayerJoinLobby()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerjoinlobby) や [PFLobbyAddMember](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbyaddmember) を呼び出してこの制限を超えようとした場合、操作は非同期に失敗します。

**`ownerMigrationPolicy`**   [PFLobbyOwnerMigrationPolicy](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/enums/pflobbyownermigrationpolicy)

新しいロビーのオーナー移行ポリシー。

[PFMultiplayerCreateAndJoinLobby()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayercreateandjoinlobby) に渡す場合、この値は `PFLobbyOwnerMigrationPolicy::Server` にできません。[PFMultiplayerCreateAndClaimServerLobby()](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayercreateandclaimserverlobby) に渡す場合、この値は `PFLobbyOwnerMigrationPolicy::Server` である必要があります。

**`accessPolicy`**   [PFLobbyAccessPolicy](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/enums/pflobbyaccesspolicy)

新しいロビーのアクセス ポリシー。

**`searchPropertyCount`**   uint32\_t

新しいロビーに対する初期検索プロパティの数。

**`searchPropertyKeys`**   const char\* const\*\
*サイズ `searchPropertyCount` の配列*

新しいロビーに対する初期検索プロパティのキー。

検索プロパティは、ロビーのメンバー以外にも、ロビー検索結果の絞り込みや並べ替えに使えるメタデータとして参照できます。<br /><br /> 検索プロパティは、string\_keyN または number\_keyN の形式である必要があります。ここで "N" は 1 以上 `PFLobbyMaxSearchPropertyCount` 以下の数値です (例: string\_key1、number\_key14 など)。<br />
**`searchPropertyValues`**   const char\* const\*\
*サイズ `searchPropertyCount` の配列*

新しいロビーに対する初期検索プロパティの値。

検索プロパティは、ロビーのメンバー以外にも、ロビー検索結果の絞り込みや並べ替えに使えるメタデータとして参照できます。

**`lobbyPropertyCount`**   uint32\_t

新しいロビーに対する初期ロビー プロパティの数。

**`lobbyPropertyKeys`**   const char\* const\*\
*サイズ `lobbyPropertyCount` の配列*

新しいロビーに対する初期ロビー プロパティのキー。

ロビー プロパティは、ロビーのメンバーのみから参照できます。

**`lobbyPropertyValues`**   const char\* const\*\
*サイズ `lobbyPropertyCount` の配列*

新しいロビーに対する初期ロビー プロパティの値。

ロビー プロパティは、ロビーのメンバーのみから参照できます。

**`restrictInvitesToLobbyOwner`**   bool

ロビー オーナーのみがロビー参加への招待を送信できるかどうかを示すポリシー。

true の場合は、ロビー オーナーのみが招待を送信できます。false の場合は、任意のメンバーが招待を送信できます。true に設定できるのは、クライアント所有のロビーの場合のみです。

## 要件

**ヘッダー:** PFLobby.h

## 関連項目

[PFLobby メンバー](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

- [PFMultiplayerCreateAndJoinLobby](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayercreateandjoinlobby.md)
- [PFMultiplayerCreateAndClaimServerLobby](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayercreateandclaimserverlobby.md)
- [PlayFab Multiplayer C++ SDK リリース ノート](/ja-jp/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-and-matchmaking-release-notes.md)
- [PFMultiplayer C/C++ API 概要 - PFLobby.h](/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [LobbyCreateConfiguration](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyCreateConfiguration/LobbyCreateConfiguration.md)
