Class CreateRequest
The body of a Create Lobby request.
Inherited Members
Namespace: Unity.Services.Lobbies.Models
Assembly: solution.dll
Syntax
[Preserve]
public class CreateRequest
Constructors
| Name | Description |
|---|---|
| CreateRequest(string, int, bool?, bool?, Player, Dictionary<string, DataObject>, string) | The body of a Create Lobby request. |
Properties
| Name | Description |
|---|---|
| Data | Custom game-specific properties that apply to the lobby (e.g. |
| IsLocked | Whether or not the lobby is locked. If true, new players will not be able to join. |
| IsPrivate | Whether or not the lobby is private. Private lobbies do not appear in query results and cannot be fetched by non-members using the GetLobby API. If the lobby is not publicly visible, the creator can share the |
| MaxPlayers | The maximum number of players that can be members of the lobby. |
| Name | The name of the lobby that should be displayed to users. All whitespace will be trimmed from the name. |
| Password | The password for this lobby. If specified, the lobby will be created with HasPassword set to true. All joins will be rejected unless provided password matches. |
| Player | Parameter player of CreateRequest |