12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> artifactYuansu </summary>
- public sealed class artifactYuansuTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> id1000*元素类型+品质*100+1 </summary>
- public int Id { get; private set; }
- /// <summary> 元素核心类型1=风2=火3=雷4=冰5=毒 </summary>
- public int Type { get; private set; }
- /// <summary> 元素核心品质类型1=白2=绿3=蓝4=紫5=橙6=红 </summary>
- public int Quality { get; private set; }
- /// <summary> 元素核心名称 </summary>
- public string Name { get; private set; }
- /// <summary> 秘宝元素佩戴属性(属性id+数值) </summary>
- public int[] Wear_attr { get; private set; }
- /// <summary> 部位(1=槽位1,2=槽位2,3=槽位3,4=槽位4,5=槽位5) </summary>
- 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<int[]>();
- 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);
- }
- }
- }
|