careerTable.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. // Generate By EToy
  2. // Don't Edit It!!
  3. using XGame.Framework.Database;
  4. using XGame.Framework.Serialization;
  5. namespace XGame.Database
  6. {
  7. /// <summary> career </summary>
  8. public sealed class careerTable : ITable
  9. {
  10. long ITable.Key => Id;
  11. public int Id { get; private set; }
  12. public string Name { get; private set; }
  13. public int Type { get; private set; }
  14. public string Job_pos { get; private set; }
  15. public string Desc { get; private set; }
  16. /// <summary> 职业类型0=初始职业1=战士2=弓手3=法师 </summary>
  17. public int Careertype { get; private set; }
  18. /// <summary> 角色属性属性id+属性数值 </summary>
  19. public int[] Unfold { get; private set; }
  20. /// <summary> 主动技能等级+技能id </summary>
  21. public int[] Skill { get; private set; }
  22. /// <summary> 被动技能等级+技能id </summary>
  23. public int[] Passive_skill { get; private set; }
  24. /// <summary> 觉醒印记印记槽位+印记类型 </summary>
  25. public int[] Passive_imprint { get; private set; }
  26. /// <summary> 改变次数 </summary>
  27. public int Change_times { get; private set; }
  28. /// <summary> 职业进阶 </summary>
  29. public int[] Job_change { get; private set; }
  30. /// <summary> 模型 </summary>
  31. public int Model { get; private set; }
  32. /// <summary> 时装 </summary>
  33. public int[] Fashion { get; private set; }
  34. public int[] Recommend_skill { get; private set; }
  35. public string Recommend_pet { get; private set; }
  36. public int[] Transmog_list { get; private set; }
  37. public int[] Default_transomg { get; private set; }
  38. public int[] Arms_icon { get; private set; }
  39. public string Arms_name { get; private set; }
  40. public string Arms_desc { get; private set; }
  41. public string Job_desc { get; private set; }
  42. public int Front_job { get; private set; }
  43. /// <summary> 解锁等级 </summary>
  44. public int Unlock { get; private set; }
  45. public int Scale { get; private set; }
  46. public int[] Position { get; private set; }
  47. public string Job_icon { get; private set; }
  48. public int Skin { get; private set; }
  49. void ISerializable.Deserialize(IReader reader)
  50. {
  51. Id = reader.ReadInt();
  52. Name = reader.ReadString();
  53. Type = reader.ReadInt();
  54. Job_pos = reader.ReadString();
  55. Desc = reader.ReadString();
  56. Careertype = reader.ReadInt();
  57. Unfold = reader.ReadEnumerable<int[]>();
  58. Skill = reader.ReadEnumerable<int[]>();
  59. Passive_skill = reader.ReadEnumerable<int[]>();
  60. Passive_imprint = reader.ReadEnumerable<int[]>();
  61. Change_times = reader.ReadInt();
  62. Job_change = reader.ReadEnumerable<int[]>();
  63. Model = reader.ReadInt();
  64. Fashion = reader.ReadEnumerable<int[]>();
  65. Recommend_skill = reader.ReadEnumerable<int[]>();
  66. Recommend_pet = reader.ReadString();
  67. Transmog_list = reader.ReadEnumerable<int[]>();
  68. Default_transomg = reader.ReadEnumerable<int[]>();
  69. Arms_icon = reader.ReadEnumerable<int[]>();
  70. Arms_name = reader.ReadString();
  71. Arms_desc = reader.ReadString();
  72. Job_desc = reader.ReadString();
  73. Front_job = reader.ReadInt();
  74. Unlock = reader.ReadInt();
  75. Scale = reader.ReadInt();
  76. Position = reader.ReadEnumerable<int[]>();
  77. Job_icon = reader.ReadString();
  78. Skin = reader.ReadInt();
  79. }
  80. void ISerializable.Serialize(IWriter writer)
  81. {
  82. writer.Write(Id);
  83. writer.Write(Name);
  84. writer.Write(Type);
  85. writer.Write(Job_pos);
  86. writer.Write(Desc);
  87. writer.Write(Careertype);
  88. writer.Write(Unfold);
  89. writer.Write(Skill);
  90. writer.Write(Passive_skill);
  91. writer.Write(Passive_imprint);
  92. writer.Write(Change_times);
  93. writer.Write(Job_change);
  94. writer.Write(Model);
  95. writer.Write(Fashion);
  96. writer.Write(Recommend_skill);
  97. writer.Write(Recommend_pet);
  98. writer.Write(Transmog_list);
  99. writer.Write(Default_transomg);
  100. writer.Write(Arms_icon);
  101. writer.Write(Arms_name);
  102. writer.Write(Arms_desc);
  103. writer.Write(Job_desc);
  104. writer.Write(Front_job);
  105. writer.Write(Unlock);
  106. writer.Write(Scale);
  107. writer.Write(Position);
  108. writer.Write(Job_icon);
  109. writer.Write(Skin);
  110. }
  111. }
  112. }