CvLuaGame::lIsResolutionPassed(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 3362
- Class
- CvLuaGame
- Not a hook point
- member without a separate declaration
Code
3362int CvLuaGame::lIsResolutionPassed(lua_State* L)3363{3364 const ResolutionTypes iResolutionType = static_cast<ResolutionTypes>(luaL_checkint(L, 1));3365 const int iChoice = luaL_checkint(L, 2);3366 lua_pushboolean(L, GC.getGame().IsResolutionPassed(iResolutionType, iChoice));3367 return 1;3368}
Calls
- CvGame::IsResolutionPassed(ResolutionTypes, int) const
- CvGlobals::getGame()
lua_pushbooleanluaL_checkinteger