D-道具.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. [
  2. {
  3. "excel_file_name": "D-道具.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": "item.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": "ItemCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "ID",
  41. "name": "ID",
  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_sjson": "string",
  53. "type_go": "string",
  54. "type_cjson": "string",
  55. "type_csharp": "string"
  56. },
  57. {
  58. "key": "解析类型",
  59. "name": "ParseType",
  60. "side": "cs",
  61. "type_sjson": "int",
  62. "type_go": "int32",
  63. "type_cjson": "int",
  64. "type_csharp": "GameConfig.ConfigGen.EParseType"
  65. },
  66. {
  67. "key": "道具类型",
  68. "name": "ItemType",
  69. "side": "c",
  70. "type_cjson": "int",
  71. "type_csharp": "int"
  72. },
  73. {
  74. "key": "二级类型",
  75. "name": "ItemSubType",
  76. "side": "cs",
  77. "type_sjson": "int",
  78. "type_go": "int32",
  79. "type_cjson": "int",
  80. "type_csharp": "int"
  81. },
  82. {
  83. "key": "获得途径",
  84. "name": "ObtainWay",
  85. "side": "c",
  86. "type_cjson": "array",
  87. "type_csharp": "int[]"
  88. },
  89. {
  90. "key": "快捷购买",
  91. "name": "QuickBuy",
  92. "side": "c",
  93. "type_cjson": "int",
  94. "type_csharp": "int"
  95. },
  96. {
  97. "key": "是否可使用",
  98. "name": "CanUse",
  99. "side": "cs",
  100. "type_sjson": "bool",
  101. "type_go": "bool",
  102. "type_cjson": "bool",
  103. "type_csharp": "bool"
  104. },
  105. {
  106. "key": "是否可出售",
  107. "name": "CanSale",
  108. "side": "cs",
  109. "type_sjson": "bool",
  110. "type_go": "bool",
  111. "type_cjson": "bool",
  112. "type_csharp": "bool"
  113. },
  114. {
  115. "key": "出售价格",
  116. "name": "SalePrice",
  117. "side": "cs",
  118. "type_sjson": "array",
  119. "type_go": "types.Assets",
  120. "type_cjson": "string",
  121. "type_csharp": "ArrayInt,ArrayIntConverter"
  122. },
  123. {
  124. "key": "是否出售确认",
  125. "name": "IsSaleSure",
  126. "side": "c",
  127. "type_sjson": "bool",
  128. "type_go": "bool",
  129. "type_cjson": "bool",
  130. "type_csharp": "bool"
  131. },
  132. {
  133. "key": "品质",
  134. "name": "Quality",
  135. "side": "cs",
  136. "type_sjson": "int",
  137. "type_go": "int32",
  138. "type_cjson": "int",
  139. "type_csharp": "int"
  140. },
  141. {
  142. "key": "是否绑定",
  143. "name": "IsBind",
  144. "side": "cs",
  145. "type_sjson": "bool",
  146. "type_go": "bool",
  147. "type_cjson": "bool",
  148. "type_csharp": "bool"
  149. },
  150. {
  151. "key": "跑马灯",
  152. "name": "IsMarquee",
  153. "side": "s",
  154. "type_sjson": "bool",
  155. "type_go": "bool",
  156. "type_cjson": "bool",
  157. "type_csharp": "bool"
  158. },
  159. {
  160. "key": "道具图标",
  161. "name": "Icon",
  162. "side": "c",
  163. "type_sjson": "string",
  164. "type_go": "string",
  165. "type_cjson": "string",
  166. "type_csharp": "string"
  167. },
  168. {
  169. "key": "道具小图标",
  170. "name": "MiniIcon",
  171. "side": "c",
  172. "type_cjson": "string",
  173. "type_csharp": "string"
  174. },
  175. {
  176. "key": "是否展示材质",
  177. "name": "MaterialShow",
  178. "side": "c",
  179. "type_sjson": "int",
  180. "type_go": "int32",
  181. "type_cjson": "int",
  182. "type_csharp": "int"
  183. },
  184. {
  185. "key": "道具描述Lang",
  186. "name": "DescLang",
  187. "side": "c",
  188. "type_sjson": "string",
  189. "type_go": "string",
  190. "type_cjson": "string",
  191. "type_csharp": "string"
  192. }
  193. ]
  194. }
  195. ]
  196. }
  197. ]