Class LevelSetup
Represents the level seutp, as set up in the Level Settings UI.
Assembly: Assembly-CSharp.dll
Syntax
Properties
AllowCopyMachines
Whether copying machines of other players is allowed.
Declaration
public bool AllowCopyMachines { get; set; }
Property Value
AllowExcessPlayers
Whether additional player can join that have no build zones already placed.
Declaration
public bool AllowExcessPlayers { get; set; }
Property Value
BlockCountLimit
The maximum amount of blocks allowed on a machine.
Declaration
public int BlockCountLimit { get; set; }
Property Value
CurtainMode
Whether curtain mode is turned on.
Declaration
public bool CurtainMode { get; set; }
Property Value
Environment
Which environment is used in the level.
Declaration
public LevelSettings.LevelEnvironment Environment { get; set; }
Property Value
Type |
Description |
LevelSettings.LevelEnvironment |
|
HidePlayerLabels
Whether player labels should be hidden or shown.
Declaration
public bool HidePlayerLabels { get; set; }
Property Value
InternalObject
The internal representation of this object.
WARNING: This is not part of the stable API and subject to change!
Declaration
public LevelSettings InternalObject { get; }
Property Value
Type |
Description |
LevelSettings |
|
MaxPlayers
Maxmium amount of players that can play the level together.
Declaration
public int MaxPlayers { get; set; }
Property Value
MinPlayers
Minimum amount of players necessary to play the level.
Declaration
public int MinPlayers { get; set; }
Property Value
MusicID
The ID of the soundtrack playing in the level.
Declaration
public int MusicID { get; set; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
VoteMode
Whether vote mod is turned on.
Declaration
public bool VoteMode { get; set; }
Property Value
Methods
From(LevelSettings)
Declaration
public static LevelSetup From(LevelSettings settings)
Parameters
Type |
Name |
Description |
LevelSettings |
settings |
|
Returns
GetCurrent()
Declaration
public static LevelSetup GetCurrent()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides