123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> career </summary>
- 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; }
- /// <summary> 职业类型0=初始职业1=战士2=弓手3=法师 </summary>
- public int Careertype { get; private set; }
- /// <summary> 角色属性属性id+属性数值 </summary>
- public int[] Unfold { get; private set; }
- /// <summary> 主动技能等级+技能id </summary>
- public int[] Skill { get; private set; }
- /// <summary> 被动技能等级+技能id </summary>
- public int[] Passive_skill { get; private set; }
- /// <summary> 觉醒印记印记槽位+印记类型 </summary>
- public int[] Passive_imprint { get; private set; }
- /// <summary> 改变次数 </summary>
- public int Change_times { get; private set; }
- /// <summary> 职业进阶 </summary>
- public int[] Job_change { get; private set; }
- /// <summary> 立绘 </summary>
- public int Picture { get; private set; }
- /// <summary> 模型 </summary>
- public int Model { get; private set; }
- /// <summary> 时装 </summary>
- 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; }
- /// <summary> 解锁等级 </summary>
- 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<int[]>();
- Skill = reader.ReadEnumerable<int[]>();
- Passive_skill = reader.ReadEnumerable<int[]>();
- Passive_imprint = reader.ReadEnumerable<int[]>();
- Change_times = reader.ReadInt();
- Job_change = reader.ReadEnumerable<int[]>();
- Picture = reader.ReadInt();
- Model = reader.ReadInt();
- Fashion = reader.ReadEnumerable<int[]>();
- Recommend_skill = reader.ReadEnumerable<int[]>();
- Recommend_pet = reader.ReadString();
- Transmog_list = reader.ReadEnumerable<int[]>();
- Default_transomg = reader.ReadEnumerable<int[]>();
- Arms_icon = reader.ReadEnumerable<int[]>();
- 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<int[]>();
- 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);
- }
- }
- }
|