This namespace contains bindings for lua to hold a reference to a unit type and access its stats. More...
| Functions | |
| std::string | register_metatable (lua_State *L) | 
| std::string | register_table (lua_State *L) | 
This namespace contains bindings for lua to hold a reference to a unit type and access its stats.
| std::string lua_unit_type::register_metatable | ( | lua_State * | L | ) | 
Definition at line 301 of file lua_unit_type.cpp.
References impl_unit_type_dir(), impl_unit_type_equal(), impl_unit_type_get(), impl_unit_type_tostring(), and UnitType.
Referenced by game_lua_kernel::game_lua_kernel().
| std::string lua_unit_type::register_table | ( | lua_State * | L | ) | 
Definition at line 319 of file lua_unit_type.cpp.
References impl_unit_type_count(), impl_unit_type_list(), impl_unit_type_lookup(), impl_unit_type_new(), impl_unit_type_pairs(), and UnitTypeTable.
Referenced by game_lua_kernel::game_lua_kernel().