Documentation ¶
Index ¶
- func GetAilment(name string) (moves.Ailment, error)
- func GetBattleStyle(name string) (moves.BattleStyle, error)
- func GetBerry(name string) (berries.Berry, error)
- func GetBerryFirmness(name string) (berries.Firmness, error)
- func GetBerryFlavor(name string) (berries.Flavor, error)
- func GetCategory(name string) (moves.Category, error)
- func GetContestEffect(id int) (contests.Effect, error)
- func GetContestType(name string) (contests.Type, error)
- func GetDamageClass(name string) (moves.DamageClass, error)
- func GetEncounterCondition(name string) (encounters.Condition, error)
- func GetEncounterConditionValue(name string) (encounters.ConditionValue, error)
- func GetEncounterMethod(name string) (encounters.Method, error)
- func GetLearnMethod(name string) (moves.LearnMethod, error)
- func GetMove(name string) (moves.Move, error)
- func GetPokemon(name string) (pokemon.Pokemon, error)
- func GetPokemonAbility(name string) (pokemon.Ability, error)
- func GetPokemonCharacteristic(id int) (pokemon.Characteristic, error)
- func GetPokemonColor(name string) (pokemon.Color, error)
- func GetPokemonEggGroup(name string) (pokemon.EggGroup, error)
- func GetPokemonForm(name string) (pokemon.Form, error)
- func GetPokemonGender(name string) (pokemon.Gender, error)
- func GetPokemonGrowthRate(name string) (pokemon.GrowthRate, error)
- func GetPokemonHabitat(name string) (pokemon.Habitat, error)
- func GetPokemonLocationArea(name string) ([]pokemon.LocationArea, error)
- func GetPokemonNature(name string) (pokemon.Nature, error)
- func GetPokemonPokeathlonStats(name string) (pokemon.PokeathlonStat, error)
- func GetPokemonShape(name string) (pokemon.Shape, error)
- func GetPokemonSpecies(name string) (pokemon.Species, error)
- func GetPokemonStat(name string) (pokemon.Stat, error)
- func GetPokemonType(name string) (pokemon.Type, error)
- func GetResourceList(endpoint string, count int) (resource.List, error)
- func GetSuperContestEffect(id int) (contests.SuperEffect, error)
- func GetTarget(name string) (moves.Target, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAilment ¶ added in v0.5.0
GetAilment returns a Move struct containing information about the Move with the given name.
func GetBattleStyle ¶ added in v0.5.0
func GetBattleStyle(name string) (moves.BattleStyle, error)
GetBattleStyle returns a Move struct containing information about the Move with the given name.
func GetBerryFirmness ¶ added in v0.6.2
GetBerryFirmness returns a berry firmness by name.
func GetBerryFlavor ¶ added in v0.6.2
GetBerryFlavor returns a berry flavor by name.
func GetCategory ¶ added in v0.5.0
GetCategory returns a Move struct containing information about the Move with the given name.
func GetContestEffect ¶ added in v0.7.0
GetContestEffect returns a ContestEffect struct containing information about the ContestEffect with the given id.
func GetContestType ¶ added in v0.7.0
GetContestType returns a ContestType struct containing information about the ContestType with the given name.
func GetDamageClass ¶ added in v0.5.0
func GetDamageClass(name string) (moves.DamageClass, error)
GetDamageClass returns a Move struct containing information about the Move with the given name.
func GetEncounterCondition ¶ added in v0.7.0
func GetEncounterCondition(name string) (encounters.Condition, error)
GetEncounterCondition returns a EncounterCondition struct containing information about the EncounterCondition with the given name.
func GetEncounterConditionValue ¶ added in v0.7.0
func GetEncounterConditionValue(name string) (encounters.ConditionValue, error)
GetEncounterConditionValue returns a EncounterConditionValue struct containing information about the EncounterConditionValue with the given name.
func GetEncounterMethod ¶ added in v0.7.0
func GetEncounterMethod(name string) (encounters.Method, error)
GetEncounterMethod returns a EncounterMethod struct containing information about the EncounterMethod with the given name.
func GetLearnMethod ¶ added in v0.5.0
func GetLearnMethod(name string) (moves.LearnMethod, error)
GetLearnMethod returns a Move struct containing information about the Move with the given name.
func GetMove ¶ added in v0.3.0
GetMove returns a Move struct containing information about the Move with the given name.
func GetPokemon ¶
GetPokemon returns a Pokemon struct containing information about the Pokemon with the given name.
func GetPokemonAbility ¶ added in v0.4.0
GetPokemonAbility returns an Ability struct containing information about the Ability with the given name.
func GetPokemonCharacteristic ¶ added in v0.4.0
func GetPokemonCharacteristic(id int) (pokemon.Characteristic, error)
GetPokemonCharacteristic returns a Characteristic struct containing information about the Characteristic with the given id.
func GetPokemonColor ¶ added in v0.4.0
GetPokemonColor returns a Color struct containing information about the Color with the given name.
func GetPokemonEggGroup ¶ added in v0.4.0
GetPokemonEggGroup returns an EggGroup struct containing information about the EggGroup with the given name.
func GetPokemonForm ¶ added in v0.4.0
GetPokemonForm returns a Form struct containing information about the Form with the given name.
func GetPokemonGender ¶ added in v0.4.0
GetPokemonGender returns a Gender struct containing information about the EggGroup with the given name.
func GetPokemonGrowthRate ¶ added in v0.4.0
func GetPokemonGrowthRate(name string) (pokemon.GrowthRate, error)
GetPokemonGrowthRate returns a GrowthRate struct containing information about the GrowthRate with the given name.
func GetPokemonHabitat ¶ added in v0.4.0
GetPokemonHabitat returns a Habitat struct containing information about the Habitat with the given name.
func GetPokemonLocationArea ¶ added in v0.4.0
func GetPokemonLocationArea(name string) ([]pokemon.LocationArea, error)
GetPokemonLocationArea returns a PokemonLocationArea struct containing information about the PokemonLocationArea with the given name.
func GetPokemonNature ¶ added in v0.4.0
GetPokemonNature returns a Nature struct containing information about the Nature with the given name.
func GetPokemonPokeathlonStats ¶ added in v0.4.0
func GetPokemonPokeathlonStats(name string) (pokemon.PokeathlonStat, error)
GetPokemonPokeathlonStats returns a PokeathlonStat struct containing information about the PokeathlonStat with the given name.
func GetPokemonShape ¶ added in v0.4.0
GetPokemonShape returns a Shape struct containing information about the Shape with the given name.
func GetPokemonSpecies ¶ added in v0.4.0
GetPokemonSpecies returns a Species struct containing information about the Species with the given name.
func GetPokemonStat ¶ added in v0.4.0
GetPokemonStat returns a Stat struct containing information about the Stat with the given name.
func GetPokemonType ¶ added in v0.4.0
GetPokemonType returns a Type struct containing information about the Type with the given name.
func GetResourceList ¶ added in v0.4.0
GetResourceList returns a ResourceList struct containing information about the list of resources with the given name.
func GetSuperContestEffect ¶ added in v0.7.0
func GetSuperContestEffect(id int) (contests.SuperEffect, error)
GetSuperContestEffect returns a SuperContestEffect struct containing information about the SuperContestEffect with the given id.
Types ¶
This section is empty.