Commented.go 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. package commented
  2. type Commented struct {
  3. Mysql Mysql `json:"Mysql"`
  4. General General `json:"General"`
  5. Kits map[string]Kit `json:"Kits"`
  6. ShopItems map[string]ShopItem `json:"ShopItems"`
  7. SellItems map[string]SellItem `json:"SellItems"`
  8. Messages Messages `json:"Messages"`
  9. }
  10. type Mysql struct {
  11. UseMysql bool `json:"UseMysql"`
  12. MysqlHost string `json:"MysqlHost"`
  13. MysqlUser string `json:"MysqlUser"`
  14. MysqlPass string `json:"MysqlPass"`
  15. MysqlDB string `json:"MysqlDB"`
  16. MysqlPort int `json:"MysqlPort"`
  17. }
  18. type General struct {
  19. Discord Discord `json:"Discord"`
  20. TimedPointsReward TimedPointsReward `json:"TimedPointsReward"`
  21. UseOriginalTradeCommandWithUI bool `json:"UseOriginalTradeCommandWithUI"`
  22. GiveDinosInCryopods bool `json:"GiveDinosInCryopods"`
  23. UseSoulTraps bool `json:"UseSoulTraps"`
  24. CryoLimitedTime bool `json:"CryoLimitedTime"`
  25. CryoItemPath string `json:"CryoItemPath"`
  26. ItemsPerPage int `json:"ItemsPerPage"`
  27. ShopDisplayTime int `json:"ShopDisplayTime"`
  28. ShopTextSize int `json:"ShopTextSize"`
  29. DbPathOverride string `json:"DbPathOverride"`
  30. DefaultKit string `json:"DefaultKit"`
  31. }
  32. type Discord struct {
  33. Enabled bool `json:"Enabled"`
  34. SenderName string `json:"SenderName"`
  35. URL string `json:"URL"`
  36. }
  37. type TimedPointsReward struct {
  38. Enabled bool `json:"Enabled"`
  39. StackRewards bool `json:"StackRewards"`
  40. Interval int `json:"Interval"`
  41. Groups map[string]Group `json:"Groups"`
  42. }
  43. type Group struct {
  44. Amount int `json:"Amount"`
  45. }
  46. type Kit struct {
  47. DefaultAmount int `json:"DefaultAmount"`
  48. Price int `json:"Price"`
  49. Description string `json:"Description"`
  50. OnlyFromSpawn bool `json:"OnlyFromSpawn"`
  51. Items []KitItem `json:"Items"`
  52. Dinos []Dino `json:"Dinos"`
  53. }
  54. type KitItem struct {
  55. Amount int `json:"Amount"`
  56. Quality int `json:"Quality"`
  57. ForceBlueprint bool `json:"ForceBlueprint"`
  58. Armor int `json:"Armor"`
  59. Blueprint string `json:"Blueprint"`
  60. }
  61. type Dino struct {
  62. Level int `json:"Level"` //等级
  63. Neutered bool `json:"Neutered"` //绝育
  64. Blueprint string `json:"Blueprint"` //蓝图??
  65. }
  66. type ShopItem struct {
  67. Type string `json:"Type"`
  68. Description string `json:"Description"`
  69. Price int `json:"Price"`
  70. Items []ShopItemInfo `json:"Items"`
  71. }
  72. type ShopItemInfo struct {
  73. Quality int `json:"Quality"`
  74. ForceBlueprint bool `json:"ForceBlueprint"`
  75. Amount int `json:"Amount"`
  76. Blueprint string `json:"Blueprint"`
  77. }
  78. type SellItem struct {
  79. Type string `json:"Type"`
  80. Description string `json:"Description"`
  81. Price int `json:"Price"`
  82. Amount int `json:"Amount"`
  83. Blueprint string `json:"Blueprint"`
  84. }
  85. type Messages struct {
  86. Sender string `json:"Sender"`
  87. BoughtItem string `json:"BoughtItem"`
  88. BoughtDino string `json:"BoughtDino"`
  89. BoughtBeacon string `json:"BoughtBeacon"`
  90. BoughtExp string `json:"BoughtExp"`
  91. ReceivedPoints string `json:"ReceivedPoints"`
  92. HavePoints string `json:"HavePoints"`
  93. NoPoints string `json:"NoPoints"`
  94. WrongId string `json:"WrongId"`
  95. NoPermissionsKit string `json:"NoPermissionsKit"`
  96. CantBuyKit string `json:"CantBuyKit"`
  97. BoughtKit string `json:"BoughtKit"`
  98. AvailableKits string `json:"AvailableKits"`
  99. NoKits string `json:"NoKits"`
  100. KitsLeft string `json:"KitsLeft"`
  101. NoKitsLeft string `json:"NoKitsLeft"`
  102. CantGivePoints string `json:"CantGivePoints"`
  103. RidingDino string `json:"RidingDino"`
  104. SentPoints string `json:"SentPoints"`
  105. GotPoints string `json:"GotPoints"`
  106. NoPlayer string `json:"NoPlayer"`
  107. FoundMorePlayers string `json:"FoundMorePlayers"`
  108. BuyUsage string `json:"BuyUsage"`
  109. ShopUsage string `json:"ShopUsage"`
  110. KitUsage string `json:"KitUsage"`
  111. BuyKitUsage string `json:"BuyKitUsage"`
  112. TradeUsage string `json:"TradeUsage"`
  113. PointsCmd string `json:"PointsCmd"`
  114. TradeCmd string `json:"TradeCmd"`
  115. BuyCmd string `json:"BuyCmd"`
  116. ShopCmd string `json:"ShopCmd"`
  117. KitCmd string `json:"KitCmd"`
  118. BuyKitCmd string `json:"BuyKitCmd"`
  119. SellCmd string `json:"SellCmd"`
  120. ShopSellCmd string `json:"ShopSellCmd"`
  121. SellUsage string `json:"SellUsage"`
  122. NotEnoughItems string `json:"NotEnoughItems"`
  123. SoldItems string `json:"SoldItems"`
  124. BadLevel string `json:"BadLevel"`
  125. KitsListPrice string `json:"KitsListPrice"`
  126. KitsListFormat string `json:"KitsListFormat"`
  127. StoreListDino string `json:"StoreListDino"`
  128. StoreListItem string `json:"StoreListItem"`
  129. StoreListFormat string `json:"StoreListFormat"`
  130. OnlyOnSpawnKit string `json:"OnlyOnSpawnKit"`
  131. HelpCmd string `json:"HelpCmd"`
  132. ShopMessage string `json:"ShopMessage"`
  133. HelpMessage string `json:"HelpMessage"`
  134. RefundError string `json:"RefundError"`
  135. ShopFindCmd string `json:"ShopFindCmd"`
  136. ShopFindUsage string `json:"ShopFindUsage"`
  137. ShopFindNotFound string `json:"ShopFindNotFound"`
  138. ShopFindTooManyResults string `json:"ShopFindTooManyResults"`
  139. NoPermissionsStore string `json:"NoPermissionsStore"`
  140. InventoryIsFull string `json:"InventoryIsFull"`
  141. }