12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> mountLevel </summary>
- public sealed class mountLevelTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 序号ID10000+阶级*100+阶段等级 </summary>
- public int Id { get; private set; }
- /// <summary> 阶级 </summary>
- public int Step { get; private set; }
- /// <summary> 阶段等级 </summary>
- public int Level { get; private set; }
- /// <summary> 升级消耗道具id,经验值消耗 </summary>
- public int[] Cost { get; private set; }
- /// <summary> 升级属性属性id,属性数值 </summary>
- public int[] LevelAttr { get; private set; }
- /// <summary> 升阶属性[属性id,数值] </summary>
- public int[] StepAttr { get; private set; }
- /// <summary> 立绘 </summary>
- public string Picture { get; private set; } // c
- /// <summary> 坐骑头像 </summary>
- public string Icon { get; private set; } // c
- /// <summary> 坐骑待机 </summary>
- public string Spine { get; private set; } // c
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Step = reader.ReadInt();
- Level = reader.ReadInt();
- Cost = reader.ReadEnumerable<int[]>();
- LevelAttr = reader.ReadEnumerable<int[]>();
- StepAttr = reader.ReadEnumerable<int[]>();
- Picture = reader.ReadString();
- Icon = reader.ReadString();
- Spine = reader.ReadString();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Step);
- writer.Write(Level);
- writer.Write(Cost);
- writer.Write(LevelAttr);
- writer.Write(StepAttr);
- writer.Write(Picture);
- writer.Write(Icon);
- writer.Write(Spine);
- }
- }
- }
|