49 void set_callback(
const std::string & name,
const std::function<
void(
config)>&
function,
bool preserves_context);
A config object defines a single node in a WML file, with access to child nodes.
std::vector< Reg > reg_vec
void set_accessor_int(const std::string &name, const std::function< int(config)> &)
std::function< bool(config)> callback_function
std::vector< aReg > areg_vec
std::map< std::string, accessor_function > accessor_list
void set_callback(const std::string &name, callback_function)
std::size_t erase_callback(const std::string &name)
std::size_t erase_accessor(const std::string &name)
void set_accessor(const std::string &name, accessor_function)
void set_accessor_string(const std::string &name, const std::function< std::string(config)> &)
void set_callback_execute(class lua_kernel_base &kernel)
std::size_t clear_callbacks()
plugins_context(const std::string &name)
void initialize(const reg_vec &callbacks, const areg_vec &accessors)
std::map< std::string, callback_function > callback_list
std::size_t clear_accessors()
lua_kernel_base * execute_kernel_
void set_accessor_bool(const std::string &name, const std::function< bool(config)> &)
std::function< config(config)> accessor_function