party Class Reference

Public party data of a party in the game. More...

#include <party.h>

List of all members.

Public Member Functions

void save (channel *ch)
 Save the data of this party.
 party ()
const string getName () const
void setName (const string v)
class persongetPlayers (const string v)
map< string, class
person > & 
listPlayers ()
void setPlayers (class person &v)
void delPlayers (const string v)
const bool isPlayers (const string v) const
const int getColor () const
void setColor (const int v)
class armygetCapital () const
void setCapital (class army &v)
void save (class channel &ch)
void load (class channel &ch)
void xml (ofstream &f, int l=0, int r=0)
 party ()
const string getName () const
void setName (const string v)
class persongetPlayers (const string v)
map< string, class
person > & 
listPlayers ()
void setPlayers (class person &v)
void delPlayers (const string v)
const bool isPlayers (const string v) const
const int getColor () const
void setColor (const int v)
class armygetCapital () const
void setCapital (class army &v)
void save (class channel &ch)
void load (class channel &ch)
void xml (ofstream &f, int l=0, int r=0)

Public Attributes

std::string name
 Name of the party.
std::string description
 Why should people join this party.


Detailed Description

Public party data of a party in the game.

Constructor & Destructor Documentation

party::party (  ) 

party::party (  ) 


Member Function Documentation

void party::save ( channel ch  ) 

Save the data of this party.

const string party::getName (  )  const

void party::setName ( const string  v  ) 

class person & party::getPlayers ( const string  v  ) 

map< string, class person > & party::listPlayers (  ) 

void party::setPlayers ( class person v  ) 

void party::delPlayers ( const string  v  ) 

const bool party::isPlayers ( const string  v  )  const

const int party::getColor (  )  const

void party::setColor ( const int  v  ) 

class army & party::getCapital (  )  const

void party::setCapital ( class army v  ) 

void party::save ( class channel ch  ) 

void party::load ( class channel ch  ) 

void party::xml ( ofstream &  f,
int  l = 0,
int  r = 0 
)

const string party::getName (  )  const

void party::setName ( const string  v  ) 

class person& party::getPlayers ( const string  v  ) 

map<string,class person>& party::listPlayers (  ) 

void party::setPlayers ( class person v  ) 

void party::delPlayers ( const string  v  ) 

const bool party::isPlayers ( const string  v  )  const

const int party::getColor (  )  const

void party::setColor ( const int  v  ) 

class army& party::getCapital (  )  const

void party::setCapital ( class army v  ) 

void party::save ( class channel ch  ) 

void party::load ( class channel ch  ) 

void party::xml ( ofstream &  f,
int  l = 0,
int  r = 0 
)


Member Data Documentation

string party::name

Name of the party.

std::string party::description

Why should people join this party.


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

Generated on Tue Jan 1 17:30:01 2008 for party Class Reference by  doxygen   Visit the project page on SourceForge.net Logo