EpigraphAttributes.cs 571 B

123456789101112131415161718192021222324252627
  1. using XGame.Framework.Interfaces;
  2. namespace FL.Data
  3. {
  4. public class EpigraphAttributes : IReference
  5. {
  6. public int id { get; private set; }
  7. public int starLv { get; private set; }
  8. public int partnerId { get; private set; }
  9. public void Init(int id, int starLv, int partnerId)
  10. {
  11. this.id = id;
  12. this.starLv = starLv;
  13. this.partnerId = partnerId;
  14. }
  15. void IReference.Clear()
  16. {
  17. id = 0;
  18. starLv = 0;
  19. partnerId = 0;
  20. }
  21. }
  22. }