![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <PokemonInfo.hpp>
Public Member Functions | |
| PokemonInfo () | |
| PokemonInfo (const ID &id) | |
| void | InitMoveSet (PokemonMoveSet &moveSet, const UInt16 &level) |
| bool | CanEvolve () const |
| void | PrintBaseStats () |
| void | PrintBaseSkills () |
ICloneable members. | |
| virtual PokemonInfo * | Clone () const |
Setters. | |
| void | SetID (const ID &id) |
| Setters. | |
| void | SetName (const String &name) |
| void | SetDescription (const String &description) |
| void | SetSpecies (const String &species) |
| void | SetGenderProbability (const float &value) |
| void | SetHeight (const float &value) |
| void | SetWeight (const float &value) |
| void | SetExperience (const int &value) |
| void | SetExperienceType (const ExperienceType &value) |
| void | SetRarity (const int &value) |
| void | SetHitPoint (const int &value) |
| void | SetAttack (const int &value) |
| void | SetDefense (const int &value) |
| void | SetSpecialAttack (const int &value) |
| void | SetSpecialDefense (const int &value) |
| void | SetSpeed (const int &value) |
| void | SetHitPointEV (const int &value) |
| void | SetAttackEV (const int &value) |
| void | SetDefenseEV (const int &value) |
| void | SetSpecialAttackEV (const int &value) |
| void | SetSpecialDefenseEV (const int &value) |
| void | SetSpeedEV (const int &value) |
| void | SetType1 (const int &value) |
| void | SetType2 (const int &value) |
| void | AddBaseSkill (const UInt16 level, const ID &skillID) |
| void | SetEvolutionLevel (UInt16 value) |
| void | SetPokemonEvolutionID (const ID &value) |
| void | SetIconPath (const yap::String &value) |
| void | SetMaleFrontPath (const yap::String &value) |
| void | SetMaleBackPath (const yap::String &value) |
| void | SetShinyMaleFrontPath (const yap::String &value) |
| void | SetShinyMaleBackPath (const yap::String &value) |
| void | SetFemaleFrontPath (const yap::String &value) |
| void | SetFemaleBackPath (const yap::String &value) |
| void | SetShinyFemaleFrontPath (const yap::String &value) |
| void | SetShinyFemaleBackPath (const yap::String &value) |
Getters. | |
| const ID & | GetID () const |
| Getters. | |
| const String & | GetName () const |
| const String & | GetDescription () const |
| const String & | GetSpecies () const |
| const float & | GetGenderProbability () const |
| const float & | GetHeight () const |
| const float & | GetWeight () const |
| const int & | GetExperience () const |
| const ExperienceType & | GetExperienceType () const |
| const int & | GetRarity () const |
| const int & | GetHitPoint () const |
| const int & | GetAttack () const |
| const int & | GetDefense () const |
| const int & | GetSpecialAttack () const |
| const int & | GetSpecialDefense () const |
| const int & | GetSpeed () const |
| const int & | GetHitPointEV () const |
| const int & | GetAttackEV () const |
| const int & | GetDefenseEV () const |
| const int & | GetSpecialAttackEV () const |
| const int & | GetSpecialDefenseEV () const |
| const int & | GetSpeedEV () const |
| const int & | GetType1 () const |
| const int & | GetType2 () const |
| const collection::List< ID > * | GetNewSkills (const UInt16 &level) const |
| const UInt16 & | GetEvolutionLevel () const |
| const ID & | GetPokemonEvolutionID () const |
| const yap::String & | GetIconPath () const |
| const yap::String & | GetMaleFrontPath () const |
| const yap::String & | GetMaleBackPath () const |
| const yap::String & | GetShinyMaleFrontPath () const |
| const yap::String & | GetShinyMaleBackPath () const |
| const yap::String & | GetFemaleFrontPath () const |
| const yap::String & | GetFemaleBackPath () const |
| const yap::String & | GetShinyFemaleFrontPath () const |
| const yap::String & | GetShinyFemaleBackPath () const |
Public Member Functions inherited from yap::IIDLoadable | |
| virtual | ~IIDLoadable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Static Public Attributes | |
| static const UInt16 | MAX_MOVE_NUMBER = 4 |
Protected Member Functions | |
| PokemonInfo (const PokemonInfo ©) | |
Private Attributes | |
| ID | pokedexID_ |
| String | name_ |
| String | description_ |
| String | species_ |
| float | genderProbability_ |
| float | height_ |
| float | weight_ |
| int | experience_ |
| ExperienceType | experienceType_ |
| UInt16 | evolutionLevel_ |
| ID | pokemonEvolutionID_ |
| int | rarity_ |
| int | baseHitPoint_ |
| int | baseAttack_ |
| int | baseDefense_ |
| int | baseSpecialAttack_ |
| int | baseSpecialDefense_ |
| int | baseSpeed_ |
| int | hitPointEV_ |
| int | attackEV_ |
| int | defenseEV_ |
| int | specialAttackEV_ |
| int | specialDefenseEV_ |
| int | speedEV_ |
| int | type1_ |
| int | type2_ |
| collection::Map< UInt16, collection::List< ID > > | baseSkills_ |
Graphic fields. | |
| yap::String | iconPath_ |
Male Pokemon battle sprite strings. | |
| yap::String | maleFrontPath_ |
| yap::String | maleBackPath_ |
| yap::String | shinyMaleFrontPath_ |
| yap::String | shinyMaleBackPath_ |
Female Pokemon battle sprite strings. | |
| yap::String | femaleFrontPath_ |
| yap::String | femaleBackPath_ |
| yap::String | shinyFemaleFrontPath_ |
| yap::String | shinyFemaleBackPath_ |
Static Private Attributes | |
| static const int | INITIAL_BASE_STATS_VALUE = 0 |
| static const int | INITIAL_BASE_EV_VALUE = 0 |
Definition at line 19 of file PokemonInfo.hpp.
| yap::PokemonInfo::PokemonInfo | ( | ) |
Reimplemented in ycl::PokemonInfo.
Definition at line 10 of file PokemonInfo.cpp.
| yap::PokemonInfo::PokemonInfo | ( | const ID & | id | ) |
Reimplemented in ycl::PokemonInfo.
Definition at line 50 of file PokemonInfo.cpp.
|
protected |
Definition at line 90 of file PokemonInfo.cpp.
Definition at line 416 of file PokemonInfo.cpp.
| bool yap::PokemonInfo::CanEvolve | ( | ) | const |
|
virtual |
Implements yap::ICloneable.
Definition at line 130 of file PokemonInfo.cpp.
| const int & yap::PokemonInfo::GetAttack | ( | ) | const |
| const int & yap::PokemonInfo::GetAttackEV | ( | ) | const |
Definition at line 264 of file PokemonInfo.cpp.
| const int & yap::PokemonInfo::GetDefense | ( | ) | const |
| const int & yap::PokemonInfo::GetDefenseEV | ( | ) | const |
Definition at line 269 of file PokemonInfo.cpp.
| const String & yap::PokemonInfo::GetDescription | ( | ) | const |
Definition at line 170 of file PokemonInfo.cpp.
| const UInt16 & yap::PokemonInfo::GetEvolutionLevel | ( | ) | const |
| const int & yap::PokemonInfo::GetExperience | ( | ) | const |
Definition at line 195 of file PokemonInfo.cpp.
| const ExperienceType & yap::PokemonInfo::GetExperienceType | ( | ) | const |
| const yap::String & yap::PokemonInfo::GetFemaleBackPath | ( | ) | const |
| const yap::String & yap::PokemonInfo::GetFemaleFrontPath | ( | ) | const |
| const float & yap::PokemonInfo::GetGenderProbability | ( | ) | const |
| const float & yap::PokemonInfo::GetHeight | ( | ) | const |
Definition at line 185 of file PokemonInfo.cpp.
| const int & yap::PokemonInfo::GetHitPoint | ( | ) | const |
| const int & yap::PokemonInfo::GetHitPointEV | ( | ) | const |
Definition at line 259 of file PokemonInfo.cpp.
| const yap::String & yap::PokemonInfo::GetIconPath | ( | ) | const |
| const ID & yap::PokemonInfo::GetID | ( | ) | const |
Getters.
Definition at line 160 of file PokemonInfo.cpp.
| const yap::String & yap::PokemonInfo::GetMaleBackPath | ( | ) | const |
| const yap::String & yap::PokemonInfo::GetMaleFrontPath | ( | ) | const |
| const String & yap::PokemonInfo::GetName | ( | ) | const |
| const collection::List< ID > * yap::PokemonInfo::GetNewSkills | ( | const UInt16 & | level | ) | const |
Definition at line 250 of file PokemonInfo.cpp.
| const ID & yap::PokemonInfo::GetPokemonEvolutionID | ( | ) | const |
| const int & yap::PokemonInfo::GetRarity | ( | ) | const |
Definition at line 205 of file PokemonInfo.cpp.
| const yap::String & yap::PokemonInfo::GetShinyFemaleBackPath | ( | ) | const |
| const yap::String & yap::PokemonInfo::GetShinyFemaleFrontPath | ( | ) | const |
| const yap::String & yap::PokemonInfo::GetShinyMaleBackPath | ( | ) | const |
| const yap::String & yap::PokemonInfo::GetShinyMaleFrontPath | ( | ) | const |
| const int & yap::PokemonInfo::GetSpecialAttack | ( | ) | const |
| const int & yap::PokemonInfo::GetSpecialAttackEV | ( | ) | const |
Definition at line 274 of file PokemonInfo.cpp.
| const int & yap::PokemonInfo::GetSpecialDefense | ( | ) | const |
| const int & yap::PokemonInfo::GetSpecialDefenseEV | ( | ) | const |
Definition at line 279 of file PokemonInfo.cpp.
| const String & yap::PokemonInfo::GetSpecies | ( | ) | const |
Definition at line 175 of file PokemonInfo.cpp.
| const int & yap::PokemonInfo::GetSpeed | ( | ) | const |
| const int & yap::PokemonInfo::GetSpeedEV | ( | ) | const |
Definition at line 284 of file PokemonInfo.cpp.
| const int & yap::PokemonInfo::GetType1 | ( | ) | const |
| const int & yap::PokemonInfo::GetType2 | ( | ) | const |
| const float & yap::PokemonInfo::GetWeight | ( | ) | const |
Definition at line 190 of file PokemonInfo.cpp.
| void yap::PokemonInfo::InitMoveSet | ( | PokemonMoveSet & | moveSet, |
| const UInt16 & | level | ||
| ) |
Definition at line 135 of file PokemonInfo.cpp.
| void yap::PokemonInfo::PrintBaseSkills | ( | ) |
| void yap::PokemonInfo::PrintBaseStats | ( | ) |
| void yap::PokemonInfo::SetAttack | ( | const int & | value | ) |
| void yap::PokemonInfo::SetAttackEV | ( | const int & | value | ) |
| void yap::PokemonInfo::SetDefense | ( | const int & | value | ) |
| void yap::PokemonInfo::SetDefenseEV | ( | const int & | value | ) |
| void yap::PokemonInfo::SetDescription | ( | const String & | description | ) |
| void yap::PokemonInfo::SetEvolutionLevel | ( | UInt16 | value | ) |
| void yap::PokemonInfo::SetExperience | ( | const int & | value | ) |
| void yap::PokemonInfo::SetExperienceType | ( | const ExperienceType & | value | ) |
| void yap::PokemonInfo::SetFemaleBackPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetFemaleFrontPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetGenderProbability | ( | const float & | value | ) |
| void yap::PokemonInfo::SetHeight | ( | const float & | value | ) |
| void yap::PokemonInfo::SetHitPoint | ( | const int & | value | ) |
| void yap::PokemonInfo::SetHitPointEV | ( | const int & | value | ) |
| void yap::PokemonInfo::SetIconPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetID | ( | const ID & | id | ) |
Setters.
Definition at line 326 of file PokemonInfo.cpp.
| void yap::PokemonInfo::SetMaleBackPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetMaleFrontPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetName | ( | const String & | name | ) |
| void yap::PokemonInfo::SetPokemonEvolutionID | ( | const ID & | value | ) |
| void yap::PokemonInfo::SetRarity | ( | const int & | value | ) |
| void yap::PokemonInfo::SetShinyFemaleBackPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetShinyFemaleFrontPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetShinyMaleBackPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetShinyMaleFrontPath | ( | const yap::String & | value | ) |
| void yap::PokemonInfo::SetSpecialAttack | ( | const int & | value | ) |
| void yap::PokemonInfo::SetSpecialAttackEV | ( | const int & | value | ) |
| void yap::PokemonInfo::SetSpecialDefense | ( | const int & | value | ) |
| void yap::PokemonInfo::SetSpecialDefenseEV | ( | const int & | value | ) |
| void yap::PokemonInfo::SetSpecies | ( | const String & | species | ) |
| void yap::PokemonInfo::SetSpeed | ( | const int & | value | ) |
| void yap::PokemonInfo::SetSpeedEV | ( | const int & | value | ) |
| void yap::PokemonInfo::SetType1 | ( | const int & | value | ) |
| void yap::PokemonInfo::SetType2 | ( | const int & | value | ) |
| void yap::PokemonInfo::SetWeight | ( | const float & | value | ) |
|
private |
Definition at line 150 of file PokemonInfo.hpp.
|
private |
Definition at line 144 of file PokemonInfo.hpp.
|
private |
Definition at line 145 of file PokemonInfo.hpp.
|
private |
Definition at line 143 of file PokemonInfo.hpp.
|
private |
Definition at line 157 of file PokemonInfo.hpp.
|
private |
Definition at line 146 of file PokemonInfo.hpp.
|
private |
Definition at line 147 of file PokemonInfo.hpp.
|
private |
Definition at line 148 of file PokemonInfo.hpp.
|
private |
Definition at line 151 of file PokemonInfo.hpp.
|
private |
Definition at line 133 of file PokemonInfo.hpp.
|
private |
Definition at line 140 of file PokemonInfo.hpp.
|
private |
Definition at line 138 of file PokemonInfo.hpp.
|
private |
Definition at line 139 of file PokemonInfo.hpp.
|
private |
Definition at line 174 of file PokemonInfo.hpp.
|
private |
Definition at line 173 of file PokemonInfo.hpp.
|
private |
Definition at line 135 of file PokemonInfo.hpp.
|
private |
Definition at line 136 of file PokemonInfo.hpp.
|
private |
Definition at line 149 of file PokemonInfo.hpp.
|
private |
Definition at line 161 of file PokemonInfo.hpp.
|
staticprivate |
Definition at line 182 of file PokemonInfo.hpp.
|
staticprivate |
Definition at line 181 of file PokemonInfo.hpp.
|
private |
Definition at line 166 of file PokemonInfo.hpp.
|
private |
Definition at line 165 of file PokemonInfo.hpp.
|
static |
Definition at line 124 of file PokemonInfo.hpp.
|
private |
Definition at line 132 of file PokemonInfo.hpp.
|
private |
Definition at line 131 of file PokemonInfo.hpp.
|
private |
Definition at line 141 of file PokemonInfo.hpp.
|
private |
Definition at line 142 of file PokemonInfo.hpp.
|
private |
Definition at line 176 of file PokemonInfo.hpp.
|
private |
Definition at line 175 of file PokemonInfo.hpp.
|
private |
Definition at line 168 of file PokemonInfo.hpp.
|
private |
Definition at line 167 of file PokemonInfo.hpp.
|
private |
Definition at line 152 of file PokemonInfo.hpp.
|
private |
Definition at line 153 of file PokemonInfo.hpp.
|
private |
Definition at line 134 of file PokemonInfo.hpp.
|
private |
Definition at line 154 of file PokemonInfo.hpp.
|
private |
Definition at line 155 of file PokemonInfo.hpp.
|
private |
Definition at line 156 of file PokemonInfo.hpp.
|
private |
Definition at line 137 of file PokemonInfo.hpp.