> ## 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 多人游戏大厅时使用的初始配置数据，包括初始服务器属性和搜索数据。

作为服务器加入客户端拥有的大厅时使用的初始配置数据。

## 语法

```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 成员](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

- [PFMultiplayerJoinLobbyAsServer](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerjoinlobbyasserver.md)
- [PFMultiplayer C/C++ API 概览 - PFLobby.h](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [LobbyServerJoinConfiguration method](/zh-CN/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/LobbyServerJoinConfiguration.md)
- [LobbyServerJoinConfiguration class](/zh-CN/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/overview.md)
- [LobbyServerJoinConfiguration.ServerProperties](/zh-CN/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/ServerProperties.md)
