> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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 成员](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)


## Related topics

- [PFMultiplayerJoinLobbyAsServer](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pfmultiplayerjoinlobbyasserver.md)
- [PFMultiplayer C/C++ API 概览 - PFLobby.h](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [LobbyServerJoinConfiguration 方法](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/LobbyServerJoinConfiguration.md)
- [LobbyServerJoinConfiguration.ServerProperties](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyServerJoinConfiguration/ServerProperties.md)
- [Join Lobby As Server](https://docs.xbox.com/api-reference/lobby/join-lobby-as-server.md)
