#include <recruitment.hpp>
Public Member Functions | |
recruit_limit (std::vector< std::string > t, std::string id, int lim) | |
config | to_config () const |
std::string | get_id () const |
std::string | get_name () const |
std::string | get_engine () const |
Public Member Functions inherited from ai::component | |
component () | |
virtual | ~component () |
virtual component * | get_child (const path_element &child) |
virtual std::vector< component * > | get_children (const std::string &type) |
virtual std::vector< std::string > | get_children_types () |
virtual bool | change_child (const path_element &child, const config &cfg) |
virtual bool | add_child (const path_element &child, const config &cfg) |
virtual bool | delete_child (const path_element &child) |
property_handler_map & | property_handlers () |
Public Attributes | |
std::vector< std::string > | types |
std::string | id |
int | limit |
Definition at line 151 of file recruitment.hpp.
|
inline |
Definition at line 155 of file recruitment.hpp.
|
inlinevirtual |
Implements ai::component.
Definition at line 171 of file recruitment.hpp.
|
inlinevirtual |
|
inlinevirtual |
Implements ai::component.
Definition at line 170 of file recruitment.hpp.
|
inline |
Definition at line 158 of file recruitment.hpp.
References id, utils::join(), and limit.
std::string ai::default_recruitment::recruit_limit::id |
Definition at line 153 of file recruitment.hpp.
Referenced by get_id(), and to_config().
int ai::default_recruitment::recruit_limit::limit |
Definition at line 154 of file recruitment.hpp.
Referenced by to_config().
std::vector<std::string> ai::default_recruitment::recruit_limit::types |
Definition at line 152 of file recruitment.hpp.