L-聊天-类型.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. [
  2. {
  3. "excel_file_name": "L-聊天-类型.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": "chat_type.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": "ChatTypeCfg.json",
  25. "gen_codes": [
  26. {
  27. "read_type": "type_csharp"
  28. }
  29. ]
  30. }
  31. ],
  32. "indexes": [
  33. {
  34. "index_names": "ChatType",
  35. "is_unique": true
  36. },
  37. {
  38. "index_names": "ChatTypeSystem,ChatType",
  39. "is_unique": true
  40. }
  41. ],
  42. "heads": [
  43. {
  44. "key": "聊天室类型",
  45. "name": "ChatType",
  46. "side": "cs",
  47. "type_sjson": "int",
  48. "type_go": "enum.ChatType",
  49. "type_cjson": "int",
  50. "type_csharp": "GameConfig.ConfigGen.EChatType"
  51. },
  52. {
  53. "key": "发言内容长度",
  54. "name": "TextLen",
  55. "side": "cs",
  56. "type_sjson": "int",
  57. "type_go": "int32",
  58. "type_cjson": "int",
  59. "type_csharp": "int"
  60. },
  61. {
  62. "key": "历史聊天记录上限",
  63. "name": "MsgLimit",
  64. "side": "cs",
  65. "type_sjson": "int",
  66. "type_go": "int64",
  67. "type_cjson": "int",
  68. "type_csharp": "int"
  69. },
  70. {
  71. "key": "每日免费发言次数",
  72. "name": "FreeSendCount",
  73. "side": "cs",
  74. "type_sjson": "int",
  75. "type_go": "int32",
  76. "type_cjson": "int",
  77. "type_csharp": "int"
  78. },
  79. {
  80. "key": "付费发言扣除道具",
  81. "name": "SendCost",
  82. "side": "cs",
  83. "type_sjson": "array",
  84. "type_go": "types.Asset",
  85. "type_cjson": "string",
  86. "type_csharp": "ArrayInt,ArrayIntConverter"
  87. },
  88. {
  89. "key": "发言频率(秒)",
  90. "name": "SendRate",
  91. "side": "cs",
  92. "type_sjson": "int",
  93. "type_go": "int64",
  94. "type_cjson": "int",
  95. "type_csharp": "int"
  96. },
  97. {
  98. "key": "发言开放等级",
  99. "name": "SendOpenLv",
  100. "side": "cs",
  101. "type_sjson": "int",
  102. "type_go": "int32",
  103. "type_cjson": "int",
  104. "type_csharp": "int"
  105. },
  106. {
  107. "key": "容纳玩家上限",
  108. "name": "PlayerLimit",
  109. "side": "cs",
  110. "type_sjson": "int",
  111. "type_go": "int",
  112. "type_cjson": "int",
  113. "type_csharp": "int"
  114. },
  115. {
  116. "key": "系统分类",
  117. "name": "ChatTypeSystem",
  118. "side": "cs",
  119. "type_sjson": "int",
  120. "type_go": "int32",
  121. "type_cjson": "int",
  122. "type_csharp": "GameConfig.ConfigGen.EChatTypeSystem"
  123. },
  124. {
  125. "key": "频道Lang",
  126. "name": "AhannelLang",
  127. "side": "c",
  128. "type_cjson": "string",
  129. "type_csharp": "string"
  130. }
  131. ]
  132. }
  133. ]
  134. }
  135. ]