// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// mountStar public sealed class mountStarTable : ITable { long ITable.Key => Id; /// id100*坐骑id+星级 public int Id { get; private set; } /// 坐骑id public int MountId { get; private set; } /// 星级 public int Star { get; private set; } /// 升星道具道具id,升星所需数量 public int[] StarUpCost { get; private set; } /// 升星获得属性加成属性id,属性数值 public int[] LevelOwnAttr { get; private set; } /// 额外坐骑技能技能id public int StarSkill { get; private set; } /// 升星预览1=展示额外技能效果属性不配置=不展示 public int Preview { get; private set; } // c void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); MountId = reader.ReadInt(); Star = reader.ReadInt(); StarUpCost = reader.ReadEnumerable(); LevelOwnAttr = reader.ReadEnumerable(); StarSkill = reader.ReadInt(); Preview = reader.ReadInt(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(MountId); writer.Write(Star); writer.Write(StarUpCost); writer.Write(LevelOwnAttr); writer.Write(StarSkill); writer.Write(Preview); } } }