Bazaar developer reference

CvLuaCity::lSetProductionAutomated(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3149
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetProductionAutomated

Hooks

static bool BeforeCvLuaCity_lSetProductionAutomated(lua_State* L, int& result);static void AfterCvLuaCity_lSetProductionAutomated(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetProductionAutomated(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetProductionAutomated>(host, &BeforeCvLuaCity_lSetProductionAutomated);CivRegisterAfter<CivHooks::CvLuaCity_lSetProductionAutomated>(host, &AfterCvLuaCity_lSetProductionAutomated);CivRegisterReplace<CivHooks::CvLuaCity_lSetProductionAutomated>(host, &ReplaceCvLuaCity_lSetProductionAutomated);

Code

3148//void setProductionAutomated(bool bNewValue);3149int CvLuaCity::lSetProductionAutomated(lua_State* L)3150{3151	return BasicLuaMethod(L, &CvCity::setProductionAutomated);3152}

Calls

Called by