#include <aspect_advancements.hpp>
Public Member Functions | |
unit_advancements_aspect () | |
unit_advancements_aspect (lua_State *L, int n) | |
unit_advancements_aspect (const std::string &val) | |
const std::vector< std::string > | get_advancements (const unit_map::const_iterator &unit) const |
virtual | ~unit_advancements_aspect () |
const std::string | get_value () const |
Private Attributes | |
std::string | val_ |
lua_State * | L_ |
int | ref_ |
Definition at line 27 of file aspect_advancements.hpp.
ai::unit_advancements_aspect::unit_advancements_aspect | ( | ) |
Definition at line 36 of file aspect_advancements.cpp.
ai::unit_advancements_aspect::unit_advancements_aspect | ( | lua_State * | L, |
int | n | ||
) |
Definition at line 41 of file aspect_advancements.cpp.
ai::unit_advancements_aspect::unit_advancements_aspect | ( | const std::string & | val | ) |
Definition at line 53 of file aspect_advancements.cpp.
|
virtual |
Definition at line 57 of file aspect_advancements.cpp.
const std::vector< std::string > ai::unit_advancements_aspect::get_advancements | ( | const unit_map::const_iterator & | unit | ) | const |
Definition at line 65 of file aspect_advancements.cpp.
References ERR_LUA, L_, LOG_LUA, ref_, utils::split(), and val_.
Referenced by ai::impl_ai_aspect_get().
const std::string ai::unit_advancements_aspect::get_value | ( | ) | const |
Definition at line 132 of file aspect_advancements.cpp.
References val_.
Referenced by ai::config_value_translator< unit_advancements_aspect >::value_to_cfg().
|
private |
Definition at line 39 of file aspect_advancements.hpp.
Referenced by get_advancements(), and ~unit_advancements_aspect().
|
private |
Definition at line 40 of file aspect_advancements.hpp.
Referenced by get_advancements(), unit_advancements_aspect(), and ~unit_advancements_aspect().
|
private |
Definition at line 38 of file aspect_advancements.hpp.
Referenced by get_advancements(), and get_value().