Bazaar developer reference

CvLuaCity::lFoodDifference(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1762
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lFoodDifference

Hooks

static bool BeforeCvLuaCity_lFoodDifference(lua_State* L, int& result);static void AfterCvLuaCity_lFoodDifference(lua_State* L, int& result);static int ReplaceCvLuaCity_lFoodDifference(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lFoodDifference>(host, &BeforeCvLuaCity_lFoodDifference);CivRegisterAfter<CivHooks::CvLuaCity_lFoodDifference>(host, &AfterCvLuaCity_lFoodDifference);CivRegisterReplace<CivHooks::CvLuaCity_lFoodDifference>(host, &ReplaceCvLuaCity_lFoodDifference);

Code

1761//int foodDifference(bool bBottom);1762int CvLuaCity::lFoodDifference(lua_State* L)1763{1764	return BasicLuaMethod(L, &CvCity::foodDifference);1765}

Calls

Called by