The Battle for Wesnoth  1.19.5+dev
Static Public Member Functions | Static Public Attributes | List of all members
lua_object_traits< unit_type > Struct Reference

Static Public Member Functions

static const unit_typeget (lua_State *L, int n)
 

Static Public Attributes

static auto metatable = UnitType
 

Detailed Description

Definition at line 40 of file lua_unit_type.cpp.

Member Function Documentation

◆ get()

static const unit_type& lua_object_traits< unit_type >::get ( lua_State *  L,
int  n 
)
inlinestatic

Definition at line 42 of file lua_unit_type.cpp.

References luaW_checkunittype(), and n.

Member Data Documentation

◆ metatable

auto lua_object_traits< unit_type >::metatable = UnitType
inlinestatic

Definition at line 41 of file lua_unit_type.cpp.


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