CvLuaCity::lGetFoodKept(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 2871
- Class
- CvLuaCity
- Hook name
CivHooks::CvLuaCity_lGetFoodKept
Hooks
static bool BeforeCvLuaCity_lGetFoodKept(lua_State* L, int& result);static void AfterCvLuaCity_lGetFoodKept(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFoodKept(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFoodKept>(host, &BeforeCvLuaCity_lGetFoodKept);CivRegisterAfter<CivHooks::CvLuaCity_lGetFoodKept>(host, &AfterCvLuaCity_lGetFoodKept);CivRegisterReplace<CivHooks::CvLuaCity_lGetFoodKept>(host, &ReplaceCvLuaCity_lGetFoodKept);
Code
2870//int getFoodKept();2871int CvLuaCity::lGetFoodKept(lua_State* L)2872{2873 return BasicLuaMethod(L, &CvCity::getFoodKept);2874}
Calls
- CvCity::getFoodKept() const
CvLuaMethodWrapper::BasicLuaMethod