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);