#include <action.h>
Public Types | |
enum | type_enum { type_free, type_tools, type_transport, type_building, type_free, type_tools, type_transport, type_building } |
enum | time_base_enum { time_base_second, time_base_minute, time_base_hour, time_base_day, time_base_week, time_base_month, time_base_year, time_base_second, time_base_minute, time_base_hour, time_base_day, time_base_week, time_base_month, time_base_year } |
enum | type_enum { type_free, type_tools, type_transport, type_building, type_free, type_tools, type_transport, type_building } |
enum | time_base_enum { time_base_second, time_base_minute, time_base_hour, time_base_day, time_base_week, time_base_month, time_base_year, time_base_second, time_base_minute, time_base_hour, time_base_day, time_base_week, time_base_month, time_base_year } |
Public Member Functions | |
action () | |
const string | getName () const |
void | setName (const string v) |
const string | getDescription () const |
void | setDescription (const string v) |
const int | getType () const |
const string | showType () const |
void | setType (const int v) |
void | setType (const string v) |
class skill & | getDeity () const |
void | setDeity (class skill &v) |
const int | getTime () const |
void | setTime (const int v) |
const int | getTime_base () const |
const string | showTime_base () const |
void | setTime_base (const int v) |
void | setTime_base (const string v) |
const int | getEndurance () const |
void | setEndurance (const int v) |
const int | getRange () const |
void | setRange (const int v) |
const int | getAiming () const |
void | setAiming (const int v) |
const int | getEnergy () const |
void | setEnergy (const int v) |
class action_skill & | getSkills (const string v) |
map< string, class action_skill > & | listSkills () |
void | setSkills (class action_skill &v) |
void | delSkills (const string v) |
const bool | isSkills (const string v) const |
class action_bonus & | getBonus (const int v) |
map< int, class action_bonus > & | listBonus () |
void | setBonus (class action_bonus &v) |
void | delBonus (const int v) |
const bool | isBonus (const int v) const |
void | save (class channel &ch) |
void | load (class channel &ch) |
void | xml (ofstream &f, int l=0, int r=0) |
action () | |
const string | getName () const |
void | setName (const string v) |
const string | getDescription () const |
void | setDescription (const string v) |
const int | getType () const |
const string | showType () const |
void | setType (const int v) |
void | setType (const string v) |
class skill & | getDeity () const |
void | setDeity (class skill &v) |
const int | getTime () const |
void | setTime (const int v) |
const int | getTime_base () const |
const string | showTime_base () const |
void | setTime_base (const int v) |
void | setTime_base (const string v) |
const int | getEndurance () const |
void | setEndurance (const int v) |
const int | getRange () const |
void | setRange (const int v) |
const int | getAiming () const |
void | setAiming (const int v) |
const int | getEnergy () const |
void | setEnergy (const int v) |
class action_skill & | getSkills (const string v) |
map< string, class action_skill > & | listSkills () |
void | setSkills (class action_skill &v) |
void | delSkills (const string v) |
const bool | isSkills (const string v) const |
class action_bonus & | getBonus (const int v) |
map< int, class action_bonus > & | listBonus () |
void | setBonus (class action_bonus &v) |
void | delBonus (const int v) |
const bool | isBonus (const int v) const |
void | save (class channel &ch) |
void | load (class channel &ch) |
void | xml (ofstream &f, int l=0, int r=0) |
enum action::type_enum |
enum action::type_enum |
action::action | ( | ) |
action::action | ( | ) |
const string action::getName | ( | ) | const |
void action::setName | ( | const string | v | ) |
const string action::getDescription | ( | ) | const |
void action::setDescription | ( | const string | v | ) |
const int action::getType | ( | ) | const |
const string action::showType | ( | ) | const |
void action::setType | ( | const int | v | ) |
void action::setType | ( | const string | v | ) |
class skill & action::getDeity | ( | ) | const |
void action::setDeity | ( | class skill & | v | ) |
const int action::getTime | ( | ) | const |
void action::setTime | ( | const int | v | ) |
const int action::getTime_base | ( | ) | const |
const string action::showTime_base | ( | ) | const |
void action::setTime_base | ( | const int | v | ) |
void action::setTime_base | ( | const string | v | ) |
const int action::getEndurance | ( | ) | const |
void action::setEndurance | ( | const int | v | ) |
const int action::getRange | ( | ) | const |
void action::setRange | ( | const int | v | ) |
const int action::getAiming | ( | ) | const |
void action::setAiming | ( | const int | v | ) |
const int action::getEnergy | ( | ) | const |
void action::setEnergy | ( | const int | v | ) |
class action_skill & action::getSkills | ( | const string | v | ) |
map< string, class action_skill > & action::listSkills | ( | ) |
void action::setSkills | ( | class action_skill & | v | ) |
void action::delSkills | ( | const string | v | ) |
const bool action::isSkills | ( | const string | v | ) | const |
class action_bonus & action::getBonus | ( | const int | v | ) |
map< int, class action_bonus > & action::listBonus | ( | ) |
void action::setBonus | ( | class action_bonus & | v | ) |
void action::delBonus | ( | const int | v | ) |
const bool action::isBonus | ( | const int | v | ) | const |
void action::save | ( | class channel & | ch | ) |
void action::load | ( | class channel & | ch | ) |
void action::xml | ( | ofstream & | f, | |
int | l = 0 , |
|||
int | r = 0 | |||
) |
const string action::getName | ( | ) | const |
void action::setName | ( | const string | v | ) |
const string action::getDescription | ( | ) | const |
void action::setDescription | ( | const string | v | ) |
const int action::getType | ( | ) | const |
const string action::showType | ( | ) | const |
void action::setType | ( | const int | v | ) |
void action::setType | ( | const string | v | ) |
class skill& action::getDeity | ( | ) | const |
void action::setDeity | ( | class skill & | v | ) |
const int action::getTime | ( | ) | const |
void action::setTime | ( | const int | v | ) |
const int action::getTime_base | ( | ) | const |
const string action::showTime_base | ( | ) | const |
void action::setTime_base | ( | const int | v | ) |
void action::setTime_base | ( | const string | v | ) |
const int action::getEndurance | ( | ) | const |
void action::setEndurance | ( | const int | v | ) |
const int action::getRange | ( | ) | const |
void action::setRange | ( | const int | v | ) |
const int action::getAiming | ( | ) | const |
void action::setAiming | ( | const int | v | ) |
const int action::getEnergy | ( | ) | const |
void action::setEnergy | ( | const int | v | ) |
class action_skill& action::getSkills | ( | const string | v | ) |
map<string,class action_skill>& action::listSkills | ( | ) |
void action::setSkills | ( | class action_skill & | v | ) |
void action::delSkills | ( | const string | v | ) |
const bool action::isSkills | ( | const string | v | ) | const |
class action_bonus& action::getBonus | ( | const int | v | ) |
map<int,class action_bonus>& action::listBonus | ( | ) |
void action::setBonus | ( | class action_bonus & | v | ) |
void action::delBonus | ( | const int | v | ) |
const bool action::isBonus | ( | const int | v | ) | const |
void action::save | ( | class channel & | ch | ) |
void action::load | ( | class channel & | ch | ) |
void action::xml | ( | ofstream & | f, | |
int | l = 0 , |
|||
int | r = 0 | |||
) |