Documentation
¶
Index ¶
- func SaveAll(trainerFilePath string, trainerPartiesFilePath string, trainers []*Trainer, ...) error
- func SaveTrainerParties(filepath string, trainerParties []*TrainerParty) error
- func SaveTrainers(filepath string, trainers []*Trainer) error
- type PokemonSpeciesInfo
- type Trainer
- type TrainerMon
- type TrainerParty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveAll ¶
func SaveAll(trainerFilePath string, trainerPartiesFilePath string, trainers []*Trainer, trainerParties []*TrainerParty) error
func SaveTrainerParties ¶
func SaveTrainerParties(filepath string, trainerParties []*TrainerParty) error
func SaveTrainers ¶
Types ¶
type PokemonSpeciesInfo ¶ added in v1.1.1
type PokemonSpeciesInfo struct { Species string BaseHp uint64 BaseAtk uint64 BaseDef uint64 BaseSpd uint64 BaseSpAtk uint64 BaseSpDef uint64 Types [2]string }
func TemplateSpeciesInfo ¶ added in v1.1.1
func TemplateSpeciesInfo() *PokemonSpeciesInfo
func (*PokemonSpeciesInfo) String ¶ added in v1.1.1
func (sp *PokemonSpeciesInfo) String() string
type Trainer ¶
type Trainer struct { TrainerKey string TrainerClass string EncounterMusicGender string TrainerPic string TrainerName string Items [4]string DoubleBattle bool AiFlags []string Party string }
func (*Trainer) GetPartyName ¶
type TrainerMon ¶
type TrainerMon struct { Iv [6]uint64 Lvl uint64 Species string Ev [6]uint64 HeldItem string Moves [4]string Ability string IsShiny bool }
func TemplateMon ¶
func TemplateMon() *TrainerMon
func (*TrainerMon) CalculateEvTotal ¶
func (mon *TrainerMon) CalculateEvTotal() int
func (*TrainerMon) CalculateIvTotal ¶
func (mon *TrainerMon) CalculateIvTotal() int
func (*TrainerMon) String ¶
func (mon *TrainerMon) String() string
type TrainerParty ¶
type TrainerParty struct { Trainer string Party []*TrainerMon }
func (*TrainerParty) String ¶
func (t *TrainerParty) String() string
Click to show internal directories.
Click to hide internal directories.