Bazaar developer reference

CvLuaCity::lIsProductionAutomated(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3143
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsProductionAutomated

Hooks

static bool BeforeCvLuaCity_lIsProductionAutomated(lua_State* L, int& result);static void AfterCvLuaCity_lIsProductionAutomated(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsProductionAutomated(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsProductionAutomated>(host, &BeforeCvLuaCity_lIsProductionAutomated);CivRegisterAfter<CivHooks::CvLuaCity_lIsProductionAutomated>(host, &AfterCvLuaCity_lIsProductionAutomated);CivRegisterReplace<CivHooks::CvLuaCity_lIsProductionAutomated>(host, &ReplaceCvLuaCity_lIsProductionAutomated);

Code

3142//bool isProductionAutomated();3143int CvLuaCity::lIsProductionAutomated(lua_State* L)3144{3145	return BasicLuaMethod(L, &CvCity::isProductionAutomated);3146}

Calls

Called by