Bazaar developer reference

CvLuaCity::lGetExtraProductionDifference(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1607
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetExtraProductionDifference

Hooks

static bool BeforeCvLuaCity_lGetExtraProductionDifference(lua_State* L, int& result);static void AfterCvLuaCity_lGetExtraProductionDifference(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetExtraProductionDifference(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetExtraProductionDifference>(host, &BeforeCvLuaCity_lGetExtraProductionDifference);CivRegisterAfter<CivHooks::CvLuaCity_lGetExtraProductionDifference>(host, &AfterCvLuaCity_lGetExtraProductionDifference);CivRegisterReplace<CivHooks::CvLuaCity_lGetExtraProductionDifference>(host, &ReplaceCvLuaCity_lGetExtraProductionDifference);

Code

1606//int getExtraProductionDifference(int iExtra);1607int CvLuaCity::lGetExtraProductionDifference(lua_State* L)1608{1609	return BasicLuaMethod(L, &CvCity::getExtraProductionDifference);1610}

Calls

Called by