#include "scripting/plugins/context.hpp"#include "scripting/plugins/manager.hpp"#include "config_assign.hpp"#include <assert.h>#include <utility>#include "utils/functional.hpp"
Go to the source code of this file.
Functions | |
| template<typename T > | |
| static config | make_config (const std::string &name, const T &val) |
| static bool | shim (config cfg, std::function< void(config)> func, bool return_value) |
Variables | |
| const std::function < std::string(const config &, const std::string &) > | get_str |
| const std::function< int(const config &, const std::string &, int) > | get_int |
| const std::function< size_t(const config &, const std::string &, size_t) > | get_size_t |
|
static |
Definition at line 76 of file context.cpp.
Definition at line 110 of file context.cpp.
Referenced by plugins_context::set_callback().
| const std::function< int ( const config & , const std::string &, int ) > get_int |
Definition at line 125 of file context.cpp.
Referenced by do_gameloop(), and gui::dialog::show().
| const std::function< size_t ( const config & , const std::string &, size_t ) > get_size_t |
Definition at line 130 of file context.cpp.
Referenced by mp::create::create().
| const std::function< std::string ( const config & , const std::string & ) > get_str |
Definition at line 121 of file context.cpp.
Referenced by mp::configure::configure(), mp::connect::connect(), mp::create::create(), play_controller::init(), mp::lobby::lobby(), and mp::wait::wait().
1.8.8