|
- using GamecraftModdingAPI.Commands;
- using Svelto.ECS;
-
- namespace ExtraCommands
- {
- [CustomCommand("ClearConsole")]
- public class ClearConsoleCommandEngine : ICustomCommandEngine
- {
- public void Ready()
- {
- CommandRegistrationHelper.Register("ClearConsole", uREPL.Window.ClearOutputCommand,
- "Clears the console output.");
- }
-
- public IEntitiesDB entitiesDB { get; set; }
- public void Dispose()
- {
- CommandRegistrationHelper.Unregister("ClearConsole");
- }
-
- public string Name { get; } = "ClearConsole";
- public string Description { get; } = "Clears the console output.";
- }
- }
|