// 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; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Type = reader.ReadInt(); Quality = reader.ReadInt(); Name = reader.ReadString(); Wear_attr = reader.ReadEnumerable(); Trunk = reader.ReadInt(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Type); writer.Write(Quality); writer.Write(Name); writer.Write(Wear_attr); writer.Write(Trunk); } } }