Class BaseConsoleCommand
Abstract base class for creating console commands. Inherit from this base class to auto-register a custom command in the API.
public abstract class BaseConsoleCommand
- Inheritance
-
BaseConsoleCommand
- Inherited Members
- Extension Methods
Constructors
BaseConsoleCommand()
protected BaseConsoleCommand()
Properties
CommandDescription
A brief description of what the command does.
public abstract string CommandDescription { get; }
Property Value
CommandWord
The command word that triggers this console command.
public abstract string CommandWord { get; }
Property Value
ExampleUsage
An example of how to use the command.
public abstract string ExampleUsage { get; }
Property Value
Methods
ExecuteCommand(List<string>)
Executes the command with the provided arguments.
public abstract void ExecuteCommand(List<string> args)