Bazaar developer reference

CvLuaCity::lHasCounterSpy(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 4260
Class
CvLuaCity
Not a hook point
member without a separate declaration

Code

4260int CvLuaCity::lHasCounterSpy(lua_State* L)4261{4262	bool bResult = false;4263	CvCity* pkCity = GetInstance(L);4264	bResult = (pkCity->GetCityEspionage()->m_aiSpyAssignment[pkCity->getOwner()] != -1);4265	lua_pushboolean(L, bResult);4266	return 1;4267}

Calls

Called by