careerTable.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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 Picture { get; private set; }
  32. /// <summary> 模型 </summary>
  33. public int Model { get; private set; }
  34. /// <summary> 时装 </summary>
  35. public int[] Fashion { get; private set; }
  36. public int[] Recommend_skill { get; private set; }
  37. public string Recommend_pet { get; private set; }
  38. public int[] Transmog_list { get; private set; }
  39. public int[] Default_transomg { get; private set; }
  40. public int[] Arms_icon { get; private set; }
  41. public string Arms_name { get; private set; }
  42. public string Arms_desc { get; private set; }
  43. public string Job_desc { get; private set; }
  44. public int Front_job { get; private set; }
  45. /// <summary> 解锁等级 </summary>
  46. public int Unlock { get; private set; }
  47. public int Scale { get; private set; }
  48. public int[] Position { get; private set; }
  49. public string Job_icon { get; private set; }
  50. public int Skin { get; private set; }
  51. void ISerializable.Deserialize(IReader reader)
  52. {
  53. Id = reader.ReadInt();
  54. Name = reader.ReadString();
  55. Type = reader.ReadInt();
  56. Job_pos = reader.ReadString();
  57. Desc = reader.ReadString();
  58. Careertype = reader.ReadInt();
  59. Unfold = reader.ReadEnumerable<int[]>();
  60. Skill = reader.ReadEnumerable<int[]>();
  61. Passive_skill = reader.ReadEnumerable<int[]>();
  62. Passive_imprint = reader.ReadEnumerable<int[]>();
  63. Change_times = reader.ReadInt();
  64. Job_change = reader.ReadEnumerable<int[]>();
  65. Picture = reader.ReadInt();
  66. Model = reader.ReadInt();
  67. Fashion = reader.ReadEnumerable<int[]>();
  68. Recommend_skill = reader.ReadEnumerable<int[]>();
  69. Recommend_pet = reader.ReadString();
  70. Transmog_list = reader.ReadEnumerable<int[]>();
  71. Default_transomg = reader.ReadEnumerable<int[]>();
  72. Arms_icon = reader.ReadEnumerable<int[]>();
  73. Arms_name = reader.ReadString();
  74. Arms_desc = reader.ReadString();
  75. Job_desc = reader.ReadString();
  76. Front_job = reader.ReadInt();
  77. Unlock = reader.ReadInt();
  78. Scale = reader.ReadInt();
  79. Position = reader.ReadEnumerable<int[]>();
  80. Job_icon = reader.ReadString();
  81. Skin = reader.ReadInt();
  82. }
  83. void ISerializable.Serialize(IWriter writer)
  84. {
  85. writer.Write(Id);
  86. writer.Write(Name);
  87. writer.Write(Type);
  88. writer.Write(Job_pos);
  89. writer.Write(Desc);
  90. writer.Write(Careertype);
  91. writer.Write(Unfold);
  92. writer.Write(Skill);
  93. writer.Write(Passive_skill);
  94. writer.Write(Passive_imprint);
  95. writer.Write(Change_times);
  96. writer.Write(Job_change);
  97. writer.Write(Picture);
  98. writer.Write(Model);
  99. writer.Write(Fashion);
  100. writer.Write(Recommend_skill);
  101. writer.Write(Recommend_pet);
  102. writer.Write(Transmog_list);
  103. writer.Write(Default_transomg);
  104. writer.Write(Arms_icon);
  105. writer.Write(Arms_name);
  106. writer.Write(Arms_desc);
  107. writer.Write(Job_desc);
  108. writer.Write(Front_job);
  109. writer.Write(Unlock);
  110. writer.Write(Scale);
  111. writer.Write(Position);
  112. writer.Write(Job_icon);
  113. writer.Write(Skin);
  114. }
  115. }
  116. }