D-地图-城池.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. [
  2. {
  3. "excel_file_name": "D-地图-城池.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 2,
  8. "outputs": [
  9. {
  10. "enable": true,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "map_castle.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": "MapCastleCfg.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": "地图ID",
  59. "name": "MapID",
  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": "CityType",
  69. "side": "c",
  70. "type_sjson": "int",
  71. "type_go": "int32",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "城池类型Lang",
  77. "name": "CityTypeLang",
  78. "side": "c",
  79. "type_sjson": "string",
  80. "type_go": "string",
  81. "type_cjson": "string",
  82. "type_csharp": "string"
  83. },
  84. {
  85. "key": "城池子类型",
  86. "name": "CitySubType",
  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": "Level",
  96. "side": "cs",
  97. "type_sjson": "int",
  98. "type_go": "int32",
  99. "type_cjson": "int",
  100. "type_csharp": "int"
  101. },
  102. {
  103. "key": "驻城部队",
  104. "name": "GarrisonArmies",
  105. "side": "cs",
  106. "type_sjson": "array",
  107. "type_go": "types.Pair[int32,int]",
  108. "type_cjson": "string",
  109. "type_csharp": "string"
  110. },
  111. {
  112. "key": "驻守部队兵力",
  113. "name": "GarrisonArmiesTroops",
  114. "side": "cs",
  115. "type_sjson": "int",
  116. "type_go": "int32",
  117. "type_cjson": "int",
  118. "type_csharp": "int"
  119. },
  120. {
  121. "key": "调动数量",
  122. "name": "TransferNum",
  123. "side": "cs",
  124. "type_sjson": "int",
  125. "type_go": "int32",
  126. "type_cjson": "int",
  127. "type_csharp": "int"
  128. },
  129. {
  130. "key": "可城外征兵",
  131. "name": "CanOutsideConscript",
  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": "DefendArmy",
  141. "side": "cs",
  142. "type_sjson": "int",
  143. "type_go": "int32",
  144. "type_cjson": "int",
  145. "type_csharp": "int"
  146. },
  147. {
  148. "key": "驻城部队名字",
  149. "name": "GarrisonArmiesName",
  150. "side": "c",
  151. "type_sjson": "array",
  152. "type_go": "types.Pair[int32,int]",
  153. "type_cjson": "string",
  154. "type_csharp": "string"
  155. },
  156. {
  157. "key": "守军部队名字",
  158. "name": "DefendArmyName",
  159. "side": "c",
  160. "type_sjson": "array",
  161. "type_go": "types.Pair[int32,int]",
  162. "type_cjson": "string",
  163. "type_csharp": "string"
  164. },
  165. {
  166. "key": "耐久",
  167. "name": "Durability",
  168. "side": "cs",
  169. "type_sjson": "int",
  170. "type_go": "int32",
  171. "type_cjson": "int",
  172. "type_csharp": "int"
  173. },
  174. {
  175. "key": "是否有攻城排行",
  176. "name": "HasSiegeRank",
  177. "side": "cs",
  178. "type_sjson": "bool",
  179. "type_go": "bool",
  180. "type_cjson": "bool",
  181. "type_csharp": "bool"
  182. },
  183. {
  184. "key": "是否有攻城奖励",
  185. "name": "HasSiegeReward",
  186. "side": "cs",
  187. "type_sjson": "bool",
  188. "type_go": "bool",
  189. "type_cjson": "bool",
  190. "type_csharp": "bool"
  191. },
  192. {
  193. "key": "参与奖励",
  194. "name": "JoinRewards",
  195. "side": "cs",
  196. "type_sjson": "array",
  197. "type_go": "types.Assets",
  198. "type_cjson": "string",
  199. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  200. },
  201. {
  202. "key": "占领奖励",
  203. "name": "OccupyRewards",
  204. "side": "cs",
  205. "type_sjson": "array",
  206. "type_go": "types.Assets",
  207. "type_cjson": "string",
  208. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  209. },
  210. {
  211. "key": "霸业积分",
  212. "name": "SupremacyScore",
  213. "side": "cs",
  214. "type_sjson": "int",
  215. "type_go": "int32",
  216. "type_cjson": "int",
  217. "type_csharp": "int"
  218. },
  219. {
  220. "key": "全盟资源产量",
  221. "name": "LeagueResYield",
  222. "side": "cs",
  223. "type_sjson": "int",
  224. "type_go": "int64",
  225. "type_cjson": "int",
  226. "type_csharp": "int"
  227. },
  228. {
  229. "key": "辎重数量",
  230. "name": "BaggageNum",
  231. "side": "cs",
  232. "type_sjson": "int",
  233. "type_go": "int32",
  234. "type_cjson": "int",
  235. "type_csharp": "int"
  236. },
  237. {
  238. "key": "封印时间",
  239. "name": "SealTime",
  240. "side": "cs",
  241. "type_sjson": "int",
  242. "type_go": "int64",
  243. "type_cjson": "int",
  244. "type_csharp": "int"
  245. },
  246. {
  247. "key": "描述Lang",
  248. "name": "DescLang",
  249. "side": "c",
  250. "type_cjson": "string",
  251. "type_csharp": "string"
  252. },
  253. {
  254. "key": "领地半径",
  255. "name": "AreaRange",
  256. "side": "c",
  257. "type_sjson": "int",
  258. "type_go": "int32",
  259. "type_cjson": "int",
  260. "type_csharp": "int"
  261. },
  262. {
  263. "key": "占地奇数偏移",
  264. "name": "CoverOddOffsets",
  265. "side": "cs",
  266. "type_sjson": "array",
  267. "type_go": "types.Points",
  268. "type_cjson": "string",
  269. "type_csharp": "string"
  270. },
  271. {
  272. "key": "占地偶数偏移",
  273. "name": "CoverEvenOffsets",
  274. "side": "cs",
  275. "type_sjson": "array",
  276. "type_go": "types.Points",
  277. "type_cjson": "string",
  278. "type_csharp": "string"
  279. },
  280. {
  281. "key": "领土奇数偏移",
  282. "name": "AffectOddOffsets",
  283. "side": "cs",
  284. "type_sjson": "array",
  285. "type_go": "types.Points",
  286. "type_cjson": "string",
  287. "type_csharp": "string"
  288. },
  289. {
  290. "key": "领土偶数偏移",
  291. "name": "AffectEvenOffsets",
  292. "side": "cs",
  293. "type_sjson": "array",
  294. "type_go": "types.Points",
  295. "type_cjson": "string",
  296. "type_csharp": "string"
  297. },
  298. {
  299. "key": "领土外围一圈奇数偏移",
  300. "name": "AffectEdgeOddOffsets",
  301. "side": "cs",
  302. "type_sjson": "array",
  303. "type_go": "types.Points",
  304. "type_cjson": "string",
  305. "type_csharp": "string"
  306. },
  307. {
  308. "key": "领土外围一圈偶数偏移",
  309. "name": "AffectEdgeEvenOffsets",
  310. "side": "cs",
  311. "type_sjson": "array",
  312. "type_go": "types.Points",
  313. "type_cjson": "string",
  314. "type_csharp": "string"
  315. },
  316. {
  317. "key": "攻城点奇数偏移",
  318. "name": "SiegeOddOffsets",
  319. "side": "cs",
  320. "type_sjson": "array",
  321. "type_go": "types.Points",
  322. "type_cjson": "string",
  323. "type_csharp": "string"
  324. },
  325. {
  326. "key": "攻城点偶数偏移",
  327. "name": "SiegeEvenOffsets",
  328. "side": "cs",
  329. "type_sjson": "array",
  330. "type_go": "types.Points",
  331. "type_cjson": "string",
  332. "type_csharp": "string"
  333. },
  334. {
  335. "key": "模型",
  336. "name": "Model",
  337. "side": "c",
  338. "type_sjson": "array",
  339. "type_go": "types.Points",
  340. "type_cjson": "string",
  341. "type_csharp": "string"
  342. },
  343. {
  344. "key": "模型角度",
  345. "name": "ModelAngle",
  346. "side": "c",
  347. "type_cjson": "int",
  348. "type_csharp": "int"
  349. },
  350. {
  351. "key": "信息页背景图",
  352. "name": "Image",
  353. "side": "c",
  354. "type_sjson": "string",
  355. "type_go": "string",
  356. "type_cjson": "string",
  357. "type_csharp": "string"
  358. },
  359. {
  360. "key": "预览图",
  361. "name": "PreImage",
  362. "side": "c",
  363. "type_cjson": "string",
  364. "type_csharp": "string"
  365. },
  366. {
  367. "key": "略缩图",
  368. "name": "Thumbnail",
  369. "side": "c",
  370. "type_sjson": "string",
  371. "type_go": "string",
  372. "type_cjson": "string",
  373. "type_csharp": "string"
  374. },
  375. {
  376. "key": "所属县ID",
  377. "name": "CountyID",
  378. "side": "c",
  379. "type_sjson": "int",
  380. "type_go": "int32",
  381. "type_cjson": "int",
  382. "type_csharp": "int"
  383. }
  384. ]
  385. }
  386. ]
  387. }
  388. ]