Bazaar developer reference

CvLuaCity::lGetCurrentProductionDifference(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1533
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetCurrentProductionDifference

Hooks

static bool BeforeCvLuaCity_lGetCurrentProductionDifference(lua_State* L, int& result);static void AfterCvLuaCity_lGetCurrentProductionDifference(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetCurrentProductionDifference(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetCurrentProductionDifference>(host, &BeforeCvLuaCity_lGetCurrentProductionDifference);CivRegisterAfter<CivHooks::CvLuaCity_lGetCurrentProductionDifference>(host, &AfterCvLuaCity_lGetCurrentProductionDifference);CivRegisterReplace<CivHooks::CvLuaCity_lGetCurrentProductionDifference>(host, &ReplaceCvLuaCity_lGetCurrentProductionDifference);

Code

1532//int GetCurrentProductionDifference(bool bIgnoreFood, bool bOverflow);1533int CvLuaCity::lGetCurrentProductionDifference(lua_State* L)1534{1535	return BasicLuaMethod(L, &CvCity::getCurrentProductionDifference);1536}

Calls

Called by