D-地图-对象菜单.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. [
  2. {
  3. "excel_file_name": "D-地图-对象菜单.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 2,
  8. "outputs": [
  9. {
  10. "enable": false,
  11. "read_type": "type_sjson",
  12. "parser_id": "table",
  13. "file_name": "map_object_menu.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": "MapObjectMenuCfg.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": "c",
  43. "type_cjson": "int",
  44. "type_csharp": "int"
  45. },
  46. {
  47. "key": "行军",
  48. "name": "CanMarch",
  49. "side": "c",
  50. "type_cjson": "array",
  51. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  52. },
  53. {
  54. "key": "攻占",
  55. "name": "CanOccupy",
  56. "side": "c",
  57. "type_cjson": "array",
  58. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  59. },
  60. {
  61. "key": "攻城",
  62. "name": "CanSiege",
  63. "side": "c",
  64. "type_cjson": "array",
  65. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  66. },
  67. {
  68. "key": "采集",
  69. "name": "CanGather",
  70. "side": "c",
  71. "type_cjson": "array",
  72. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  73. },
  74. {
  75. "key": "调动",
  76. "name": "CanRedeploy",
  77. "side": "c",
  78. "type_cjson": "array",
  79. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  80. },
  81. {
  82. "key": "驻守",
  83. "name": "CanGarrison",
  84. "side": "c",
  85. "type_cjson": "array",
  86. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  87. },
  88. {
  89. "key": "委托",
  90. "name": "CanEntrust",
  91. "side": "c",
  92. "type_cjson": "array",
  93. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  94. },
  95. {
  96. "key": "集结",
  97. "name": "CanAssemble",
  98. "side": "c",
  99. "type_cjson": "array",
  100. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  101. },
  102. {
  103. "key": "攻城集结",
  104. "name": "CanSiegeAssemble",
  105. "side": "c",
  106. "type_cjson": "array",
  107. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  108. },
  109. {
  110. "key": "宣战",
  111. "name": "CanDeclareWar",
  112. "side": "c",
  113. "type_cjson": "array",
  114. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  115. },
  116. {
  117. "key": "征兵",
  118. "name": "CanConscription",
  119. "side": "c",
  120. "type_cjson": "array",
  121. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  122. },
  123. {
  124. "key": "掠夺",
  125. "name": "CanSnatch",
  126. "side": "c",
  127. "type_cjson": "array",
  128. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  129. },
  130. {
  131. "key": "插旗",
  132. "name": "CanPlantFlag",
  133. "side": "c",
  134. "type_cjson": "array",
  135. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  136. },
  137. {
  138. "key": "建造",
  139. "name": "CanBuilding",
  140. "side": "c",
  141. "type_cjson": "array",
  142. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  143. },
  144. {
  145. "key": "讨伐",
  146. "name": "CanCrusade",
  147. "side": "c",
  148. "type_cjson": "array",
  149. "type_csharp": "IntKeyValueList, IntKeyValueListConverter"
  150. }
  151. ]
  152. }
  153. ]
  154. }
  155. ]