#include <party.h>
Public Member Functions | |
| void | save (channel *ch) |
| Save the data of this party. | |
| party () | |
| const string | getName () const |
| void | setName (const string v) |
| class person & | getPlayers (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 army & | getCapital () 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 person & | getPlayers (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 army & | getCapital () 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. | |
| party::party | ( | ) |
| party::party | ( | ) |
| const string party::getName | ( | ) | const |
| void party::setName | ( | const string | v | ) |
| class person & party::getPlayers | ( | const string | v | ) |
| 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 | ) |
| 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 | |||
| ) |
| string party::name |
Name of the party.
| std::string party::description |
Why should people join this party.
Visit the project page on