BuffConfig.cs 383 B

123456789101112131415161718192021222324
  1. using MongoDB.Bson.Serialization.Attributes;
  2. namespace Model
  3. {
  4. [BsonIgnoreExtraElements]
  5. public class BuffConfig: AConfig
  6. {
  7. public string Name { get; set; }
  8. public int Duration { get; set; }
  9. public BuffConfig()
  10. {
  11. }
  12. public BuffConfig(long id): base(id)
  13. {
  14. }
  15. }
  16. [Config(AppType.Client | AppType.Gate)]
  17. public class BuffCategory: ACategory<BuffConfig>
  18. {
  19. }
  20. }