Y-音乐.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. [
  2. {
  3. "excel_file_name": "Y-音乐.xlsx",
  4. "sheets": [
  5. {
  6. "sheet_name": "Sheet1",
  7. "row_offset": 1,
  8. "outputs": [
  9. {
  10. "enable": true,
  11. "read_type": "type_cjson",
  12. "parser_id": "table_list",
  13. "file_name": "AudioWindowCfg.json",
  14. "gen_codes": [
  15. {
  16. "read_type": "type_csharp"
  17. }
  18. ]
  19. }
  20. ],
  21. "indexes": [
  22. {
  23. "index_names": "Key",
  24. "is_unique": true
  25. }
  26. ],
  27. "heads": [
  28. {
  29. "desc": "主键,界面名 = key",
  30. "key": "界面名",
  31. "name": "Key",
  32. "side": "cs",
  33. "type_sjson": "string",
  34. "type_go": "string",
  35. "type_cjson": "string",
  36. "type_csharp": "string"
  37. },
  38. {
  39. "key": "打开音效",
  40. "name": "OpenAudio",
  41. "side": "c",
  42. "type_cjson": "array",
  43. "type_csharp": "int[]"
  44. },
  45. {
  46. "key": "关闭音效",
  47. "name": "CloseAudio",
  48. "side": "c",
  49. "type_cjson": "array",
  50. "type_csharp": "int[]"
  51. },
  52. {
  53. "key": "附带参数",
  54. "name": "OtherParam",
  55. "side": "c",
  56. "type_cjson": "string",
  57. "type_csharp": "StringArray,StringArrayConverter"
  58. }
  59. ]
  60. }
  61. ]
  62. },
  63. {
  64. "excel_file_name": "Y-音乐.xlsx",
  65. "sheets": [
  66. {
  67. "sheet_name": "Sheet2",
  68. "row_offset": 1,
  69. "outputs": [
  70. {
  71. "enable": true,
  72. "read_type": "type_cjson",
  73. "parser_id": "table_list",
  74. "file_name": "AudioCfg.json",
  75. "gen_codes": [
  76. {
  77. "read_type": "type_csharp"
  78. }
  79. ]
  80. }
  81. ],
  82. "indexes": [
  83. {
  84. "index_names": "Key",
  85. "is_unique": true
  86. }
  87. ],
  88. "heads": [
  89. {
  90. "key": "ID",
  91. "name": "Key",
  92. "side": "cs",
  93. "type_sjson": "string",
  94. "type_go": "string",
  95. "type_cjson": "int",
  96. "type_csharp": "int"
  97. },
  98. {
  99. "key": "资源名",
  100. "name": "Res",
  101. "side": "cs",
  102. "type_sjson": "string",
  103. "type_go": "string",
  104. "type_cjson": "string",
  105. "type_csharp": "string"
  106. },
  107. {
  108. "key": "资源类型",
  109. "name": "ResType",
  110. "side": "c",
  111. "type_sjson": "int",
  112. "type_go": "int32",
  113. "type_cjson": "int",
  114. "type_csharp": "int"
  115. },
  116. {
  117. "key": "说明",
  118. "name": "ResDesc",
  119. "side": "c",
  120. "type_cjson": "string",
  121. "type_csharp": "string"
  122. }
  123. ]
  124. }
  125. ]
  126. }
  127. ]