public sealed struct Sandbox.Network.LobbyConfig
Constructors
Showing 1 constructors
public LobbyConfig()
No results match this filter.
Properties
Showing 6 properties
public bool Sandbox.Network.LobbyConfig.AutoSwitchToBestHost { get; set; }
Whether to periodically switch to the best possible host candidate. This is only applicable to P2P lobbies.
public bool Sandbox.Network.LobbyConfig.DestroyWhenHostLeaves { get; set; }
Whether to automatically destroy this lobby when the host leaves. This is only applicable to P2P lobbies.
public bool Sandbox.Network.LobbyConfig.Hidden { get; set; }
Whether to hide this lobby from appearing in the server list. It will still be queryable programatically, so long as the `Sandbox.Network.LobbyConfig.Privacy` mode allows it.
public int Sandbox.Network.LobbyConfig.MaxPlayers { get; set; }
The maximum amount of players this lobby can hold. By default, this will be the Max Players set in the current Game Package's project settings.
public string Sandbox.Network.LobbyConfig.Name { get; set; }
The name of this lobby. If this isn't set, a default lobby name will be chosen instead.
public Sandbox.Network.LobbyPrivacy Sandbox.Network.LobbyConfig.Privacy { get; set; }
Determines who is able to connect to this lobby. This will be public by default.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Network |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Network.LobbyConfig |