#include <variable.hpp>
Public Member Functions | |
| scoped_recall_unit (const std::string &var_name, const std::string &player, unsigned int recall_index) | |
| void | activate () |
Public Member Functions inherited from scoped_wml_variable | |
| scoped_wml_variable (const std::string &var_name) | |
| virtual | ~scoped_wml_variable () |
| const std::string & | name () const |
| config & | store (const config &var_value=config()) |
| bool | activated () const |
Private Attributes | |
| const std::string | player_ |
| unsigned int | recall_index_ |
Definition at line 260 of file variable.hpp.
|
inline |
Definition at line 263 of file variable.hpp.
|
virtual |
Implements scoped_wml_variable.
Definition at line 567 of file variable.cpp.
References ERR_NG, utils::ranges::find(), resources::gameboard, LOG_NG, scoped_wml_variable::name(), player_, recall_index_, team::save_id_or_number(), scoped_wml_variable::store(), and game_board::teams().
|
private |
Definition at line 268 of file variable.hpp.
Referenced by activate().
|
private |
Definition at line 269 of file variable.hpp.
Referenced by activate().