YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PokemonTable.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_POKEMONTABLE_HPP
2
# define YAPOG_POKEMONTABLE_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/ID.hpp
"
6
# include "
YAPOG/System/String.hpp
"
7
# include "
YAPOG/Game/Pokemon/PokemonStatus.hpp
"
8
# include "
YAPOG/Game/Pokemon/Gender.hpp
"
9
10
# include "
Database/Tables/ITable.hpp
"
11
12
namespace
yap
13
{
14
class
PokemonStat;
15
class
PokemonMoveSet;
16
}
17
18
namespace
yse
19
{
20
class
Pokemon;
21
22
class
PokemonTable
:
public
ITable
23
{
24
DISALLOW_COPY
(
PokemonTable
);
25
public
:
26
PokemonTable
();
27
28
void
LoadFromPokemon
(
const
Pokemon
& pokemon);
29
30
Pokemon
*
CreatePokemon
(
31
const
yap::String
& trainerName,
32
const
yap::PokemonStat
& stats,
33
const
yap::PokemonMoveSet
& moveSet);
34
35
yap::ID
accountID_
;
36
yap::ID
id_
;
37
yap::ID
staticID_
;
38
yap::uint
experience_
;
39
yap::UInt16
hp_
;
40
yap::Gender
gender_
;
41
yap::String
nickname_
;
42
yap::PokemonStatus
status_
;
43
bool
shiny_
;
44
yap::Int16
loyalty_
;
45
yap::ID
nature_
;
46
yap::uint
tradingNumber_
;
47
yap::ID
traderAccountID_
;
48
yap::UInt8
boxNumber_
;
49
yap::ID
boxIndex_
;
50
yap::String
catchDate_
;
51
52
static
const
yap::ID
DEFAULT_ACCOUNT_ID
;
53
static
const
yap::ID
DEFAULT_ID
;
54
static
const
yap::ID
DEFAULT_STATIC_ID
;
55
static
const
yap::uint
DEFAULT_EXPERIENCE
;
56
static
const
yap::UInt16
DEFAULT_HP
;
57
static
const
yap::Gender
DEFAULT_GENDER
;
58
static
const
yap::String
DEFAULT_NICKNAME
;
59
static
const
yap::PokemonStatus
DEFAULT_STATUS
;
60
static
const
bool
DEFAULT_SHINY
;
61
static
const
yap::Int16
DEFAULT_LOYALTY
;
62
static
const
yap::ID
DEFAULT_NATURE
;
63
static
const
yap::uint
DEFAULT_TRADING_NUMBER
;
64
static
const
yap::ID
DEFAULT_TRADER_ACCOUNT_ID
;
65
static
const
yap::UInt8
DEFAULT_BOX_NUMBER
;
66
static
const
yap::ID
DEFAULT_BOX_INDEX
;
67
static
const
yap::String
DEFAULT_CATCH_DATE
;
68
};
69
}
// namespace yse
70
71
#endif // YAPOG_POKEMONTABLE_HPP
YAPOG.Server
include
Database
Tables
PokemonTable.hpp
Generated on Mon Sep 17 2012 22:24:22 for YAPOG by
1.8.1.1