The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
unit_filter_impl::unit_filter_args Struct Reference

#include <filter.hpp>

Public Member Functions

const filter_contextcontext () const
 
 unit_filter_args (const unit &u, map_location loc, const unit *u2, const filter_context *fc, bool use_flat_tod)
 

Public Attributes

const unitu
 
map_location loc
 
const unitu2
 
const filter_contextfc
 
bool use_flat_tod
 

Detailed Description

Definition at line 54 of file filter.hpp.

Constructor & Destructor Documentation

◆ unit_filter_args()

unit_filter_impl::unit_filter_args::unit_filter_args ( const unit u,
map_location  loc,
const unit u2,
const filter_context fc,
bool  use_flat_tod 
)
inline

Definition at line 71 of file filter.hpp.

Member Function Documentation

◆ context()

const filter_context& unit_filter_impl::unit_filter_args::context ( ) const
inline

Member Data Documentation

◆ fc

const filter_context* unit_filter_impl::unit_filter_args::fc

Definition at line 59 of file filter.hpp.

Referenced by context().

◆ loc

map_location unit_filter_impl::unit_filter_args::loc

◆ u

const unit& unit_filter_impl::unit_filter_args::u

◆ u2

const unit* unit_filter_impl::unit_filter_args::u2

Definition at line 58 of file filter.hpp.

Referenced by unit_filter_impl::unit_filter_compound::matches().

◆ use_flat_tod

bool unit_filter_impl::unit_filter_args::use_flat_tod

Definition at line 60 of file filter.hpp.


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