The Battle for Wesnoth  1.19.5+dev
Public Attributes | List of all members
ai::aspect_attacks_lua_filter Struct Reference

#include <aspect_attacks.hpp>

Public Attributes

lua_State * lua
 
std::shared_ptr< unit_filterfilter_own_
 
std::shared_ptr< unit_filterfilter_enemy_
 
int ref_own_
 
int ref_enemy_
 

Detailed Description

Definition at line 75 of file aspect_attacks.hpp.

Member Data Documentation

◆ filter_enemy_

std::shared_ptr<unit_filter> ai::aspect_attacks_lua_filter::filter_enemy_

Definition at line 77 of file aspect_attacks.hpp.

Referenced by ai::aspect_attacks_lua::is_allowed_enemy().

◆ filter_own_

std::shared_ptr<unit_filter> ai::aspect_attacks_lua_filter::filter_own_

Definition at line 77 of file aspect_attacks.hpp.

Referenced by ai::aspect_attacks_lua::is_allowed_attacker().

◆ lua

lua_State* ai::aspect_attacks_lua_filter::lua

◆ ref_enemy_

int ai::aspect_attacks_lua_filter::ref_enemy_

◆ ref_own_

int ai::aspect_attacks_lua_filter::ref_own_

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