S-属性-基础表.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. [
  2. {
  3. "excel_file_name": "S-属性-基础表.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": "attrs_base.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": "AttrsBaseCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "AttrID",
  35. "is_unique": true
  36. }
  37. ],
  38. "heads": [
  39. {
  40. "key": "属性ID",
  41. "name": "AttrID",
  42. "side": "c",
  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": "NumType",
  60. "side": "c",
  61. "type_sjson": "int",
  62. "type_go": "int32",
  63. "type_cjson": "int",
  64. "type_csharp": "int"
  65. },
  66. {
  67. "key": "归属类型",
  68. "name": "AttrType",
  69. "side": "c",
  70. "type_sjson": "int",
  71. "type_go": "int32",
  72. "type_cjson": "int",
  73. "type_csharp": "int"
  74. },
  75. {
  76. "key": "归属名Lang",
  77. "name": "AttrNameLang",
  78. "side": "c",
  79. "type_sjson": "string",
  80. "type_go": "string",
  81. "type_cjson": "string",
  82. "type_csharp": "string"
  83. },
  84. {
  85. "key": "属性图标",
  86. "name": "AttrIcon",
  87. "side": "c",
  88. "type_sjson": "string",
  89. "type_go": "string",
  90. "type_cjson": "string",
  91. "type_csharp": "string"
  92. },
  93. {
  94. "key": "归属属性图标",
  95. "name": "BelongAttrIcon",
  96. "side": "c",
  97. "type_cjson": "string",
  98. "type_csharp": "string"
  99. },
  100. {
  101. "key": "详情显示",
  102. "name": "ShowModel",
  103. "side": "c",
  104. "type_sjson": "string",
  105. "type_go": "string",
  106. "type_cjson": "array",
  107. "type_csharp": "GameConfig.ConfigGen.AttrShowModel[]"
  108. },
  109. {
  110. "key": "评分",
  111. "name": "Rating",
  112. "side": "c",
  113. "type_cjson": "float",
  114. "type_csharp": "float"
  115. }
  116. ]
  117. }
  118. ]
  119. }
  120. ]