// Generate By EToy // Don't Edit It!! using XGame.Framework.Database; using XGame.Framework.Serialization; namespace XGame.Database { /// career public sealed class careerTable : ITable { long ITable.Key => Id; public int Id { get; private set; } public string Name { get; private set; } public int Type { get; private set; } public string Job_pos { get; private set; } public string Desc { get; private set; } /// 职业类型0=初始职业1=战士2=弓手3=法师 public int Careertype { get; private set; } /// 角色属性属性id+属性数值 public int[] Unfold { get; private set; } /// 主动技能等级+技能id public int[] Skill { get; private set; } /// 被动技能等级+技能id public int[] Passive_skill { get; private set; } /// 觉醒印记印记槽位+印记类型 public int[] Passive_imprint { get; private set; } /// 改变次数 public int Change_times { get; private set; } /// 职业进阶 public int[] Job_change { get; private set; } /// 立绘 public int Picture { get; private set; } /// 模型 public int Model { get; private set; } /// 时装 public int[] Fashion { get; private set; } public int[] Recommend_skill { get; private set; } public string Recommend_pet { get; private set; } public int[] Transmog_list { get; private set; } public int[] Default_transomg { get; private set; } public int[] Arms_icon { get; private set; } public string Arms_name { get; private set; } public string Arms_desc { get; private set; } public string Job_desc { get; private set; } public int Front_job { get; private set; } /// 解锁等级 public int Unlock { get; private set; } public int Scale { get; private set; } public int[] Position { get; private set; } public string Job_icon { get; private set; } public int Skin { get; private set; } void ISerializable.Deserialize(IReader reader) { Id = reader.ReadInt(); Name = reader.ReadString(); Type = reader.ReadInt(); Job_pos = reader.ReadString(); Desc = reader.ReadString(); Careertype = reader.ReadInt(); Unfold = reader.ReadEnumerable(); Skill = reader.ReadEnumerable(); Passive_skill = reader.ReadEnumerable(); Passive_imprint = reader.ReadEnumerable(); Change_times = reader.ReadInt(); Job_change = reader.ReadEnumerable(); Picture = reader.ReadInt(); Model = reader.ReadInt(); Fashion = reader.ReadEnumerable(); Recommend_skill = reader.ReadEnumerable(); Recommend_pet = reader.ReadString(); Transmog_list = reader.ReadEnumerable(); Default_transomg = reader.ReadEnumerable(); Arms_icon = reader.ReadEnumerable(); Arms_name = reader.ReadString(); Arms_desc = reader.ReadString(); Job_desc = reader.ReadString(); Front_job = reader.ReadInt(); Unlock = reader.ReadInt(); Scale = reader.ReadInt(); Position = reader.ReadEnumerable(); Job_icon = reader.ReadString(); Skin = reader.ReadInt(); } void ISerializable.Serialize(IWriter writer) { writer.Write(Id); writer.Write(Name); writer.Write(Type); writer.Write(Job_pos); writer.Write(Desc); writer.Write(Careertype); writer.Write(Unfold); writer.Write(Skill); writer.Write(Passive_skill); writer.Write(Passive_imprint); writer.Write(Change_times); writer.Write(Job_change); writer.Write(Picture); writer.Write(Model); writer.Write(Fashion); writer.Write(Recommend_skill); writer.Write(Recommend_pet); writer.Write(Transmog_list); writer.Write(Default_transomg); writer.Write(Arms_icon); writer.Write(Arms_name); writer.Write(Arms_desc); writer.Write(Job_desc); writer.Write(Front_job); writer.Write(Unlock); writer.Write(Scale); writer.Write(Position); writer.Write(Job_icon); writer.Write(Skin); } } }