using XGame.Framework.Interfaces; namespace FL.Data { public class EpigraphAttributes : IReference { public int TableId { get; private set; } public long UID { get; set; } public int StarLv { get; private set; } public int PartnerId { get; private set; } public void SetData(int id, int starLv, int partnerId) { this.TableId = id; this.StarLv = starLv; this.PartnerId = partnerId; } void IReference.Clear() { TableId = 0; StarLv = 0; PartnerId = 0; UID = 0; } } }