D-地图-对象.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. [
  2. {
  3. "excel_file_name": "D-地图-对象.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 1,
  8. "outputs": [
  9. {
  10. "enable": false,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "map_object.json",
  14. "gen_codes": [
  15. {
  16. "read_type": "type_go"
  17. }
  18. ]
  19. },
  20. {
  21. "enable": false,
  22. "read_type": "type_cjson",
  23. "parser_id": "table_list",
  24. "file_name": "MapObjectCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ConfigID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "配置ID",
  41. "name": "ConfigID",
  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": "Type",
  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": "CanMarchOccupy",
  78. "side": "cs",
  79. "type_sjson": "bool",
  80. "type_go": "bool",
  81. "type_cjson": "bool",
  82. "type_csharp": "bool"
  83. },
  84. {
  85. "key": "是否可行军",
  86. "name": "CanMarchStay",
  87. "side": "cs",
  88. "type_sjson": "bool",
  89. "type_go": "bool",
  90. "type_cjson": "bool",
  91. "type_csharp": "bool"
  92. },
  93. {
  94. "key": "是否可调动",
  95. "name": "CanDeployed",
  96. "side": "cs",
  97. "type_sjson": "bool",
  98. "type_go": "bool",
  99. "type_cjson": "bool",
  100. "type_csharp": "bool"
  101. },
  102. {
  103. "key": "是否可征兵",
  104. "name": "CanConscription",
  105. "side": "cs",
  106. "type_sjson": "bool",
  107. "type_go": "bool",
  108. "type_cjson": "bool",
  109. "type_csharp": "bool"
  110. },
  111. {
  112. "key": "是否可驻守",
  113. "name": "CanMarchGarrison",
  114. "side": "cs",
  115. "type_sjson": "bool",
  116. "type_go": "bool",
  117. "type_cjson": "bool",
  118. "type_csharp": "bool"
  119. },
  120. {
  121. "key": "是否可采集",
  122. "name": "CanMarchGather",
  123. "side": "cs",
  124. "type_sjson": "bool",
  125. "type_go": "bool",
  126. "type_cjson": "bool",
  127. "type_csharp": "bool"
  128. },
  129. {
  130. "key": "是否可掠夺",
  131. "name": "CanMarchSnatch",
  132. "side": "cs",
  133. "type_sjson": "bool",
  134. "type_go": "bool",
  135. "type_cjson": "bool",
  136. "type_csharp": "bool"
  137. },
  138. {
  139. "key": "是否可攻城",
  140. "name": "CanMarchAttack",
  141. "side": "cs",
  142. "type_sjson": "bool",
  143. "type_go": "bool",
  144. "type_cjson": "bool",
  145. "type_csharp": "bool"
  146. },
  147. {
  148. "key": "奇数列偏移",
  149. "name": "OffsetOdd",
  150. "side": "cs",
  151. "type_sjson": "array",
  152. "type_go": "types.Points",
  153. "type_cjson": "string",
  154. "type_csharp": "string"
  155. },
  156. {
  157. "key": "偶数列偏移",
  158. "name": "OffsetEven",
  159. "side": "cs",
  160. "type_sjson": "array",
  161. "type_go": "types.Points",
  162. "type_cjson": "string",
  163. "type_csharp": "string"
  164. },
  165. {
  166. "key": "模型-草地",
  167. "name": "Model1",
  168. "side": "c",
  169. "type_sjson": "string",
  170. "type_go": "string",
  171. "type_cjson": "string",
  172. "type_csharp": "string"
  173. },
  174. {
  175. "key": "模型-雪地",
  176. "name": "Model2",
  177. "side": "c",
  178. "type_sjson": "string",
  179. "type_go": "string",
  180. "type_cjson": "string",
  181. "type_csharp": "string"
  182. },
  183. {
  184. "key": "模型-沙漠",
  185. "name": "Model3",
  186. "side": "c",
  187. "type_sjson": "string",
  188. "type_go": "string",
  189. "type_cjson": "string",
  190. "type_csharp": "string"
  191. }
  192. ]
  193. }
  194. ]
  195. }
  196. ]