Moar Gamecraft commands!
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

24 satır
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. }