1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // 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; }
- /// <summary> 立绘 </summary>
- public string Picture { get; private set; }
- /// <summary> 元素解锁道具id+道具数量 </summary>
- 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<int[]>();
- Trunk = reader.ReadInt();
- Picture = reader.ReadString();
- Unlock = reader.ReadEnumerable<int[]>();
- }
- 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);
- }
- }
- }
|