The Battle for Wesnoth  1.15.2+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 62 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 79 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 67 of file filter.hpp.

Referenced by unit_filter::first_match_on_map().

◆ 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 66 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 68 of file filter.hpp.

Referenced by unit_filter::first_match_on_map().


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