D-地图-建筑.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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_build.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": "MapBuildCfg.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": "BuildingCategory",
  60. "side": "c",
  61. "type_sjson": "int",
  62. "type_go": "int32",
  63. "type_cjson": "int",
  64. "type_csharp": "GameConfig.ConfigGen.BuildingCategory"
  65. },
  66. {
  67. "key": "城池类型Lang",
  68. "name": "CityTypeLang",
  69. "side": "c",
  70. "type_sjson": "string",
  71. "type_go": "string",
  72. "type_cjson": "string",
  73. "type_csharp": "string"
  74. },
  75. {
  76. "key": "大类名称Lang",
  77. "name": "CategoryNameLang",
  78. "side": "c",
  79. "type_sjson": "string",
  80. "type_go": "string",
  81. "type_cjson": "string",
  82. "type_csharp": "string"
  83. },
  84. {
  85. "key": "长描述Lang",
  86. "name": "DescLang",
  87. "side": "c",
  88. "type_sjson": "string",
  89. "type_go": "string",
  90. "type_cjson": "string",
  91. "type_csharp": "string"
  92. },
  93. {
  94. "key": "短描述Lang",
  95. "name": "ShortDescLang",
  96. "side": "c",
  97. "type_sjson": "string",
  98. "type_go": "string",
  99. "type_cjson": "string",
  100. "type_csharp": "string"
  101. },
  102. {
  103. "key": "建造消耗",
  104. "name": "BuildCost",
  105. "side": "cs",
  106. "type_sjson": "array",
  107. "type_go": "types.Assets",
  108. "type_cjson": "string",
  109. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  110. },
  111. {
  112. "key": "建造时间",
  113. "name": "BuildTime",
  114. "side": "cs",
  115. "type_sjson": "int",
  116. "type_go": "int64",
  117. "type_cjson": "int",
  118. "type_csharp": "int"
  119. },
  120. {
  121. "key": "保护时间",
  122. "name": "ProtectTime",
  123. "side": "cs",
  124. "type_sjson": "int",
  125. "type_go": "int64",
  126. "type_cjson": "int",
  127. "type_csharp": "int"
  128. },
  129. {
  130. "key": "初始建造上限",
  131. "name": "InitBuildLimit",
  132. "side": "cs",
  133. "type_sjson": "int",
  134. "type_go": "int32",
  135. "type_cjson": "int",
  136. "type_csharp": "int"
  137. },
  138. {
  139. "key": "耐久",
  140. "name": "Durability",
  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": "BuildingDurability",
  150. "side": "cs",
  151. "type_sjson": "int",
  152. "type_go": "int32",
  153. "type_cjson": "int",
  154. "type_csharp": "int"
  155. },
  156. {
  157. "key": "可城外征兵",
  158. "name": "CanOutsideConscript",
  159. "side": "cs",
  160. "type_sjson": "bool",
  161. "type_go": "bool",
  162. "type_cjson": "bool",
  163. "type_csharp": "bool"
  164. },
  165. {
  166. "key": "可放弃",
  167. "name": "Discardable",
  168. "side": "cs",
  169. "type_sjson": "bool",
  170. "type_go": "bool",
  171. "type_cjson": "bool",
  172. "type_csharp": "bool"
  173. },
  174. {
  175. "key": "放弃时间",
  176. "name": "DiscardTime",
  177. "side": "cs",
  178. "type_sjson": "int",
  179. "type_go": "int64",
  180. "type_cjson": "int",
  181. "type_csharp": "int"
  182. },
  183. {
  184. "key": "耐久回复",
  185. "name": "DurabilityRecovery",
  186. "side": "cs",
  187. "type_sjson": "int",
  188. "type_go": "float64",
  189. "type_cjson": "int",
  190. "type_csharp": "int"
  191. },
  192. {
  193. "key": "驻城部队",
  194. "name": "GarrisonArmies",
  195. "side": "cs",
  196. "type_sjson": "array",
  197. "type_go": "types.Pair[int32,int]",
  198. "type_cjson": "string",
  199. "type_csharp": "string"
  200. },
  201. {
  202. "key": "驻守部队兵力",
  203. "name": "GarrisonArmiesTroops",
  204. "side": "cs",
  205. "type_sjson": "int",
  206. "type_go": "int32",
  207. "type_cjson": "int",
  208. "type_csharp": "int"
  209. },
  210. {
  211. "key": "守军部队",
  212. "name": "DefendArmy",
  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": "GarrisonArmiesName",
  222. "side": "c",
  223. "type_sjson": "array",
  224. "type_go": "types.Pair[int32,int]",
  225. "type_cjson": "string",
  226. "type_csharp": "string"
  227. },
  228. {
  229. "key": "守军部队名字",
  230. "name": "DefendArmyName",
  231. "side": "c",
  232. "type_sjson": "array",
  233. "type_go": "types.Pair[int32,int]",
  234. "type_cjson": "string",
  235. "type_csharp": "string"
  236. },
  237. {
  238. "key": "攻破类型",
  239. "name": "DestroyType",
  240. "side": "s",
  241. "type_sjson": "int",
  242. "type_go": "enum.DestroyType"
  243. },
  244. {
  245. "key": "建造类型",
  246. "name": "BuildType",
  247. "side": "cs",
  248. "type_sjson": "int",
  249. "type_go": "enum.BuildType",
  250. "type_cjson": "int",
  251. "type_csharp": "EBuildType"
  252. },
  253. {
  254. "key": "建造放置条件",
  255. "name": "PlaceRules",
  256. "side": "cs",
  257. "type_sjson": "array",
  258. "type_go": "types.Pair[int32, int]",
  259. "type_cjson": "array",
  260. "type_csharp": "int[]"
  261. },
  262. {
  263. "key": "排序优先级",
  264. "name": "SortPriority",
  265. "side": "cs",
  266. "type_sjson": "int",
  267. "type_go": "int32",
  268. "type_cjson": "int",
  269. "type_csharp": "int"
  270. },
  271. {
  272. "key": "建造中模型",
  273. "name": "BuildModel",
  274. "side": "c",
  275. "type_sjson": "string",
  276. "type_go": "string",
  277. "type_cjson": "string",
  278. "type_csharp": "string"
  279. },
  280. {
  281. "key": "模型",
  282. "name": "Model",
  283. "side": "c",
  284. "type_sjson": "string",
  285. "type_go": "string",
  286. "type_cjson": "string",
  287. "type_csharp": "string"
  288. },
  289. {
  290. "key": "模型角度",
  291. "name": "ModelAngle",
  292. "side": "c",
  293. "type_cjson": "int",
  294. "type_csharp": "int"
  295. },
  296. {
  297. "key": "图像",
  298. "name": "Image",
  299. "side": "c",
  300. "type_sjson": "string",
  301. "type_go": "string",
  302. "type_cjson": "string",
  303. "type_csharp": "string"
  304. },
  305. {
  306. "key": "建造图标",
  307. "name": "Icon",
  308. "side": "c",
  309. "type_sjson": "string",
  310. "type_go": "string",
  311. "type_cjson": "string",
  312. "type_csharp": "string"
  313. },
  314. {
  315. "key": "略缩图",
  316. "name": "Thumbnail",
  317. "side": "c",
  318. "type_sjson": "string",
  319. "type_go": "string",
  320. "type_cjson": "string",
  321. "type_csharp": "string"
  322. },
  323. {
  324. "key": "领地半径",
  325. "name": "AreaRange",
  326. "side": "cs",
  327. "type_sjson": "int",
  328. "type_go": "int32",
  329. "type_cjson": "int",
  330. "type_csharp": "int"
  331. },
  332. {
  333. "key": "占地奇数偏移",
  334. "name": "CoverOddOffsets",
  335. "side": "cs",
  336. "type_sjson": "array",
  337. "type_go": "types.Points",
  338. "type_cjson": "string",
  339. "type_csharp": "string"
  340. },
  341. {
  342. "key": "占地偶数偏移",
  343. "name": "CoverEvenOffsets",
  344. "side": "cs",
  345. "type_sjson": "array",
  346. "type_go": "types.Points",
  347. "type_cjson": "string",
  348. "type_csharp": "string"
  349. },
  350. {
  351. "key": "攻城点奇数偏移",
  352. "name": "SiegeOddOffsets",
  353. "side": "cs",
  354. "type_sjson": "array",
  355. "type_go": "types.Points",
  356. "type_cjson": "string",
  357. "type_csharp": "string"
  358. },
  359. {
  360. "key": "攻城点偶数偏移",
  361. "name": "SiegeEvenOffsets",
  362. "side": "cs",
  363. "type_sjson": "array",
  364. "type_go": "types.Points",
  365. "type_cjson": "string",
  366. "type_csharp": "string"
  367. },
  368. {
  369. "key": "领土范围奇数偏移",
  370. "name": "AffectOddOffsets",
  371. "side": "cs",
  372. "type_sjson": "array",
  373. "type_go": "types.Points",
  374. "type_cjson": "string",
  375. "type_csharp": "string"
  376. },
  377. {
  378. "key": "领土范围偶数偏移",
  379. "name": "AffectEvenOffsets",
  380. "side": "cs",
  381. "type_sjson": "array",
  382. "type_go": "types.Points",
  383. "type_cjson": "string",
  384. "type_csharp": "string"
  385. },
  386. {
  387. "key": "领土范围外一圈奇数偏移",
  388. "name": "AffectEdgeOddOffsets",
  389. "side": "cs",
  390. "type_sjson": "array",
  391. "type_go": "types.Points",
  392. "type_cjson": "string",
  393. "type_csharp": "string"
  394. },
  395. {
  396. "key": "领土范围外一圈偶数偏移",
  397. "name": "AffectEdgeEvenOffsets",
  398. "side": "cs",
  399. "type_sjson": "array",
  400. "type_go": "types.Points",
  401. "type_cjson": "string",
  402. "type_csharp": "string"
  403. },
  404. {
  405. "key": "显示于同盟标记列表",
  406. "name": "ShowInAlMark",
  407. "side": "c",
  408. "type_cjson": "int",
  409. "type_csharp": "int"
  410. },
  411. {
  412. "key": "同盟标记建筑排序",
  413. "name": "AlMarkShowOrder",
  414. "side": "c",
  415. "type_cjson": "int",
  416. "type_csharp": "int"
  417. },
  418. {
  419. "key": "显示于个人建筑标记列表",
  420. "name": "ShowInSelfBuildMark",
  421. "side": "c",
  422. "type_cjson": "int",
  423. "type_csharp": "int"
  424. },
  425. {
  426. "key": "个人建筑标记排序",
  427. "name": "SelfBuildMarkShowOrder",
  428. "side": "c",
  429. "type_cjson": "int",
  430. "type_csharp": "int"
  431. }
  432. ]
  433. }
  434. ]
  435. }
  436. ]