The Battle for Wesnoth  1.15.0-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 32 of file lua_unit_attacks.cpp.

Constructor & Destructor Documentation

◆ attack_ref() [1/2]

attack_ref::attack_ref ( attack_ptr  atk)
inline

Definition at line 35 of file lua_unit_attacks.cpp.

Referenced by luaW_pushweapon().

◆ attack_ref() [2/2]

attack_ref::attack_ref ( const_attack_ptr  atk)
inline

Definition at line 36 of file lua_unit_attacks.cpp.

Member Data Documentation

◆ attack

attack_ptr attack_ref::attack

◆ cattack

const_attack_ptr attack_ref::cattack

Definition at line 34 of file lua_unit_attacks.cpp.

Referenced by impl_unit_attack_get(), and luaW_toweapon().


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