Skip to content

ConsoleCommands

Tommo J. Phillips edited this page Oct 22, 2023 · 3 revisions

ConsoleCommands

Namespace: TommoJProductions.ModApi

Represents all console commands for modapi.

public class ConsoleCommands : MSCLoader.ConsoleCommand

Inheritance Object → ConsoleCommand → ConsoleCommands

Properties

Name

Represents the name of the base command.

public virtual string Name { get; }

Property Value

String

Help

Represents the base help message.

public virtual string Help { get; }

Property Value

String

ShowInHelp

public virtual bool ShowInHelp { get; }

Property Value

Boolean

Alias

public virtual string Alias { get; }

Property Value

String

Constructors

ConsoleCommands()

public ConsoleCommands()

Methods

invokeRun(String[])

invokes the method.

public void invokeRun(String[] args)

Parameters

args String[]

Run(String[])

Represents the main entry for the command.

public virtual void Run(String[] args)

Parameters

args String[]
arguments passed to command

Clone this wiki locally