Moar Gamecraft commands!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 line
456B

  1. using System;
  2. namespace ExtraCommands
  3. {
  4. [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
  5. public class CustomCommandAttribute: Attribute
  6. {
  7. public string Name { get; protected set; }
  8. public string Description { get; protected set; }
  9. public CustomCommandAttribute(string name, string description = "")
  10. {
  11. this.Name = name;
  12. this.Description = description;
  13. }
  14. }
  15. }