D-地图-怪物.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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_monster.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": "MapMonsterCfg.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": "部队",
  66. "name": "Armies",
  67. "side": "cs",
  68. "type_sjson": "array",
  69. "type_go": "types.Pair[int32, int]",
  70. "type_cjson": "array",
  71. "type_csharp": "int[]"
  72. },
  73. {
  74. "key": "奖励",
  75. "name": "Rewards",
  76. "side": "cs",
  77. "type_sjson": "array",
  78. "type_go": "types.Assets",
  79. "type_cjson": "string",
  80. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  81. },
  82. {
  83. "key": "随机奖励库",
  84. "name": "RandomRewardPools",
  85. "side": "cs",
  86. "type_sjson": "array",
  87. "type_go": "types.PairList[int32, int]",
  88. "type_cjson": "string",
  89. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  90. },
  91. {
  92. "key": "兵力",
  93. "name": "Troops",
  94. "side": "c",
  95. "type_cjson": "string",
  96. "type_csharp": "string"
  97. },
  98. {
  99. "key": "推荐等级",
  100. "name": "RecommendLevel",
  101. "side": "c",
  102. "type_cjson": "int",
  103. "type_csharp": "int"
  104. },
  105. {
  106. "key": "沙盘阵形",
  107. "name": "Formation",
  108. "side": "c",
  109. "type_sjson": "string",
  110. "type_go": "string",
  111. "type_cjson": "string",
  112. "type_csharp": "string"
  113. },
  114. {
  115. "key": "半身像",
  116. "name": "BustIcon",
  117. "side": "c",
  118. "type_sjson": "string",
  119. "type_go": "string",
  120. "type_cjson": "string",
  121. "type_csharp": "string"
  122. },
  123. {
  124. "key": "头像",
  125. "name": "avatarIcon",
  126. "side": "c",
  127. "type_cjson": "string",
  128. "type_csharp": "string"
  129. }
  130. ]
  131. }
  132. ]
  133. }
  134. ]