Bazaar developer reference

CvLuaCity::lProductionLeft(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1780
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lProductionLeft

Hooks

static bool BeforeCvLuaCity_lProductionLeft(lua_State* L, int& result);static void AfterCvLuaCity_lProductionLeft(lua_State* L, int& result);static int ReplaceCvLuaCity_lProductionLeft(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lProductionLeft>(host, &BeforeCvLuaCity_lProductionLeft);CivRegisterAfter<CivHooks::CvLuaCity_lProductionLeft>(host, &AfterCvLuaCity_lProductionLeft);CivRegisterReplace<CivHooks::CvLuaCity_lProductionLeft>(host, &ReplaceCvLuaCity_lProductionLeft);

Code

1779//int productionLeft();1780int CvLuaCity::lProductionLeft(lua_State* L)1781{1782	return BasicLuaMethod(L, &CvCity::productionLeft);1783}

Calls

Called by