Bazaar developer reference

CvLuaCity::lSetFeatureProduction(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2909
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetFeatureProduction

Hooks

static bool BeforeCvLuaCity_lSetFeatureProduction(lua_State* L, int& result);static void AfterCvLuaCity_lSetFeatureProduction(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetFeatureProduction(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetFeatureProduction>(host, &BeforeCvLuaCity_lSetFeatureProduction);CivRegisterAfter<CivHooks::CvLuaCity_lSetFeatureProduction>(host, &AfterCvLuaCity_lSetFeatureProduction);CivRegisterReplace<CivHooks::CvLuaCity_lSetFeatureProduction>(host, &ReplaceCvLuaCity_lSetFeatureProduction);

Code

2908//void setFeatureProduction(int iNewValue);2909int CvLuaCity::lSetFeatureProduction(lua_State* L)2910{2911	return BasicLuaMethod(L, &CvCity::setFeatureProduction);2912}

Calls

Called by