// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// artifactYuansu public sealed class artifactYuansuTable : ITable { long ITable.Key => Id; /// id1000*元素类型+品质*100+1 public int Id { get; private set; } /// 元素核心类型1=火2=雷3=冰4=毒5=风 public int Type { get; private set; } /// 元素核心品质类型1=白2=绿3=蓝4=紫5=橙6=红 public int Quality { get; private set; } /// 元素核心名称 public string Name { get; private set; } /// 秘宝元素佩戴属性(穿戴效果)(属性id+数值) public int[] Wear_attr { get; private set; } /// 部位(1=槽位1,2=槽位2,3=槽位3,4=槽位4,5=槽位5) public int Trunk { get; private set; } /// 立绘 public string Picture { get; private set; } /// 元素解锁道具id+道具数量 public int[] Unlock { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Type = reader.ReadInt(); Quality = reader.ReadInt(); Name = reader.ReadString(); Wear_attr = reader.ReadEnumerable(); Trunk = reader.ReadInt(); Picture = reader.ReadString(); Unlock = reader.ReadEnumerable(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Type); writer.Write(Quality); writer.Write(Name); writer.Write(Wear_attr); writer.Write(Trunk); writer.Write(Picture); writer.Write(Unlock); } } }