public interface IConsoleCommandManagerRegisters console commands owned by the current mod.
Members
AddRegisters a command whose usage is just its name.methodAddRegisters a command with explicit usage text.methodAddRegisters a command with catalog metadata and optional aliases.methodRemoveRemoves a command previously registered by the current mod.methodAdd
methodvoid Add( string name, string description, ConsoleCommandHandler handler )Registers a command whose usage is just its name.
Add
methodvoid Add( string name, string description, string usage, ConsoleCommandHandler handler )Registers a command with explicit usage text.
Add
methodvoid Add( string name, string description, ConsoleCommandOptions options, ConsoleCommandHandler handler )Registers a command with catalog metadata and optional aliases.
Remove
methodbool Remove(string name)Removes a command previously registered by the current mod.