Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

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

Malware edited this page Dec 13, 2025 · 15 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

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