Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRage.Game.ModAPI.Ingame.Utilities.MyCommandLine.Switch

Malware edited this page May 4, 2019 · 14 revisions

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

Clone this wiki locally