![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <SkillInfo.hpp>
Public Member Functions | |
| SkillInfo () | |
| SkillInfo (const ID &id) | |
| SkillInfo (const SkillInfo ©) | |
| const ID & | GetID () const |
| Getters. | |
| const String & | GetName () const |
| const String & | GetDescription () const |
| const UInt16 & | GetPower () const |
| const UInt16 & | GetPP () const |
| const UInt16 & | GetMaxPP () const |
| const UInt16 & | GetAccuracy () const |
| const TypeInfo & | GetType () const |
| const UInt16 & | GetCategory () const |
| const UInt16 & | GetTarget () const |
| const UInt16 & | GetEffect () const |
| const UInt16 & | GetUse () const |
| const UInt16 & | GetPriority () const |
| void | SetID (const ID &id) |
| Setters. | |
| void | SetName (const String &name) |
| void | SetDescription (const String &description) |
| void | SetPower (const UInt16 &value) |
| void | SetPP (const UInt16 &value) |
| void | SetMaxPP (const UInt16 &value) |
| void | SetAccuracy (const UInt16 &value) |
| void | SetType (const TypeInfo &value) |
| void | SetCategory (const UInt16 &value) |
| void | SetTarget (const UInt16 &value) |
| void | SetEffect (const UInt16 &value) |
| void | SetUse (const UInt16 &value) |
| void | SetPriority (const UInt16 &value) |
ICloneable members. | |
| virtual SkillInfo * | Clone () const |
Public Member Functions inherited from yap::IIDLoadable | |
| virtual | ~IIDLoadable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Private Attributes | |
| ID | staticID_ |
| String | name_ |
| String | description_ |
| UInt16 | power_ |
| UInt16 | pp_ |
| UInt16 | maxPP_ |
| UInt16 | accuracy_ |
| TypeInfo | type_ |
| UInt16 | category_ |
| UInt16 | target_ |
| UInt16 | effect_ |
| UInt16 | use_ |
| UInt16 | priority_ |
Static Private Attributes | |
| static const ID | DEFAULT_ID |
| static const String | DEFAULT_NAME = "-" |
| static const String | DEFAULT_DESCRIPTION = "-" |
| static const UInt16 | DEFAULT_POWER = 0 |
| static const UInt16 | DEFAULT_PP = 0 |
| static const UInt16 | DEFAULT_MAX_PP = 0 |
| static const UInt16 | DEFAULT_ACCURACY = 0 |
| static const TypeInfo | DEFAULT_TYPE = TypeInfo (ID (100)) |
| static const UInt16 | DEFAULT_CATEGORY = 0 |
| static const UInt16 | DEFAULT_TARGET = 0 |
| static const UInt16 | DEFAULT_EFFECT = 0 |
| static const UInt16 | DEFAULT_USE = 0 |
| static const UInt16 | DEFAULT_PRIORITY = 0 |
Definition at line 13 of file SkillInfo.hpp.
| yap::SkillInfo::SkillInfo | ( | ) |
| yap::SkillInfo::SkillInfo | ( | const ID & | id | ) |
Definition at line 36 of file SkillInfo.cpp.
| yap::SkillInfo::SkillInfo | ( | const SkillInfo & | copy | ) |
Definition at line 53 of file SkillInfo.cpp.
|
virtual |
Implements yap::ICloneable.
Definition at line 72 of file SkillInfo.cpp.
| const UInt16 & yap::SkillInfo::GetAccuracy | ( | ) | const |
Definition at line 109 of file SkillInfo.cpp.
| const UInt16 & yap::SkillInfo::GetCategory | ( | ) | const |
| const String & yap::SkillInfo::GetDescription | ( | ) | const |
Definition at line 89 of file SkillInfo.cpp.
| const UInt16 & yap::SkillInfo::GetEffect | ( | ) | const |
Definition at line 129 of file SkillInfo.cpp.
| const ID & yap::SkillInfo::GetID | ( | ) | const |
Getters.
Definition at line 79 of file SkillInfo.cpp.
| const UInt16 & yap::SkillInfo::GetMaxPP | ( | ) | const |
| const String & yap::SkillInfo::GetName | ( | ) | const |
| const UInt16 & yap::SkillInfo::GetPower | ( | ) | const |
| const UInt16 & yap::SkillInfo::GetPP | ( | ) | const |
| const UInt16 & yap::SkillInfo::GetPriority | ( | ) | const |
Definition at line 139 of file SkillInfo.cpp.
| const UInt16 & yap::SkillInfo::GetTarget | ( | ) | const |
Definition at line 124 of file SkillInfo.cpp.
| const TypeInfo & yap::SkillInfo::GetType | ( | ) | const |
| const UInt16 & yap::SkillInfo::GetUse | ( | ) | const |
Definition at line 134 of file SkillInfo.cpp.
| void yap::SkillInfo::SetAccuracy | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetCategory | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetDescription | ( | const String & | description | ) |
| void yap::SkillInfo::SetEffect | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetID | ( | const ID & | id | ) |
| void yap::SkillInfo::SetMaxPP | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetName | ( | const String & | name | ) |
| void yap::SkillInfo::SetPower | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetPP | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetPriority | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetTarget | ( | const UInt16 & | value | ) |
| void yap::SkillInfo::SetType | ( | const TypeInfo & | value | ) |
| void yap::SkillInfo::SetUse | ( | const UInt16 & | value | ) |
|
private |
Definition at line 62 of file SkillInfo.hpp.
|
private |
Definition at line 64 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 76 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 78 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 72 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 80 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 70 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 75 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 71 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 73 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 74 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 82 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 79 of file SkillInfo.hpp.
Definition at line 77 of file SkillInfo.hpp.
|
staticprivate |
Definition at line 81 of file SkillInfo.hpp.
|
private |
Definition at line 58 of file SkillInfo.hpp.
|
private |
Definition at line 66 of file SkillInfo.hpp.
|
private |
Definition at line 61 of file SkillInfo.hpp.
|
private |
Definition at line 57 of file SkillInfo.hpp.
|
private |
Definition at line 59 of file SkillInfo.hpp.
|
private |
Definition at line 60 of file SkillInfo.hpp.
|
private |
Definition at line 68 of file SkillInfo.hpp.
|
private |
Definition at line 56 of file SkillInfo.hpp.
|
private |
Definition at line 65 of file SkillInfo.hpp.
|
private |
Definition at line 63 of file SkillInfo.hpp.
|
private |
Definition at line 67 of file SkillInfo.hpp.