#include <undo_action.hpp>
Public Member Functions | |
| undo_event (int fcn_idx, const config &args, const game_events::queued_event &ctx) | |
| 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 | |
| utils::optional< int > | lua_idx |
| config | commands |
| config | data |
| map_location | loc1 |
| map_location | loc2 |
| map_location | filter_loc1 |
| map_location | filter_loc2 |
| std::size_t | uid1 |
| std::size_t | uid2 |
| std::string | id1 |
| std::string | id2 |
Definition at line 25 of file undo_action.hpp.
| actions::undo_event::undo_event | ( | int | fcn_idx, |
| const config & | args, | ||
| const game_events::queued_event & | ctx | ||
| ) |
Definition at line 32 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 & | cmds, |
| const game_events::queued_event & | ctx | ||
| ) |
Definition at line 53 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 73 of file undo_action.cpp.
| config actions::undo_event::commands |
Definition at line 27 of file undo_action.hpp.
| config actions::undo_event::data |
Definition at line 27 of file undo_action.hpp.
| map_location actions::undo_event::filter_loc1 |
Definition at line 28 of file undo_action.hpp.
| map_location actions::undo_event::filter_loc2 |
Definition at line 28 of file undo_action.hpp.
| std::string actions::undo_event::id1 |
Definition at line 30 of file undo_action.hpp.
Referenced by undo_event().
| std::string actions::undo_event::id2 |
Definition at line 30 of file undo_action.hpp.
Referenced by undo_event().
| map_location actions::undo_event::loc1 |
Definition at line 28 of file undo_action.hpp.
| map_location actions::undo_event::loc2 |
Definition at line 28 of file undo_action.hpp.
| utils::optional<int> actions::undo_event::lua_idx |
Definition at line 26 of file undo_action.hpp.
| std::size_t actions::undo_event::uid1 |
Definition at line 29 of file undo_action.hpp.
Referenced by undo_event().
| std::size_t actions::undo_event::uid2 |
Definition at line 29 of file undo_action.hpp.
Referenced by undo_event().