YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
SkillInfo.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_SKILLINFO_HPP
2
# define YAPOG_SKILLINFO_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/ID.hpp
"
6
# include "
YAPOG/System/String.hpp
"
7
# include "
YAPOG/System/IntTypes.hpp
"
8
# include "
YAPOG/Game/Factory/IIDLoadable.hpp
"
9
# include "
YAPOG/Game/Pokemon/TypeInfo.hpp
"
10
11
namespace
yap
12
{
13
class
YAPOG_LIB
SkillInfo
:
public
IIDLoadable
14
{
15
public
:
16
SkillInfo
();
17
SkillInfo
(
const
ID
&
id
);
18
SkillInfo
(
const
SkillInfo
& copy);
19
22
virtual
SkillInfo
* Clone ()
const
;
24
26
const
ID
& GetID ()
const
;
27
const
String
& GetName ()
const
;
28
const
String
& GetDescription ()
const
;
29
const
UInt16
& GetPower ()
const
;
30
const
UInt16
& GetPP ()
const
;
31
const
UInt16
& GetMaxPP ()
const
;
32
const
UInt16
& GetAccuracy ()
const
;
33
const
TypeInfo
& GetType ()
const
;
34
const
UInt16
& GetCategory ()
const
;
35
const
UInt16
& GetTarget ()
const
;
36
const
UInt16
& GetEffect ()
const
;
37
const
UInt16
& GetUse ()
const
;
38
const
UInt16
& GetPriority ()
const
;
39
41
void
SetID (
const
ID
&
id
);
42
void
SetName (
const
String
& name);
43
void
SetDescription (
const
String
& description);
44
void
SetPower (
const
UInt16
& value);
45
void
SetPP (
const
UInt16
& value);
46
void
SetMaxPP (
const
UInt16
& value);
47
void
SetAccuracy (
const
UInt16
& value);
48
void
SetType (
const
TypeInfo
& value);
49
void
SetCategory (
const
UInt16
& value);
50
void
SetTarget (
const
UInt16
& value);
51
void
SetEffect (
const
UInt16
& value);
52
void
SetUse (
const
UInt16
& value);
53
void
SetPriority (
const
UInt16
& value);
54
55
private
:
56
ID
staticID_
;
57
String
name_
;
58
String
description_
;
59
UInt16
power_
;
60
UInt16
pp_
;
61
UInt16
maxPP_
;
62
UInt16
accuracy_
;
63
TypeInfo
type_
;
64
UInt16
category_
;
65
UInt16
target_
;
66
UInt16
effect_
;
67
UInt16
use_
;
68
UInt16
priority_
;
69
70
static
const
ID
DEFAULT_ID
;
71
static
const
String
DEFAULT_NAME
;
72
static
const
String
DEFAULT_DESCRIPTION
;
73
static
const
UInt16
DEFAULT_POWER
;
74
static
const
UInt16
DEFAULT_PP
;
75
static
const
UInt16
DEFAULT_MAX_PP
;
76
static
const
UInt16
DEFAULT_ACCURACY
;
77
static
const
TypeInfo
DEFAULT_TYPE
;
78
static
const
UInt16
DEFAULT_CATEGORY
;
79
static
const
UInt16
DEFAULT_TARGET
;
80
static
const
UInt16
DEFAULT_EFFECT
;
81
static
const
UInt16
DEFAULT_USE
;
82
static
const
UInt16
DEFAULT_PRIORITY
;
83
};
84
}
// namespace yap
85
86
#endif // YAPOG_SKILLINFO_HPP
YAPOG
include
YAPOG
Game
Pokemon
SkillInfo.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1