R-任务.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. [
  2. {
  3. "excel_file_name": "R-任务.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": "quest.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": "QuestCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "QuestGroupID"
  35. },
  36. {
  37. "index_names": "QuestGroupID,QuestID",
  38. "is_unique": true
  39. },
  40. {
  41. "index_names": "QuestID",
  42. "is_unique": true
  43. }
  44. ],
  45. "heads": [
  46. {
  47. "key": "任务组ID",
  48. "name": "QuestGroupID",
  49. "side": "cs",
  50. "type_sjson": "int",
  51. "type_go": "int32",
  52. "type_cjson": "int",
  53. "type_csharp": "int"
  54. },
  55. {
  56. "key": "任务名字Land",
  57. "name": "QuestNameLand",
  58. "side": "c",
  59. "type_cjson": "string",
  60. "type_csharp": "string"
  61. },
  62. {
  63. "key": "ID",
  64. "name": "QuestID",
  65. "side": "cs",
  66. "type_sjson": "int",
  67. "type_go": "int32",
  68. "type_cjson": "int",
  69. "type_csharp": "int"
  70. },
  71. {
  72. "key": "是否累计",
  73. "name": "IsAccumulate",
  74. "side": "s",
  75. "type_sjson": "bool",
  76. "type_go": "bool"
  77. },
  78. {
  79. "key": "任务类型",
  80. "name": "QuestType",
  81. "side": "cs",
  82. "type_sjson": "int",
  83. "type_go": "enum.QuestType",
  84. "type_cjson": "int",
  85. "type_csharp": "int"
  86. },
  87. {
  88. "key": "任务参数",
  89. "name": "QuestParams",
  90. "side": "cs",
  91. "type_sjson": "array",
  92. "type_go": "types.List[int32]",
  93. "type_cjson": "array",
  94. "type_csharp": "uint[]"
  95. },
  96. {
  97. "key": "下一个任务ID",
  98. "name": "NextQuestID",
  99. "side": "cs",
  100. "type_sjson": "int",
  101. "type_go": "int32",
  102. "type_cjson": "int",
  103. "type_csharp": "int"
  104. },
  105. {
  106. "key": "奖励列表",
  107. "name": "Rewards",
  108. "side": "cs",
  109. "type_sjson": "array",
  110. "type_go": "types.Assets",
  111. "type_cjson": "string",
  112. "type_csharp": "ArrayIntList,ArrayIntListConverter"
  113. },
  114. {
  115. "key": "是否禁用",
  116. "name": "Disabled",
  117. "side": "cs",
  118. "type_sjson": "bool",
  119. "type_go": "bool",
  120. "type_cjson": "bool",
  121. "type_csharp": "bool"
  122. },
  123. {
  124. "key": "难度排序",
  125. "name": "Difficult",
  126. "side": "c",
  127. "type_cjson": "int",
  128. "type_csharp": "int"
  129. },
  130. {
  131. "key": "跳转界面ID",
  132. "name": "WindowJumpID",
  133. "side": "c",
  134. "type_cjson": "int",
  135. "type_csharp": "int"
  136. }
  137. ]
  138. },
  139. {
  140. "sheet_name": "任务类型",
  141. "row_offset": 1,
  142. "outputs": [
  143. {
  144. "enable": true,
  145. "read_type": "type_cjson",
  146. "parser_id": "table_list",
  147. "file_name": "QuestTypeCfg.json",
  148. "gen_codes": [
  149. {
  150. "read_type": "type_csharp"
  151. }
  152. ]
  153. }
  154. ],
  155. "indexes": [
  156. {
  157. "index_names": "QuestTypeID",
  158. "is_unique": true
  159. }
  160. ],
  161. "heads": [
  162. {
  163. "key": "任务类型",
  164. "name": "QuestTypeID",
  165. "side": "c",
  166. "type_cjson": "int",
  167. "type_csharp": "int"
  168. },
  169. {
  170. "key": "任务描述Lang",
  171. "name": "DescLang",
  172. "side": "c",
  173. "type_cjson": "string",
  174. "type_csharp": "string"
  175. },
  176. {
  177. "key": "展示-任务所需次数",
  178. "name": "NeedTimes",
  179. "side": "c",
  180. "type_cjson": "array",
  181. "type_csharp": "uint[]"
  182. },
  183. {
  184. "key": "展示-描述内容",
  185. "name": "DesContent",
  186. "side": "c",
  187. "type_cjson": "array",
  188. "type_csharp": "uint[]"
  189. }
  190. ]
  191. }
  192. ]
  193. }
  194. ]