CvLuaCity::lCanHurry(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 1613
- Class
- CvLuaCity
- Hook name
CivHooks::CvLuaCity_lCanHurry
Hooks
static bool BeforeCvLuaCity_lCanHurry(lua_State* L, int& result);static void AfterCvLuaCity_lCanHurry(lua_State* L, int& result);static int ReplaceCvLuaCity_lCanHurry(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lCanHurry>(host, &BeforeCvLuaCity_lCanHurry);CivRegisterAfter<CivHooks::CvLuaCity_lCanHurry>(host, &AfterCvLuaCity_lCanHurry);CivRegisterReplace<CivHooks::CvLuaCity_lCanHurry>(host, &ReplaceCvLuaCity_lCanHurry);
Code
1612//bool canHurry(HurryTypes iHurry, bool bTestVisible);1613int CvLuaCity::lCanHurry(lua_State* L)1614{1615 return BasicLuaMethod(L, &CvCity::canHurry);1616}
Calls
- CvCity::canHurry(HurryTypes, bool) const
CvLuaMethodWrapper::BasicLuaMethod