The Battle for Wesnoth  1.17.14+dev
Public Member Functions | Public Attributes | List of all members
actions::undo_event Struct Reference

#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
 
std::size_t uid1
 
std::size_t uid2
 
std::string id1
 
std::string id2
 

Detailed Description

Definition at line 28 of file undo_action.hpp.

Constructor & Destructor Documentation

◆ undo_event() [1/2]

actions::undo_event::undo_event ( const config cmds,
const game_events::queued_event ctx 
)

◆ undo_event() [2/2]

actions::undo_event::undo_event ( const config first,
const config second,
const config weapons,
const config cmds 
)

Definition at line 52 of file undo_action.cpp.

Member Data Documentation

◆ commands

config actions::undo_event::commands

Definition at line 29 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action().

◆ data

config actions::undo_event::data

Definition at line 29 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action().

◆ filter_loc1

map_location actions::undo_event::filter_loc1

Definition at line 30 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action().

◆ filter_loc2

map_location actions::undo_event::filter_loc2

Definition at line 30 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action().

◆ id1

std::string actions::undo_event::id1

Definition at line 32 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action(), and undo_event().

◆ id2

std::string actions::undo_event::id2

Definition at line 32 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action(), and undo_event().

◆ loc1

map_location actions::undo_event::loc1

Definition at line 30 of file undo_action.hpp.

◆ loc2

map_location actions::undo_event::loc2

Definition at line 30 of file undo_action.hpp.

◆ uid1

std::size_t actions::undo_event::uid1

Definition at line 31 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action(), and undo_event().

◆ uid2

std::size_t actions::undo_event::uid2

Definition at line 31 of file undo_action.hpp.

Referenced by actions::undo_action::undo_action(), and undo_event().


The documentation for this struct was generated from the following files: