T_MSCLoader_ConsoleCommand - piotrulos/MSCModLoader GitHub Wiki
Base class for console commands
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346
C#
public abstract class ConsoleCommand
View Source
Inheritance | Object → ConsoleCommand |
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). |
Add | Adds a console command. |
Run | The function that will get called when the command is ran. |