#include <undo_action.hpp>
Public Member Functions | |
undo_event (const config &cmds, const game_events::queued_event &ctx) | |
undo_event (const config &first, const config &second, const config &weapons, const config &cmds) | |
Public Attributes | |
config | commands |
config | data |
map_location | loc1 |
map_location | loc2 |
map_location | filter_loc1 |
map_location | filter_loc2 |
size_t | uid1 |
size_t | uid2 |
std::string | id1 |
std::string | id2 |
Definition at line 16 of file undo_action.hpp.
actions::undo_event::undo_event | ( | const config & | cmds, |
const game_events::queued_event & | ctx | ||
) |
Definition at line 15 of file undo_action.cpp.
References game_events::entity_location::get_unit(), id1, id2, game_events::queued_event::loc1, game_events::queued_event::loc2, uid1, and uid2.
actions::undo_event::undo_event | ( | const config & | first, |
const config & | second, | ||
const config & | weapons, | ||
const config & | cmds | ||
) |
Definition at line 35 of file undo_action.cpp.
config actions::undo_event::commands |
Definition at line 17 of file undo_action.hpp.
config actions::undo_event::data |
Definition at line 17 of file undo_action.hpp.
map_location actions::undo_event::filter_loc1 |
Definition at line 18 of file undo_action.hpp.
map_location actions::undo_event::filter_loc2 |
Definition at line 18 of file undo_action.hpp.
std::string actions::undo_event::id1 |
Definition at line 20 of file undo_action.hpp.
Referenced by undo_event().
std::string actions::undo_event::id2 |
Definition at line 20 of file undo_action.hpp.
Referenced by undo_event().
map_location actions::undo_event::loc1 |
Definition at line 18 of file undo_action.hpp.
map_location actions::undo_event::loc2 |
Definition at line 18 of file undo_action.hpp.
size_t actions::undo_event::uid1 |
Definition at line 19 of file undo_action.hpp.
Referenced by undo_event().
size_t actions::undo_event::uid2 |
Definition at line 19 of file undo_action.hpp.
Referenced by undo_event().