D-地图-建筑升级.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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_upgrade.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": "MapBuildUpgradeCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ConfigID,Level",
  35. "is_unique": true
  36. },
  37. {
  38. "index_names": "ConfigID"
  39. }
  40. ],
  41. "heads": [
  42. {
  43. "key": "建筑配置ID",
  44. "name": "ConfigID",
  45. "side": "cs",
  46. "type_sjson": "int",
  47. "type_go": "int32",
  48. "type_cjson": "int",
  49. "type_csharp": "int"
  50. },
  51. {
  52. "key": "等级",
  53. "name": "Level",
  54. "side": "cs",
  55. "type_sjson": "int",
  56. "type_go": "int32",
  57. "type_cjson": "int",
  58. "type_csharp": "int"
  59. },
  60. {
  61. "key": "名称Lang",
  62. "name": "NameLang",
  63. "side": "c",
  64. "type_sjson": "string",
  65. "type_go": "string",
  66. "type_cjson": "string",
  67. "type_csharp": "string"
  68. },
  69. {
  70. "key": "升级消耗",
  71. "name": "UpgradeCost",
  72. "side": "cs",
  73. "type_sjson": "array",
  74. "type_go": "types.Assets",
  75. "type_cjson": "string",
  76. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  77. },
  78. {
  79. "key": "升级时间",
  80. "name": "UpgradeTime",
  81. "side": "cs",
  82. "type_sjson": "int",
  83. "type_go": "int64",
  84. "type_cjson": "int",
  85. "type_csharp": "int"
  86. },
  87. {
  88. "key": "耐久",
  89. "name": "Durability",
  90. "side": "cs",
  91. "type_sjson": "int",
  92. "type_go": "int32",
  93. "type_cjson": "int",
  94. "type_csharp": "int"
  95. },
  96. {
  97. "key": "模型",
  98. "name": "Model",
  99. "side": "c",
  100. "type_sjson": "string",
  101. "type_go": "string",
  102. "type_cjson": "string",
  103. "type_csharp": "string"
  104. },
  105. {
  106. "key": "视野范围",
  107. "name": "ViewRange",
  108. "side": "cs",
  109. "type_sjson": "int",
  110. "type_go": "int32",
  111. "type_cjson": "int",
  112. "type_csharp": "int"
  113. },
  114. {
  115. "key": "展示-属性",
  116. "name": "ShowAttrs",
  117. "side": "c",
  118. "type_cjson": "string",
  119. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  120. }
  121. ]
  122. }
  123. ]
  124. }
  125. ]