CvLuaCity::lIsCoastal(lua_State *)
- Defined in
- Lua/CvLuaCity.cpp, line 1742
- Class
- CvLuaCity
- Hook name
CivHooks::CvLuaCity_lIsCoastal
Hooks
static bool BeforeCvLuaCity_lIsCoastal(lua_State* L, int& result);static void AfterCvLuaCity_lIsCoastal(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsCoastal(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsCoastal>(host, &BeforeCvLuaCity_lIsCoastal);CivRegisterAfter<CivHooks::CvLuaCity_lIsCoastal>(host, &AfterCvLuaCity_lIsCoastal);CivRegisterReplace<CivHooks::CvLuaCity_lIsCoastal>(host, &ReplaceCvLuaCity_lIsCoastal);
Code
1741//bool isCoastal(int iMinWaterSize);1742int CvLuaCity::lIsCoastal(lua_State* L)1743{1744 return BasicLuaMethod(L, &CvCity::isCoastal);1745}
Calls
- CvCity::isCoastal(int) const
CvLuaMethodWrapper::BasicLuaMethod