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

# PFLobbyServerJoinConfiguration

> 遊戲伺服器加入用戶端擁有之 PlayFab Multiplayer 大廳時使用的初始設定資料，包括初始伺服器屬性和搜尋資料。

以伺服器身分加入用戶端擁有的大廳時使用的初始設定資料。

## 語法

```cpp theme={null}
struct PFLobbyServerJoinConfiguration {  
    uint32_t serverPropertyCount;  
    const char* const* serverPropertyKeys;  
    const char* const* serverPropertyValues;  
}  
```

### 成員

**`serverPropertyCount`**   uint32\_t

加入大廳之伺服器的初始屬性數目。

在任何指定時間，最多只能有 `PFLobbyMaxServerPropertyCount` 個並行屬性。

**`serverPropertyKeys`**   const char\* const\*\
*大小為 `serverPropertyCount` 的陣列*

加入大廳之伺服器的初始屬性索引鍵。

**`serverPropertyValues`**   const char\* const\*\
*大小為 `serverPropertyCount` 的陣列*

加入大廳之伺服器的初始屬性值。

## 需求

**標頭：** PFLobby.h

## 另請參閱

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


## Related topics

- [PFMultiplayerJoinLobbyAsServer](/zh-TW/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerjoinlobbyasserver.md)
- [LobbyServerJoinConfiguration method](/zh-TW/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/LobbyServerJoinConfiguration.md)
- [LobbyServerJoinConfiguration 類別](/zh-TW/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/overview.md)
- [LobbyServerJoinConfiguration.ServerProperties](/zh-TW/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/ServerProperties.md)
- [Join Lobby As Server](/api-reference/lobby/join-lobby-as-server.md)
