EpigraphAttributes.cs 647 B

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