Bazaar developer reference

CvLuaCity::lGetRawProductionDifference(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1539
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetRawProductionDifference

Hooks

static bool BeforeCvLuaCity_lGetRawProductionDifference(lua_State * L, int& result);static void AfterCvLuaCity_lGetRawProductionDifference(lua_State * L, int& result);static int ReplaceCvLuaCity_lGetRawProductionDifference(int (*original)(lua_State *), lua_State * L);CivRegisterBefore<CivHooks::CvLuaCity_lGetRawProductionDifference>(host, &BeforeCvLuaCity_lGetRawProductionDifference);CivRegisterAfter<CivHooks::CvLuaCity_lGetRawProductionDifference>(host, &AfterCvLuaCity_lGetRawProductionDifference);CivRegisterReplace<CivHooks::CvLuaCity_lGetRawProductionDifference>(host, &ReplaceCvLuaCity_lGetRawProductionDifference);

Code

1538//int GetRawProductionDifference(bool bIgnoreFood, bool bOverflow);1539int CvLuaCity::lGetRawProductionDifference(lua_State *L)1540{1541	return BasicLuaMethod(L, &CvCity::getRawProductionDifference);1542}

Calls

Called by