VRage.Game.ModAPI.Ingame.Utilities.MyCommandLine.Switch - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← MyCommandLine
public bool Switch(string name)
Determines whether the given switch is set. Switches are specified without their prefixed hyphen.
- string name
public string Switch(string name, int relativeArgument)
Gets an argument of a switch. For example, usingSwitch("key", 0)
on the command linesomeOtherArgument -key value
will returnvalue
.