Bazaar developer reference

CvLuaCity::lIsTeamWondersMaxed(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 811
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsTeamWondersMaxed

Hooks

static bool BeforeCvLuaCity_lIsTeamWondersMaxed(lua_State* L, int& result);static void AfterCvLuaCity_lIsTeamWondersMaxed(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsTeamWondersMaxed(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsTeamWondersMaxed>(host, &BeforeCvLuaCity_lIsTeamWondersMaxed);CivRegisterAfter<CivHooks::CvLuaCity_lIsTeamWondersMaxed>(host, &AfterCvLuaCity_lIsTeamWondersMaxed);CivRegisterReplace<CivHooks::CvLuaCity_lIsTeamWondersMaxed>(host, &ReplaceCvLuaCity_lIsTeamWondersMaxed);

Code

810//bool isTeamWondersMaxed();811int CvLuaCity::lIsTeamWondersMaxed(lua_State* L)812{813	CvCity* pkCity = GetInstance(L);814	const bool bResult = pkCity->isTeamWondersMaxed();815816	lua_pushboolean(L, bResult);817	return 1;818}

Calls

Called by