Field | Type | Required | Description | Example |
---|---|---|---|---|
Visibility |
components.LobbyVisibility | ✔️ | Types of lobbies a player can create.private : the player who created the room must share the roomId with their friendspublic : visible in the public lobby list, anyone can joinlocal : for testing with a server running locally |
private |
RoomConfig |
*string | ➖ | Optional configuration parameters for the room. Can be any string including stringified JSON. It is accessible from the room via GetRoomInfo() . |
{"name":"my-room"} |
Region |
components.Region | ✔️ | N/A |