Bazaar developer reference

CvLuaCity::lChangeProduction(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1486
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lChangeProduction

Hooks

static bool BeforeCvLuaCity_lChangeProduction(lua_State* L, int& result);static void AfterCvLuaCity_lChangeProduction(lua_State* L, int& result);static int ReplaceCvLuaCity_lChangeProduction(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lChangeProduction>(host, &BeforeCvLuaCity_lChangeProduction);CivRegisterAfter<CivHooks::CvLuaCity_lChangeProduction>(host, &AfterCvLuaCity_lChangeProduction);CivRegisterReplace<CivHooks::CvLuaCity_lChangeProduction>(host, &ReplaceCvLuaCity_lChangeProduction);

Code

1485//void changeProduction(int iChange);1486int CvLuaCity::lChangeProduction(lua_State* L)1487{1488	return BasicLuaMethod(L, &CvCity::changeProduction);1489}

Calls

Called by