Bazaar developer reference

CvLuaCity::lSetProduction(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1480
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetProduction

Hooks

static bool BeforeCvLuaCity_lSetProduction(lua_State* L, int& result);static void AfterCvLuaCity_lSetProduction(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetProduction(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetProduction>(host, &BeforeCvLuaCity_lSetProduction);CivRegisterAfter<CivHooks::CvLuaCity_lSetProduction>(host, &AfterCvLuaCity_lSetProduction);CivRegisterReplace<CivHooks::CvLuaCity_lSetProduction>(host, &ReplaceCvLuaCity_lSetProduction);

Code

1479//void setProduction(int iNewValue);1480int CvLuaCity::lSetProduction(lua_State* L)1481{1482	return BasicLuaMethod(L, &CvCity::setProduction);1483}

Calls

Called by