hdkv
/
i2_bot
Archived
1
Fork 0
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues/pull-requests.
i2_bot/lib/datamapping/pokememes.go

29 lines
881 B
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// i2_bot Instinct PokememBro Bot
// Copyright (c) 2017-2018 Vladimir "fat0troll" Hodakov
package datamapping
// Pokememe is a struct, which represents pokememes item data
type Pokememe struct {
ID int `yaml:"id"`
Grade int `yaml:"grade"`
Name string `yaml:"name"`
Description string `yaml:"description"`
Attack int `yaml:"attack"`
HP int `yaml:"health"`
MP int `yaml:"mana"`
Defence int `db:"defence"`
Price int `yaml:"cost"`
Purchaseable bool `yaml:"purchaseable"`
ImageURL string `yaml:"image"`
Elements []int `yaml:"elements"`
Locations []int `yaml:"locations"`
}
// PokememeFull is a struct for handling pokememe with all informations about locations and elements
type PokememeFull struct {
Pokememe Pokememe
Locations []Location
Elements []Element
}