API ReferenceSandbox
public static abstract sealed class Sandbox.LaunchArguments
These are arguments that were set when launching the current game. This is used to pre-configure the game from the menu
Properties
Showing 5 properties
public static System.Collections.Generic.Dictionary`2<string,string> Sandbox.LaunchArguments.GameSettings { get; set; }
The game settings to apply on join. These are a list of convars.
public static string Sandbox.LaunchArguments.Map { get; set; }
The map to start with. It's really up to the game to use this
public static int Sandbox.LaunchArguments.MaxPlayers { get; set; }
Preferred max players for multiplayer games. Used by games, but not enforced.
public static Sandbox.Network.LobbyPrivacy Sandbox.LaunchArguments.Privacy { get; set; }
Default privacy for lobbies created on game start.
public static string Sandbox.LaunchArguments.ServerName { get; set; }
The hostname for the server.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.LaunchArguments |