careerTable.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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> 主动技能 </summary>
  17. public int[] Skill { get; private set; }
  18. /// <summary> 被动技能 </summary>
  19. public int[] Passive_skill { get; private set; }
  20. /// <summary> 觉醒印记 </summary>
  21. public int[] Passive_imprint { get; private set; }
  22. /// <summary> 改变次数 </summary>
  23. public int Change_times { get; private set; }
  24. /// <summary> 职业进阶 </summary>
  25. public int[] Job_change { get; private set; }
  26. /// <summary> 模型 </summary>
  27. public int Model { get; private set; }
  28. /// <summary> 时装 </summary>
  29. public int[] Fashion { get; private set; }
  30. public int[] Recommend_skill { get; private set; }
  31. public string Recommend_pet { get; private set; }
  32. public int[] Transmog_list { get; private set; }
  33. public int[] Default_transomg { get; private set; }
  34. public int[] Arms_icon { get; private set; }
  35. public string Arms_name { get; private set; }
  36. public string Arms_desc { get; private set; }
  37. public string Job_desc { get; private set; }
  38. public int Front_job { get; private set; }
  39. /// <summary> 解锁等级 </summary>
  40. public int Unlock { get; private set; }
  41. public int Scale { get; private set; }
  42. public int[] Position { get; private set; }
  43. public string Job_icon { get; private set; }
  44. public int Skin { get; private set; }
  45. void ISerializable.Deserialize(IReader reader)
  46. {
  47. Id = reader.ReadInt();
  48. Name = reader.ReadString();
  49. Type = reader.ReadInt();
  50. Job_pos = reader.ReadString();
  51. Desc = reader.ReadString();
  52. Skill = reader.ReadEnumerable<int[]>();
  53. Passive_skill = reader.ReadEnumerable<int[]>();
  54. Passive_imprint = reader.ReadEnumerable<int[]>();
  55. Change_times = reader.ReadInt();
  56. Job_change = reader.ReadEnumerable<int[]>();
  57. Model = reader.ReadInt();
  58. Fashion = reader.ReadEnumerable<int[]>();
  59. Recommend_skill = reader.ReadEnumerable<int[]>();
  60. Recommend_pet = reader.ReadString();
  61. Transmog_list = reader.ReadEnumerable<int[]>();
  62. Default_transomg = reader.ReadEnumerable<int[]>();
  63. Arms_icon = reader.ReadEnumerable<int[]>();
  64. Arms_name = reader.ReadString();
  65. Arms_desc = reader.ReadString();
  66. Job_desc = reader.ReadString();
  67. Front_job = reader.ReadInt();
  68. Unlock = reader.ReadInt();
  69. Scale = reader.ReadInt();
  70. Position = reader.ReadEnumerable<int[]>();
  71. Job_icon = reader.ReadString();
  72. Skin = reader.ReadInt();
  73. }
  74. void ISerializable.Serialize(IWriter writer)
  75. {
  76. writer.Write(Id);
  77. writer.Write(Name);
  78. writer.Write(Type);
  79. writer.Write(Job_pos);
  80. writer.Write(Desc);
  81. writer.Write(Skill);
  82. writer.Write(Passive_skill);
  83. writer.Write(Passive_imprint);
  84. writer.Write(Change_times);
  85. writer.Write(Job_change);
  86. writer.Write(Model);
  87. writer.Write(Fashion);
  88. writer.Write(Recommend_skill);
  89. writer.Write(Recommend_pet);
  90. writer.Write(Transmog_list);
  91. writer.Write(Default_transomg);
  92. writer.Write(Arms_icon);
  93. writer.Write(Arms_name);
  94. writer.Write(Arms_desc);
  95. writer.Write(Job_desc);
  96. writer.Write(Front_job);
  97. writer.Write(Unlock);
  98. writer.Write(Scale);
  99. writer.Write(Position);
  100. writer.Write(Job_icon);
  101. writer.Write(Skin);
  102. }
  103. }
  104. }