Buff.cs 423 B

12345678910111213141516171819202122
  1. using Common.Base;
  2. namespace Model
  3. {
  4. public class Buff: Object
  5. {
  6. private int ConfigId { get; set; }
  7. public Buff(int configId)
  8. {
  9. this.ConfigId = configId;
  10. }
  11. public BuffConfig Config
  12. {
  13. get
  14. {
  15. return World.Instance.ConfigManager.Get<BuffConfig>(this.ConfigId);
  16. }
  17. }
  18. }
  19. }