T_MSCLoader_ConsoleCommand - piotrulos/MSCModLoader GitHub Wiki

ConsoleCommand Class

Base class for console commands

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346

C#

public abstract class ConsoleCommand

View Source

Inheritance Object → ConsoleCommand

Properties

Alias Alternate command name that does the same thing. Cannot contain spaces!
Help The help message that will be displayed for the command when the user types "help"
Name The name of the ConsoleCommand (What the user will have to type in console to trigger the command). Cannot contain spaces!
ShowInHelp Show this command in help screen. (Default true).

Methods

Add Adds a console command.
Run The function that will get called when the command is ran.

See Also

Reference

MSCLoader Namespace

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