CvLuaCity::lGetBombardRange(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 3838
- Class
- CvLuaCity
- Not a hook point
- member without a separate declaration
Code
3836#if defined(MOD_API_LUA_EXTENSIONS) && defined(MOD_EVENTS_CITY_BOMBARD)3837//int, bool GetBombardRange();3838int CvLuaCity::lGetBombardRange(lua_State* L)3839{3840 CvCity* pkCity = GetInstance(L);3841 bool bIndirectFireAllowed;3842 const int iResult = pkCity->getBombardRange(bIndirectFireAllowed);38433844 lua_pushinteger(L, iResult);3845 lua_pushinteger(L, bIndirectFireAllowed);3846 return 2;3847}
Calls
- CvCity::getBombardRange(bool &) const
CvLuaScopedInstance::GetInstancelua_pushinteger