YAPOG  0.0.1
Yet Another Pokemon Online Game
yse::PlayerDataTable Class Reference

#include <PlayerDataTable.hpp>

Inheritance diagram for yse::PlayerDataTable:
Collaboration diagram for yse::PlayerDataTable:

List of all members.

Public Member Functions

 PlayerDataTable (const yap::ID &accountID)
void LoadFromPlayerData (const PlayerData &playerData)
void DisplayData ()
const yap::IDGetAccountID () const
 Getters.
const yap::Vector2GetPosition () const
const yap::IDGetMapID () const
int GetPlayTime () const
int GetStepCount () const
const yap::Vector2GetRespawnSpot () const
int GetFleeCount () const
int GetBoxNumber () const
int GetBattleCount () const
int GetMoney () const
void SetAccountID (const yap::ID &value)
 Setters.
void SetPosition (const yap::Vector2 &value)
void SetMapID (const yap::ID &value)
void SetPlayTime (int value)
void SetStepCount (int value)
void SetRespawnSpot (const yap::Vector2 &value)
void SetFleeCount (int value)
void SetBoxNumber (int value)
void SetBattleCount (int value)
void SetMoney (int value)
- Public Member Functions inherited from yse::ITable
virtual ~ITable ()

Private Member Functions

 DISALLOW_COPY (PlayerDataTable)

Private Attributes

yap::ID accountID_
yap::Vector2 position_
yap::ID mapID_
int playTime_
int stepCount_
yap::Vector2 respawnSpot_
int fleeCount_
int boxNumber_
int battleCount_
int money_

Detailed Description

Definition at line 13 of file PlayerDataTable.hpp.


Constructor & Destructor Documentation

yse::PlayerDataTable::PlayerDataTable ( const yap::ID accountID)
explicit

Definition at line 7 of file PlayerDataTable.cpp.


Member Function Documentation

yse::PlayerDataTable::DISALLOW_COPY ( PlayerDataTable  )
private
void yse::PlayerDataTable::DisplayData ( )

Definition at line 79 of file PlayerDataTable.cpp.

Here is the call graph for this function:

const yap::ID & yse::PlayerDataTable::GetAccountID ( ) const

Getters.

Definition at line 36 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

int yse::PlayerDataTable::GetBattleCount ( ) const

Definition at line 52 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

int yse::PlayerDataTable::GetBoxNumber ( ) const

Definition at line 50 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

int yse::PlayerDataTable::GetFleeCount ( ) const

Definition at line 48 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

const yap::ID & yse::PlayerDataTable::GetMapID ( ) const

Definition at line 40 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

int yse::PlayerDataTable::GetMoney ( ) const

Definition at line 54 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

int yse::PlayerDataTable::GetPlayTime ( ) const

Definition at line 42 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

const yap::Vector2 & yse::PlayerDataTable::GetPosition ( ) const

Definition at line 38 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

const yap::Vector2 & yse::PlayerDataTable::GetRespawnSpot ( ) const

Definition at line 46 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

int yse::PlayerDataTable::GetStepCount ( ) const

Definition at line 44 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::LoadFromPlayerData ( const PlayerData playerData)

Definition at line 21 of file PlayerDataTable.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yse::PlayerDataTable::SetAccountID ( const yap::ID value)

Setters.

Definition at line 58 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetBattleCount ( int  value)

Definition at line 74 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetBoxNumber ( int  value)

Definition at line 72 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetFleeCount ( int  value)

Definition at line 70 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetMapID ( const yap::ID value)

Definition at line 62 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetMoney ( int  value)

Definition at line 76 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetPlayTime ( int  value)

Definition at line 64 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetPosition ( const yap::Vector2 value)

Definition at line 60 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetRespawnSpot ( const yap::Vector2 value)

Definition at line 68 of file PlayerDataTable.cpp.

Here is the caller graph for this function:

void yse::PlayerDataTable::SetStepCount ( int  value)

Definition at line 66 of file PlayerDataTable.cpp.

Here is the caller graph for this function:


Member Data Documentation

yap::ID yse::PlayerDataTable::accountID_
private

Definition at line 48 of file PlayerDataTable.hpp.

int yse::PlayerDataTable::battleCount_
private

Definition at line 56 of file PlayerDataTable.hpp.

int yse::PlayerDataTable::boxNumber_
private

Definition at line 55 of file PlayerDataTable.hpp.

int yse::PlayerDataTable::fleeCount_
private

Definition at line 54 of file PlayerDataTable.hpp.

yap::ID yse::PlayerDataTable::mapID_
private

Definition at line 50 of file PlayerDataTable.hpp.

int yse::PlayerDataTable::money_
private

Definition at line 57 of file PlayerDataTable.hpp.

int yse::PlayerDataTable::playTime_
private

Definition at line 51 of file PlayerDataTable.hpp.

yap::Vector2 yse::PlayerDataTable::position_
private

Definition at line 49 of file PlayerDataTable.hpp.

yap::Vector2 yse::PlayerDataTable::respawnSpot_
private

Definition at line 53 of file PlayerDataTable.hpp.

int yse::PlayerDataTable::stepCount_
private

Definition at line 52 of file PlayerDataTable.hpp.


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