Bazaar developer reference

CvLuaCity::lGetCurrentProductionDifferenceTimes100(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1545
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetCurrentProductionDifferenceTimes100

Hooks

static bool BeforeCvLuaCity_lGetCurrentProductionDifferenceTimes100(lua_State* L, int& result);static void AfterCvLuaCity_lGetCurrentProductionDifferenceTimes100(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetCurrentProductionDifferenceTimes100(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetCurrentProductionDifferenceTimes100>(host, &BeforeCvLuaCity_lGetCurrentProductionDifferenceTimes100);CivRegisterAfter<CivHooks::CvLuaCity_lGetCurrentProductionDifferenceTimes100>(host, &AfterCvLuaCity_lGetCurrentProductionDifferenceTimes100);CivRegisterReplace<CivHooks::CvLuaCity_lGetCurrentProductionDifferenceTimes100>(host, &ReplaceCvLuaCity_lGetCurrentProductionDifferenceTimes100);

Code

1544//int GetCurrentProductionDifferenceTimes100(bool bIgnoreFood, bool bOverflow);1545int CvLuaCity::lGetCurrentProductionDifferenceTimes100(lua_State* L)1546{1547	return BasicLuaMethod(L, &CvCity::getCurrentProductionDifferenceTimes100);1548}

Calls

Called by