S-士兵-等级.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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_level.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": "ArmLevelCfg.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": "ConscriptNumSecond",
  69. "side": "cs",
  70. "type_sjson": "int",
  71. "type_go": "int32",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "征兵消耗材料",
  77. "name": "ConscriptCostItems",
  78. "side": "cs",
  79. "type_sjson": "array",
  80. "type_go": "types.Assets",
  81. "type_cjson": "string",
  82. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  83. },
  84. {
  85. "key": "城外征兵消耗",
  86. "name": "OutsideConscriptCosts",
  87. "side": "cs",
  88. "type_sjson": "array",
  89. "type_go": "types.Assets",
  90. "type_cjson": "string",
  91. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  92. },
  93. {
  94. "key": "升级消耗材料",
  95. "name": "UpgradeCostItems",
  96. "side": "cs",
  97. "type_sjson": "array",
  98. "type_go": "types.Assets",
  99. "type_cjson": "string",
  100. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  101. },
  102. {
  103. "key": "升级后士兵ID",
  104. "name": "UpArmID",
  105. "side": "cs",
  106. "type_sjson": "int",
  107. "type_go": "int32",
  108. "type_cjson": "int",
  109. "type_csharp": "int"
  110. },
  111. {
  112. "key": "步兵加成",
  113. "name": "InfantryAttr",
  114. "side": "cs",
  115. "type_sjson": "array",
  116. "type_go": "types.Attrs",
  117. "type_cjson": "string",
  118. "type_csharp": "string"
  119. },
  120. {
  121. "key": "骑兵加成",
  122. "name": "CavalryAttr",
  123. "side": "cs",
  124. "type_sjson": "array",
  125. "type_go": "types.Attrs",
  126. "type_cjson": "string",
  127. "type_csharp": "string"
  128. },
  129. {
  130. "key": "弓兵加成",
  131. "name": "ArcherAttr",
  132. "side": "cs",
  133. "type_sjson": "array",
  134. "type_go": "types.Attrs",
  135. "type_cjson": "string",
  136. "type_csharp": "string"
  137. },
  138. {
  139. "key": "士兵等级图标",
  140. "name": "LevelIcon",
  141. "side": "c",
  142. "type_cjson": "string",
  143. "type_csharp": "string"
  144. }
  145. ]
  146. }
  147. ]
  148. }
  149. ]