123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> mountTrain </summary>
- public sealed class mountTrainTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 功能id部位*1000+部位等级 </summary>
- public int Id { get; private set; }
- /// <summary> 坐骑部位类型1=头部2=躯干3=尾部 </summary>
- public int Type { get; private set; }
- /// <summary> 部位等级 </summary>
- public int Level { get; private set; }
- /// <summary> 升级获得属性加成属性id,属性数值 </summary>
- public int[] LevelOwnAttr { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Type = reader.ReadInt();
- Level = reader.ReadInt();
- LevelOwnAttr = reader.ReadEnumerable<int[]>();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Type);
- writer.Write(Level);
- writer.Write(LevelOwnAttr);
- }
- }
- }
|