D-地图-资源.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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_res.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": "MapResCfg.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_cjson": "string",
  53. "type_csharp": "string"
  54. },
  55. {
  56. "key": "等级",
  57. "name": "Level",
  58. "side": "cs",
  59. "type_sjson": "int",
  60. "type_go": "int32",
  61. "type_cjson": "int",
  62. "type_csharp": "int"
  63. },
  64. {
  65. "key": "产出ID",
  66. "name": "ItemID",
  67. "side": "cs",
  68. "type_sjson": "int",
  69. "type_go": "int32",
  70. "type_cjson": "int",
  71. "type_csharp": "int"
  72. },
  73. {
  74. "key": "每小时产出量",
  75. "name": "Yield",
  76. "side": "cs",
  77. "type_sjson": "int",
  78. "type_go": "int64",
  79. "type_cjson": "int",
  80. "type_csharp": "int"
  81. },
  82. {
  83. "key": "守军部队",
  84. "name": "Armies",
  85. "side": "cs",
  86. "type_sjson": "array",
  87. "type_go": "types.List[int32]",
  88. "type_cjson": "array",
  89. "type_csharp": "List<int>"
  90. },
  91. {
  92. "key": "守军部队名字",
  93. "name": "ArmiesNameLang",
  94. "side": "c",
  95. "type_cjson": "string",
  96. "type_csharp": "string"
  97. },
  98. {
  99. "key": "兵力",
  100. "name": "Troops",
  101. "side": "c",
  102. "type_cjson": "int",
  103. "type_csharp": "int"
  104. },
  105. {
  106. "key": "草地模型",
  107. "name": "GrasslandModel",
  108. "side": "c",
  109. "type_cjson": "string",
  110. "type_csharp": "string"
  111. },
  112. {
  113. "key": "沙漠模型",
  114. "name": "DesertModel",
  115. "side": "c",
  116. "type_cjson": "string",
  117. "type_csharp": "string"
  118. },
  119. {
  120. "key": "雪地模型",
  121. "name": "SnowfieldModel",
  122. "side": "c",
  123. "type_cjson": "string",
  124. "type_csharp": "string"
  125. },
  126. {
  127. "key": "略缩图",
  128. "name": "Thumbnail",
  129. "side": "c",
  130. "type_sjson": "string",
  131. "type_go": "string",
  132. "type_cjson": "string",
  133. "type_csharp": "string"
  134. }
  135. ]
  136. }
  137. ]
  138. }
  139. ]