Moar Gamecraft commands!
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
686B

  1. using GamecraftModdingAPI.Commands;
  2. using Svelto.ECS;
  3. namespace ExtraCommands
  4. {
  5. [CustomCommand("ClearConsole")]
  6. public class ClearConsoleCommandEngine : ICustomCommandEngine
  7. {
  8. public void Ready()
  9. {
  10. CommandRegistrationHelper.Register("ClearConsole", uREPL.Window.ClearOutputCommand,
  11. "Clears the console output.");
  12. }
  13. public IEntitiesDB entitiesDB { get; set; }
  14. public void Dispose()
  15. {
  16. CommandRegistrationHelper.Unregister("ClearConsole");
  17. }
  18. public string Name { get; } = "ClearConsole";
  19. public string Description { get; } = "Clears the console output.";
  20. }
  21. }