CvLuaPlot::lIsRiver(lua_State *)
- Defined in
- Lua/CvLuaPlot.cpp, line 436
- Class
- CvLuaPlot
- Hook name
CivHooks::CvLuaPlot_lIsRiver
Hooks
static bool BeforeCvLuaPlot_lIsRiver(lua_State* L, int& result);static void AfterCvLuaPlot_lIsRiver(lua_State* L, int& result);static int ReplaceCvLuaPlot_lIsRiver(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lIsRiver>(host, &BeforeCvLuaPlot_lIsRiver);CivRegisterAfter<CivHooks::CvLuaPlot_lIsRiver>(host, &AfterCvLuaPlot_lIsRiver);CivRegisterReplace<CivHooks::CvLuaPlot_lIsRiver>(host, &ReplaceCvLuaPlot_lIsRiver);
Code
436int CvLuaPlot::lIsRiver(lua_State* L)437{438 CvPlot* pkPlot = GetInstance(L);439440 lua_pushboolean(L, pkPlot->isRiver());441442 return 1;443}
Calls
CvLuaScopedInstance::GetInstance- CvPlot::isRiver() const
lua_pushboolean