S-士兵-兵种.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. [
  2. {
  3. "excel_file_name": "S-士兵-兵种.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 1,
  8. "outputs": [
  9. {
  10. "enable": true,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "arm_type.json",
  14. "gen_codes": [
  15. {
  16. "read_type": "type_go"
  17. }
  18. ]
  19. },
  20. {
  21. "enable": true,
  22. "read_type": "type_cjson",
  23. "parser_id": "table_list",
  24. "file_name": "ArmsTypeCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "兵种ID",
  41. "name": "ID",
  42. "side": "cs",
  43. "type_sjson": "int",
  44. "type_go": "int32",
  45. "type_cjson": "int",
  46. "type_csharp": "int"
  47. },
  48. {
  49. "key": "兵种名称Lang",
  50. "name": "NameLang",
  51. "side": "c",
  52. "type_sjson": "string",
  53. "type_go": "string",
  54. "type_cjson": "string",
  55. "type_csharp": "string"
  56. },
  57. {
  58. "key": "等级",
  59. "name": "Level",
  60. "side": "cs",
  61. "type_sjson": "int",
  62. "type_go": "int32",
  63. "type_cjson": "int",
  64. "type_csharp": "int"
  65. },
  66. {
  67. "key": "职业",
  68. "name": "Job",
  69. "side": "cs",
  70. "type_sjson": "int",
  71. "type_go": "int32",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "普攻ID",
  77. "name": "Skills",
  78. "side": "cs",
  79. "type_sjson": "array",
  80. "type_go": "types.List[int32]",
  81. "type_cjson": "array",
  82. "type_csharp": "uint[]"
  83. },
  84. {
  85. "key": "战斗计算等级",
  86. "name": "FightLevel",
  87. "side": "cs",
  88. "type_sjson": "int",
  89. "type_go": "int32",
  90. "type_cjson": "int",
  91. "type_csharp": "int"
  92. },
  93. {
  94. "key": "攻击",
  95. "name": "Attack",
  96. "side": "cs",
  97. "type_sjson": "int",
  98. "type_go": "int64",
  99. "type_cjson": "int",
  100. "type_csharp": "long"
  101. },
  102. {
  103. "key": "防御",
  104. "name": "Def",
  105. "side": "cs",
  106. "type_sjson": "int",
  107. "type_go": "int64",
  108. "type_cjson": "int",
  109. "type_csharp": "long"
  110. },
  111. {
  112. "key": "血量",
  113. "name": "Hp",
  114. "side": "cs",
  115. "type_sjson": "int",
  116. "type_go": "int64",
  117. "type_cjson": "int",
  118. "type_csharp": "long"
  119. }
  120. ,
  121. {
  122. "key": "攻击Lang",
  123. "name": "AttackV",
  124. "side": "c",
  125. "type_sjson": "int",
  126. "type_go": "int64",
  127. "type_cjson": "float",
  128. "type_csharp": "float"
  129. },
  130. {
  131. "key": "防御Lang",
  132. "name": "DefV",
  133. "side": "c",
  134. "type_cjson": "float",
  135. "type_csharp": "float"
  136. },
  137. {
  138. "key": "血量Lang",
  139. "name": "HpV",
  140. "side": "c",
  141. "type_cjson": "float",
  142. "type_csharp": "float"
  143. },
  144. {
  145. "key": "攻速",
  146. "name": "AttackSpeed",
  147. "side": "cs",
  148. "type_sjson": "int",
  149. "type_go": "int64",
  150. "type_cjson": "int",
  151. "type_csharp": "long"
  152. },
  153. {
  154. "key": "移速",
  155. "name": "MoveSpeed",
  156. "side": "cs",
  157. "type_sjson": "int",
  158. "type_go": "int64",
  159. "type_cjson": "int",
  160. "type_csharp": "long"
  161. },
  162. {
  163. "key": "负重",
  164. "name": "Weight",
  165. "side": "cs",
  166. "type_sjson": "int",
  167. "type_go": "int64",
  168. "type_cjson": "int",
  169. "type_csharp": "int"
  170. },
  171. {
  172. "key": "聚合值",
  173. "name": "AggValue",
  174. "side": "cs",
  175. "type_sjson": "int",
  176. "type_go": "int32",
  177. "type_cjson": "int",
  178. "type_csharp": "int"
  179. },
  180. {
  181. "key": "战场单位ID",
  182. "name": "BattleUnitID",
  183. "side": "c",
  184. "type_cjson": "uint",
  185. "type_csharp": "uint"
  186. },
  187. {
  188. "key": "模型名",
  189. "name": "AvatarName",
  190. "side": "c",
  191. "type_cjson": "string",
  192. "type_csharp": "string"
  193. },
  194. {
  195. "key": "坐标偏移",
  196. "name": "PosionOffset",
  197. "side": "c",
  198. "type_cjson": "string",
  199. "type_csharp": "Vector3, Vector3Converter"
  200. },
  201. {
  202. "key": "旋转偏移",
  203. "name": "RotationOffset",
  204. "side": "c",
  205. "type_cjson": "string",
  206. "type_csharp": "Vector3, Vector3Converter"
  207. },
  208. {
  209. "key": "模型缩放",
  210. "name": "LocalScale",
  211. "side": "c",
  212. "type_cjson": "string",
  213. "type_csharp": "Vector3, Vector3Converter"
  214. },
  215. {
  216. "key": "默认动作名",
  217. "name": "ActionName",
  218. "side": "c",
  219. "type_cjson": "string",
  220. "type_csharp": "string"
  221. }
  222. ]
  223. }
  224. ]
  225. }
  226. ]