BuffConfig.cs 541 B

123456789101112131415161718192021222324
  1. using System.Collections.Generic;
  2. using Common.Config;
  3. namespace Model
  4. {
  5. public class BuffConfig: AConfig
  6. {
  7. public BuffType Type { get; set; }
  8. public string Name { get; set; }
  9. public long Duration { get; set; }
  10. public int MaxStack { get; set; }
  11. public List<int> Effects { get; set; }
  12. public BuffConfig()
  13. {
  14. this.Effects = new List<int>();
  15. }
  16. }
  17. [Config]
  18. public class BuffCategory : ACategory<BuffConfig>
  19. {
  20. }
  21. }