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

Public Member Functions

 attack_ref (attack_ptr atk)
 
 attack_ref (const_attack_ptr atk)
 

Public Attributes

attack_ptr attack
 
const_attack_ptr cattack
 

Detailed Description

Definition at line 33 of file lua_unit_attacks.cpp.

Constructor & Destructor Documentation

◆ attack_ref() [1/2]

attack_ref::attack_ref ( attack_ptr  atk)
inline

Definition at line 36 of file lua_unit_attacks.cpp.

◆ attack_ref() [2/2]

attack_ref::attack_ref ( const_attack_ptr  atk)
inline

Definition at line 37 of file lua_unit_attacks.cpp.

Member Data Documentation

◆ attack

attack_ptr attack_ref::attack

Definition at line 34 of file lua_unit_attacks.cpp.

Referenced by impl_unit_attack_get(), and luaW_checkweapon().

◆ cattack

const_attack_ptr attack_ref::cattack

Definition at line 35 of file lua_unit_attacks.cpp.

Referenced by impl_unit_attack_get(), and impl_unit_attack_tostring().


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