CvLuaPlot::lIsBlockaded(lua_State *)
- Defined in
- Lua/CvLuaPlot.cpp, line 455
- Class
- CvLuaPlot
- Not a hook point
- member without a separate declaration
Code
455int CvLuaPlot::lIsBlockaded(lua_State* L)456{457 CvPlot* pkPlot = GetInstance(L);458 const int playerType = lua_tointeger(L, 2);459460 lua_pushboolean(L, pkPlot->isBlockaded((PlayerTypes)playerType));461462 return 1;463}
Calls
CvLuaScopedInstance::GetInstance- CvPlot::isBlockaded(PlayerTypes)
lua_pushbooleanlua_tointeger