int intf_create_attack(lua_State *L)
const_attack_ptr luaW_toweapon(lua_State *L, int idx)
void push_unit_attacks_table(lua_State *L, int idx)
void luaW_pushweapon(lua_State *L, attack_ptr weapon)
attack_type & luaW_checkweapon(lua_State *L, int idx)
std::string register_attacks_metatables(lua_State *L)
std::shared_ptr< const attack_type > const_attack_ptr
std::shared_ptr< attack_type > attack_ptr