CvLuaCity::lChangeFood(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 2865
- Class
- CvLuaCity
- Hook name
CivHooks::CvLuaCity_lChangeFood
Hooks
static bool BeforeCvLuaCity_lChangeFood(lua_State* L, int& result);static void AfterCvLuaCity_lChangeFood(lua_State* L, int& result);static int ReplaceCvLuaCity_lChangeFood(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lChangeFood>(host, &BeforeCvLuaCity_lChangeFood);CivRegisterAfter<CivHooks::CvLuaCity_lChangeFood>(host, &AfterCvLuaCity_lChangeFood);CivRegisterReplace<CivHooks::CvLuaCity_lChangeFood>(host, &ReplaceCvLuaCity_lChangeFood);
Code
2864//void changeFood(int iChange);2865int CvLuaCity::lChangeFood(lua_State* L)2866{2867 return BasicLuaMethod(L, &CvCity::changeFood);2868}
Calls
- CvCity::changeFood(int)
CvLuaMethodWrapper::BasicLuaMethod