C-城建-等级.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [
  2. {
  3. "excel_file_name": "C-城建-等级.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": "facility_level.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": "FacilityLevelCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "FacilityID,Level",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "建筑ID",
  41. "name": "FacilityID",
  42. "side": "cs",
  43. "type_sjson": "int",
  44. "type_go": "int32",
  45. "type_cjson": "int",
  46. "type_csharp": "int"
  47. },
  48. {
  49. "key": "等级",
  50. "name": "Level",
  51. "side": "cs",
  52. "type_sjson": "int",
  53. "type_go": "int32",
  54. "type_cjson": "int",
  55. "type_csharp": "int"
  56. },
  57. {
  58. "key": "升级消耗",
  59. "name": "UpgradeCost",
  60. "side": "cs",
  61. "type_sjson": "array",
  62. "type_go": "types.Assets",
  63. "type_cjson": "string",
  64. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  65. },
  66. {
  67. "key": "升级时间",
  68. "name": "UpgradeDuration",
  69. "side": "cs",
  70. "type_sjson": "int",
  71. "type_go": "int64",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "属性值",
  77. "name": "Attrs",
  78. "side": "cs",
  79. "type_sjson": "array",
  80. "type_go": "types.Attrs",
  81. "type_cjson": "string",
  82. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  83. },
  84. {
  85. "key": "前置建筑等级",
  86. "name": "PreFacilities",
  87. "side": "cs",
  88. "type_sjson": "array",
  89. "type_go": "types.PairList[int32, int32]",
  90. "type_cjson": "string",
  91. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  92. },
  93. {
  94. "key": "领主等级条件",
  95. "name": "LordLevel",
  96. "side": "cs",
  97. "type_sjson": "int",
  98. "type_go": "int32",
  99. "type_cjson": "int",
  100. "type_csharp": "int"
  101. },
  102. {
  103. "key": "升级属性展示",
  104. "name": "UpgradeAttrs",
  105. "side": "c",
  106. "type_sjson": "array",
  107. "type_go": "types.Attrs",
  108. "type_cjson": "string",
  109. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  110. },
  111. {
  112. "key": "特殊属性Lang",
  113. "name": "SpecialAttrsLang",
  114. "side": "c",
  115. "type_sjson": "string",
  116. "type_go": "string",
  117. "type_cjson": "string",
  118. "type_csharp": "string"
  119. }
  120. ]
  121. }
  122. ]
  123. }
  124. ]