#include <undo_update_shroud_action.hpp>
Public Member Functions | |
auto_shroud_action (bool turned_on) | |
auto_shroud_action (const config &cfg) | |
virtual const char * | get_type () const |
virtual bool | undo (int) |
Undoes this action. More... | |
virtual | ~auto_shroud_action () |
virtual void | write (config &cfg) const |
Writes this into the provided config. More... | |
Public Member Functions inherited from actions::undo_action | |
undo_action () | |
virtual | ~undo_action () |
Static Public Member Functions | |
static const char * | get_type_impl () |
Public Attributes | |
bool | active |
Definition at line 21 of file undo_update_shroud_action.hpp.
|
inlineexplicit |
Definition at line 24 of file undo_update_shroud_action.hpp.
|
inlineexplicit |
Definition at line 29 of file undo_update_shroud_action.hpp.
|
inlinevirtual |
Definition at line 40 of file undo_update_shroud_action.hpp.
|
inlinevirtual |
Implements actions::undo_action.
Definition at line 36 of file undo_update_shroud_action.hpp.
References get_type_impl().
|
inlinestatic |
Definition at line 35 of file undo_update_shroud_action.hpp.
Referenced by get_type().
|
virtual |
Undoes this action.
Implements actions::undo_action.
Definition at line 33 of file undo_update_shroud_action.cpp.
References active, resources::controller, play_controller::current_team(), and team::set_auto_shroud_updates().
|
virtual |
Writes this into the provided config.
Reimplemented from actions::undo_action.
Definition at line 27 of file undo_update_shroud_action.cpp.
References active, and actions::undo_action::write().
bool actions::undo::auto_shroud_action::active |
Definition at line 22 of file undo_update_shroud_action.hpp.