Bazaar developer reference

CvLuaPlot::lIsRoutePillaged(lua_State *)

Defined in
Lua/CvLuaPlot.cpp, line 1509
Class
CvLuaPlot
Hook name
CivHooks::CvLuaPlot_lIsRoutePillaged

Hooks

static bool BeforeCvLuaPlot_lIsRoutePillaged(lua_State* L, int& result);static void AfterCvLuaPlot_lIsRoutePillaged(lua_State* L, int& result);static int ReplaceCvLuaPlot_lIsRoutePillaged(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lIsRoutePillaged>(host, &BeforeCvLuaPlot_lIsRoutePillaged);CivRegisterAfter<CivHooks::CvLuaPlot_lIsRoutePillaged>(host, &AfterCvLuaPlot_lIsRoutePillaged);CivRegisterReplace<CivHooks::CvLuaPlot_lIsRoutePillaged>(host, &ReplaceCvLuaPlot_lIsRoutePillaged);

Code

1509int CvLuaPlot::lIsRoutePillaged(lua_State* L)1510{1511	CvPlot* pkPlot = GetInstance(L);1512	lua_pushboolean(L, pkPlot->IsRoutePillaged());1513	return 1;1514}

Calls

Called by