|
|
@@ -1,147 +0,0 @@
|
|
|
-package commented
|
|
|
-
|
|
|
-type Commented struct {
|
|
|
- Mysql Mysql `json:"Mysql"`
|
|
|
- General General `json:"General"`
|
|
|
- Kits map[string]Kit `json:"Kits"`
|
|
|
- ShopItems map[string]ShopItem `json:"ShopItems"`
|
|
|
- SellItems map[string]SellItem `json:"SellItems"`
|
|
|
- Messages Messages `json:"Messages"`
|
|
|
-}
|
|
|
-type Mysql struct {
|
|
|
- UseMysql bool `json:"UseMysql"`
|
|
|
- MysqlHost string `json:"MysqlHost"`
|
|
|
- MysqlUser string `json:"MysqlUser"`
|
|
|
- MysqlPass string `json:"MysqlPass"`
|
|
|
- MysqlDB string `json:"MysqlDB"`
|
|
|
- MysqlPort int `json:"MysqlPort"`
|
|
|
-}
|
|
|
-type General struct {
|
|
|
- Discord Discord `json:"Discord"`
|
|
|
- TimedPointsReward TimedPointsReward `json:"TimedPointsReward"`
|
|
|
- UseOriginalTradeCommandWithUI bool `json:"UseOriginalTradeCommandWithUI"`
|
|
|
- GiveDinosInCryopods bool `json:"GiveDinosInCryopods"`
|
|
|
- UseSoulTraps bool `json:"UseSoulTraps"`
|
|
|
- CryoLimitedTime bool `json:"CryoLimitedTime"`
|
|
|
- CryoItemPath string `json:"CryoItemPath"`
|
|
|
- ItemsPerPage int `json:"ItemsPerPage"`
|
|
|
- ShopDisplayTime int `json:"ShopDisplayTime"`
|
|
|
- ShopTextSize int `json:"ShopTextSize"`
|
|
|
- DbPathOverride string `json:"DbPathOverride"`
|
|
|
- DefaultKit string `json:"DefaultKit"`
|
|
|
-}
|
|
|
-type Discord struct {
|
|
|
- Enabled bool `json:"Enabled"`
|
|
|
- SenderName string `json:"SenderName"`
|
|
|
- URL string `json:"URL"`
|
|
|
-}
|
|
|
-
|
|
|
-type TimedPointsReward struct {
|
|
|
- Enabled bool `json:"Enabled"`
|
|
|
- StackRewards bool `json:"StackRewards"`
|
|
|
- Interval int `json:"Interval"`
|
|
|
- Groups map[string]Group `json:"Groups"`
|
|
|
-}
|
|
|
-type Group struct {
|
|
|
- Amount int `json:"Amount"`
|
|
|
-}
|
|
|
-type Kit struct {
|
|
|
- DefaultAmount int `json:"DefaultAmount"`
|
|
|
- Price int `json:"Price"`
|
|
|
- Description string `json:"Description"`
|
|
|
- OnlyFromSpawn bool `json:"OnlyFromSpawn"`
|
|
|
- Items []KitItem `json:"Items"`
|
|
|
- Dinos []Dino `json:"Dinos"`
|
|
|
-}
|
|
|
-type KitItem struct {
|
|
|
- Amount int `json:"Amount"`
|
|
|
- Quality int `json:"Quality"`
|
|
|
- ForceBlueprint bool `json:"ForceBlueprint"`
|
|
|
- Armor int `json:"Armor"`
|
|
|
- Blueprint string `json:"Blueprint"`
|
|
|
-}
|
|
|
-
|
|
|
-type Dino struct {
|
|
|
- Level int `json:"Level"` //等级
|
|
|
- Neutered bool `json:"Neutered"` //绝育
|
|
|
- Blueprint string `json:"Blueprint"` //蓝图??
|
|
|
-}
|
|
|
-
|
|
|
-type ShopItem struct {
|
|
|
- Type string `json:"Type"`
|
|
|
- Description string `json:"Description"`
|
|
|
- Price int `json:"Price"`
|
|
|
- Items []ShopItemInfo `json:"Items"`
|
|
|
-}
|
|
|
-
|
|
|
-type ShopItemInfo struct {
|
|
|
- Quality int `json:"Quality"`
|
|
|
- ForceBlueprint bool `json:"ForceBlueprint"`
|
|
|
- Amount int `json:"Amount"`
|
|
|
- Blueprint string `json:"Blueprint"`
|
|
|
-}
|
|
|
-
|
|
|
-type SellItem struct {
|
|
|
- Type string `json:"Type"`
|
|
|
- Description string `json:"Description"`
|
|
|
- Price int `json:"Price"`
|
|
|
- Amount int `json:"Amount"`
|
|
|
- Blueprint string `json:"Blueprint"`
|
|
|
-}
|
|
|
-type Messages struct {
|
|
|
- Sender string `json:"Sender"`
|
|
|
- BoughtItem string `json:"BoughtItem"`
|
|
|
- BoughtDino string `json:"BoughtDino"`
|
|
|
- BoughtBeacon string `json:"BoughtBeacon"`
|
|
|
- BoughtExp string `json:"BoughtExp"`
|
|
|
- ReceivedPoints string `json:"ReceivedPoints"`
|
|
|
- HavePoints string `json:"HavePoints"`
|
|
|
- NoPoints string `json:"NoPoints"`
|
|
|
- WrongId string `json:"WrongId"`
|
|
|
- NoPermissionsKit string `json:"NoPermissionsKit"`
|
|
|
- CantBuyKit string `json:"CantBuyKit"`
|
|
|
- BoughtKit string `json:"BoughtKit"`
|
|
|
- AvailableKits string `json:"AvailableKits"`
|
|
|
- NoKits string `json:"NoKits"`
|
|
|
- KitsLeft string `json:"KitsLeft"`
|
|
|
- NoKitsLeft string `json:"NoKitsLeft"`
|
|
|
- CantGivePoints string `json:"CantGivePoints"`
|
|
|
- RidingDino string `json:"RidingDino"`
|
|
|
- SentPoints string `json:"SentPoints"`
|
|
|
- GotPoints string `json:"GotPoints"`
|
|
|
- NoPlayer string `json:"NoPlayer"`
|
|
|
- FoundMorePlayers string `json:"FoundMorePlayers"`
|
|
|
- BuyUsage string `json:"BuyUsage"`
|
|
|
- ShopUsage string `json:"ShopUsage"`
|
|
|
- KitUsage string `json:"KitUsage"`
|
|
|
- BuyKitUsage string `json:"BuyKitUsage"`
|
|
|
- TradeUsage string `json:"TradeUsage"`
|
|
|
- PointsCmd string `json:"PointsCmd"`
|
|
|
- TradeCmd string `json:"TradeCmd"`
|
|
|
- BuyCmd string `json:"BuyCmd"`
|
|
|
- ShopCmd string `json:"ShopCmd"`
|
|
|
- KitCmd string `json:"KitCmd"`
|
|
|
- BuyKitCmd string `json:"BuyKitCmd"`
|
|
|
- SellCmd string `json:"SellCmd"`
|
|
|
- ShopSellCmd string `json:"ShopSellCmd"`
|
|
|
- SellUsage string `json:"SellUsage"`
|
|
|
- NotEnoughItems string `json:"NotEnoughItems"`
|
|
|
- SoldItems string `json:"SoldItems"`
|
|
|
- BadLevel string `json:"BadLevel"`
|
|
|
- KitsListPrice string `json:"KitsListPrice"`
|
|
|
- KitsListFormat string `json:"KitsListFormat"`
|
|
|
- StoreListDino string `json:"StoreListDino"`
|
|
|
- StoreListItem string `json:"StoreListItem"`
|
|
|
- StoreListFormat string `json:"StoreListFormat"`
|
|
|
- OnlyOnSpawnKit string `json:"OnlyOnSpawnKit"`
|
|
|
- HelpCmd string `json:"HelpCmd"`
|
|
|
- ShopMessage string `json:"ShopMessage"`
|
|
|
- HelpMessage string `json:"HelpMessage"`
|
|
|
- RefundError string `json:"RefundError"`
|
|
|
- ShopFindCmd string `json:"ShopFindCmd"`
|
|
|
- ShopFindUsage string `json:"ShopFindUsage"`
|
|
|
- ShopFindNotFound string `json:"ShopFindNotFound"`
|
|
|
- ShopFindTooManyResults string `json:"ShopFindTooManyResults"`
|
|
|
- NoPermissionsStore string `json:"NoPermissionsStore"`
|
|
|
- InventoryIsFull string `json:"InventoryIsFull"`
|
|
|
-}
|