CvLuaGame::lAnyoneHasUnit(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 3377
- Class
- CvLuaGame
- Not a hook point
- member without a separate declaration
Code
3377int CvLuaGame::lAnyoneHasUnit(lua_State* L)3378{3379 const UnitTypes iUnitType = static_cast<UnitTypes>(luaL_checkint(L, 1));3380 lua_pushboolean(L, GC.getGame().AnyoneHasUnit(iUnitType));3381 return 1;3382}
Calls
- CvGame::AnyoneHasUnit(UnitTypes) const
- CvGlobals::getGame()
lua_pushbooleanluaL_checkinteger