VRage.Game.ModAPI.Ingame.Utilities.MyCommandLine.Switch - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexMyCommandLine

Summary

public bool Switch(string name)

Determines whether the given switch is set. Switches are specified without their prefixed hyphen.

Returns

bool

Parameters

Summary

public string Switch(string name, int relativeArgument)

Gets an argument of a switch. For example, usingSwitch("key", 0)on the command linesomeOtherArgument -key valuewill returnvalue.

Returns

string

Parameters

⚠️ **GitHub.com Fallback** ⚠️