YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::SkillInfo Class Reference

#include <SkillInfo.hpp>

Inheritance diagram for yap::SkillInfo:
Collaboration diagram for yap::SkillInfo:

List of all members.

Public Member Functions

 SkillInfo ()
 SkillInfo (const ID &id)
 SkillInfo (const SkillInfo &copy)
const IDGetID () const
 Getters.
const StringGetName () const
const StringGetDescription () const
const UInt16GetPower () const
const UInt16GetPP () const
const UInt16GetMaxPP () const
const UInt16GetAccuracy () const
const TypeInfoGetType () const
const UInt16GetCategory () const
const UInt16GetTarget () const
const UInt16GetEffect () const
const UInt16GetUse () const
const UInt16GetPriority () 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 SkillInfoClone () 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

Detailed Description

Definition at line 13 of file SkillInfo.hpp.


Constructor & Destructor Documentation

yap::SkillInfo::SkillInfo ( )

Definition at line 19 of file SkillInfo.cpp.

Here is the caller graph for this function:

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.


Member Function Documentation

SkillInfo * yap::SkillInfo::Clone ( ) const
virtual

Implements yap::ICloneable.

Definition at line 72 of file SkillInfo.cpp.

Here is the call graph for this function:

const UInt16 & yap::SkillInfo::GetAccuracy ( ) const

Definition at line 109 of file SkillInfo.cpp.

const UInt16 & yap::SkillInfo::GetCategory ( ) const

Definition at line 119 of file SkillInfo.cpp.

Here is the caller graph for this function:

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

Definition at line 104 of file SkillInfo.cpp.

Here is the caller graph for this function:

const String & yap::SkillInfo::GetName ( ) const

Definition at line 84 of file SkillInfo.cpp.

Here is the caller graph for this function:

const UInt16 & yap::SkillInfo::GetPower ( ) const

Definition at line 94 of file SkillInfo.cpp.

Here is the caller graph for this function:

const UInt16 & yap::SkillInfo::GetPP ( ) const

Definition at line 99 of file SkillInfo.cpp.

Here is the caller graph for this function:

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

Definition at line 114 of file SkillInfo.cpp.

Here is the caller graph for this function:

const UInt16 & yap::SkillInfo::GetUse ( ) const

Definition at line 134 of file SkillInfo.cpp.

void yap::SkillInfo::SetAccuracy ( const UInt16 value)

Definition at line 175 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetCategory ( const UInt16 value)

Definition at line 185 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetDescription ( const String description)

Definition at line 155 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetEffect ( const UInt16 value)

Definition at line 195 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetID ( const ID id)

Setters.

Definition at line 145 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetMaxPP ( const UInt16 value)

Definition at line 170 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetName ( const String name)

Definition at line 150 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetPower ( const UInt16 value)

Definition at line 160 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetPP ( const UInt16 value)

Definition at line 165 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetPriority ( const UInt16 value)

Definition at line 205 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetTarget ( const UInt16 value)

Definition at line 190 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetType ( const TypeInfo value)

Definition at line 180 of file SkillInfo.cpp.

Here is the caller graph for this function:

void yap::SkillInfo::SetUse ( const UInt16 value)

Definition at line 200 of file SkillInfo.cpp.

Here is the caller graph for this function:


Member Data Documentation

UInt16 yap::SkillInfo::accuracy_
private

Definition at line 62 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::category_
private

Definition at line 64 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_ACCURACY = 0
staticprivate

Definition at line 76 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_CATEGORY = 0
staticprivate

Definition at line 78 of file SkillInfo.hpp.

const String yap::SkillInfo::DEFAULT_DESCRIPTION = "-"
staticprivate

Definition at line 72 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_EFFECT = 0
staticprivate

Definition at line 80 of file SkillInfo.hpp.

const ID yap::SkillInfo::DEFAULT_ID
staticprivate

Definition at line 70 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_MAX_PP = 0
staticprivate

Definition at line 75 of file SkillInfo.hpp.

const String yap::SkillInfo::DEFAULT_NAME = "-"
staticprivate

Definition at line 71 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_POWER = 0
staticprivate

Definition at line 73 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_PP = 0
staticprivate

Definition at line 74 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_PRIORITY = 0
staticprivate

Definition at line 82 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_TARGET = 0
staticprivate

Definition at line 79 of file SkillInfo.hpp.

const TypeInfo yap::SkillInfo::DEFAULT_TYPE = TypeInfo (ID (100))
staticprivate

Definition at line 77 of file SkillInfo.hpp.

const UInt16 yap::SkillInfo::DEFAULT_USE = 0
staticprivate

Definition at line 81 of file SkillInfo.hpp.

String yap::SkillInfo::description_
private

Definition at line 58 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::effect_
private

Definition at line 66 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::maxPP_
private

Definition at line 61 of file SkillInfo.hpp.

String yap::SkillInfo::name_
private

Definition at line 57 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::power_
private

Definition at line 59 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::pp_
private

Definition at line 60 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::priority_
private

Definition at line 68 of file SkillInfo.hpp.

ID yap::SkillInfo::staticID_
private

Definition at line 56 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::target_
private

Definition at line 65 of file SkillInfo.hpp.

TypeInfo yap::SkillInfo::type_
private

Definition at line 63 of file SkillInfo.hpp.

UInt16 yap::SkillInfo::use_
private

Definition at line 67 of file SkillInfo.hpp.


The documentation for this class was generated from the following files: