Go to the source code of this file.
Functions | |
void | verify_and_set_global_variable (const vconfig &pcfg) |
void | verify_and_get_global_variable (const vconfig &pcfg) |
void | verify_and_clear_global_variable (const vconfig &pcfg) |
void verify_and_clear_global_variable | ( | const vconfig & | pcfg | ) |
Definition at line 203 of file persist_var.cpp.
References clear_global_variable(), resources::controller, persist_choice::ctx, config_attribute_value::empty(), ERR_PERSIST, resources::gameboard, persist_manager::get_context(), game_board::get_team(), vconfig::has_attribute(), team::is_local(), LOG_PERSIST, resources::persist, persist_choice::side, config_attribute_value::str(), config_attribute_value::to_int(), and persist_context::valid().
Referenced by game_events::WML_HANDLER_FUNCTION().
void verify_and_get_global_variable | ( | const vconfig & | pcfg | ) |
Definition at line 124 of file persist_var.cpp.
References resources::controller, persist_choice::ctx, DBG_PERSIST, config_attribute_value::empty(), ERR_PERSIST, resources::gameboard, persist_manager::get_context(), get_global_variable(), vconfig::has_attribute(), LOG_PERSIST, resources::persist, persist_choice::side, config_attribute_value::str(), config_attribute_value::to_int(), and persist_context::valid().
Referenced by game_events::WML_HANDLER_FUNCTION().
void verify_and_set_global_variable | ( | const vconfig & | pcfg | ) |
Definition at line 160 of file persist_var.cpp.
References resources::controller, persist_choice::ctx, config_attribute_value::empty(), ERR_PERSIST, resources::gameboard, persist_manager::get_context(), game_board::get_team(), vconfig::has_attribute(), team::is_local(), LOG_PERSIST, resources::persist, set_global_variable(), persist_choice::side, config_attribute_value::str(), and persist_context::valid().
Referenced by game_events::WML_HANDLER_FUNCTION().