You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
880 B

3 years ago
package message
type Store struct {
Link string `json:"link"`
Name string `json:"name"`
OwnerName string `json:"ownerName"`
OwnerCastle string `json:"ownerCastle"`
Kind string `json:"kind"`
Mana int `json:"mana"`
Offers []StoreOffer `json:"offers"`
Specialization map[string]int `json:"specialization,omitempty"`
QualityCraftLevel int `json:"qualityCraftLevel"`
MaintenanceEnabled bool `json:"maintenanceEnabled"`
MaintenanceCost int `json:"maintenanceCost"`
GuildDiscount int `json:"guildDiscount"`
CastleDiscount int `json:"castleDiscount"`
}
type StoreOffer struct {
Item string `json:"item"`
Price int `json:"price"`
Mana int `json:"mana"`
}