Class UpdateRequest
The body of an Update Lobby request.
Inherited Members
Namespace: Unity.Services.Lobbies.Models
Assembly: solution.dll
Syntax
[Preserve]
public class UpdateRequest
Constructors
Name | Description |
---|---|
UpdateRequest(string, int?, bool?, bool?, Dictionary<string, DataObject>, string, string) | The body of an Update Lobby request. |
Properties
Name | Description |
---|---|
Data | Custom game-specific properties to add, update, or remove from the lobby (e.g. |
HostId | The ID of the player to make the host of the lobby. As soon as this is updated, the current host will no longer have permission to modify the lobby. |
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. Must be greater than or equal to the current number of players in the lobby. |
Name | The name of the lobby that should be displayed to users. All whitespace will be trimmed from the name. |
Password | Updates the password for this lobby. If previously unspecified, HasPassword set to true. If becoming null, HasPassword will be set to false. All future joins will be rejected unless provided password matches. |