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