D-地图-对象类型.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. [
  2. {
  3. "excel_file_name": "D-地图-对象类型.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": "map_object_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": "MapObjectTypeCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ObjectType",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "对象类型",
  41. "name": "ObjectType",
  42. "side": "cs",
  43. "type_sjson": "int",
  44. "type_go": "int32",
  45. "type_cjson": "int",
  46. "type_csharp": "GameConfig.ConfigGen.EMapObjType"
  47. },
  48. {
  49. "key": "名称Lang",
  50. "name": "NameLang",
  51. "side": "c",
  52. "type_cjson": "string",
  53. "type_csharp": "string"
  54. },
  55. {
  56. "key": "行军",
  57. "name": "CanMarch",
  58. "side": "cs",
  59. "type_sjson": "bool",
  60. "type_go": "bool",
  61. "type_cjson": "bool",
  62. "type_csharp": "bool"
  63. },
  64. {
  65. "key": "攻占",
  66. "name": "CanOccupy",
  67. "side": "cs",
  68. "type_sjson": "bool",
  69. "type_go": "bool",
  70. "type_cjson": "bool",
  71. "type_csharp": "bool"
  72. },
  73. {
  74. "key": "攻城",
  75. "name": "CanSiege",
  76. "side": "cs",
  77. "type_sjson": "bool",
  78. "type_go": "bool",
  79. "type_cjson": "bool",
  80. "type_csharp": "bool"
  81. },
  82. {
  83. "key": "采集",
  84. "name": "CanGather",
  85. "side": "cs",
  86. "type_sjson": "bool",
  87. "type_go": "bool",
  88. "type_cjson": "bool",
  89. "type_csharp": "bool"
  90. },
  91. {
  92. "key": "调动",
  93. "name": "CanRedeploy",
  94. "side": "cs",
  95. "type_sjson": "bool",
  96. "type_go": "bool",
  97. "type_cjson": "bool",
  98. "type_csharp": "bool"
  99. },
  100. {
  101. "key": "驻守",
  102. "name": "CanGarrison",
  103. "side": "cs",
  104. "type_sjson": "bool",
  105. "type_go": "bool",
  106. "type_cjson": "bool",
  107. "type_csharp": "bool"
  108. },
  109. {
  110. "key": "委托",
  111. "name": "CanEntrust",
  112. "side": "cs",
  113. "type_sjson": "bool",
  114. "type_go": "bool",
  115. "type_cjson": "bool",
  116. "type_csharp": "bool"
  117. },
  118. {
  119. "key": "集结",
  120. "name": "CanAssemble",
  121. "side": "cs",
  122. "type_sjson": "bool",
  123. "type_go": "bool",
  124. "type_cjson": "bool",
  125. "type_csharp": "bool"
  126. },
  127. {
  128. "key": "征兵",
  129. "name": "CanConscription",
  130. "side": "cs",
  131. "type_sjson": "bool",
  132. "type_go": "bool",
  133. "type_cjson": "bool",
  134. "type_csharp": "bool"
  135. },
  136. {
  137. "key": "掠夺",
  138. "name": "CanSnatch",
  139. "side": "cs",
  140. "type_sjson": "bool",
  141. "type_go": "bool",
  142. "type_cjson": "bool",
  143. "type_csharp": "bool"
  144. },
  145. {
  146. "key": "插旗",
  147. "name": "CanPlantFlag",
  148. "side": "cs",
  149. "type_sjson": "bool",
  150. "type_go": "bool",
  151. "type_cjson": "bool",
  152. "type_csharp": "bool"
  153. },
  154. {
  155. "key": "建造",
  156. "name": "CanBuilding",
  157. "side": "cs",
  158. "type_sjson": "bool",
  159. "type_go": "bool",
  160. "type_cjson": "bool",
  161. "type_csharp": "bool"
  162. },
  163. {
  164. "key": "讨伐",
  165. "name": "CanCrusade",
  166. "side": "cs",
  167. "type_sjson": "bool",
  168. "type_go": "bool",
  169. "type_cjson": "bool",
  170. "type_csharp": "bool"
  171. }
  172. ]
  173. }
  174. ]
  175. }
  176. ]