12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> zuoqiBuwei </summary>
- public sealed class zuoqiBuweiTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id10001=头部20001=躯干30001=尾部 </summary>
- public int Id { get; private set; }
- /// <summary> 功能id10001=头部20001=躯干30001=尾部 </summary>
- public int Trunk { get; private set; }
- /// <summary> 部位等级 </summary>
- public int Level { get; private set; }
- /// <summary> 升级获得属性加成属性id+属性数值 </summary>
- public int[] LevelOwnAttr { get; private set; }
- /// <summary> 强化概率(部位总等级+强化概率) </summary>
- public int[] Odds { get; private set; }
- /// <summary> 祝福值 </summary>
- public int Success { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Trunk = reader.ReadInt();
- Level = reader.ReadInt();
- LevelOwnAttr = reader.ReadEnumerable<int[]>();
- Odds = reader.ReadEnumerable<int[]>();
- Success = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Trunk);
- writer.Write(Level);
- writer.Write(LevelOwnAttr);
- writer.Write(Odds);
- writer.Write(Success);
- }
- }
- }
|