Bazaar developer reference

CvPlot::isRoute() const

Defined in
CvPlot.cpp, line 4417
Class
CvPlot
Hook name
CivHooks::CvPlot_isRoute

Hooks

static bool BeforeCvPlot_isRoute(const CvPlot* self, bool& result);static void AfterCvPlot_isRoute(const CvPlot* self, bool& result);static bool ReplaceCvPlot_isRoute(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_isRoute>(host, &BeforeCvPlot_isRoute);CivRegisterAfter<CivHooks::CvPlot_isRoute>(host, &AfterCvPlot_isRoute);CivRegisterReplace<CivHooks::CvPlot_isRoute>(host, &ReplaceCvPlot_isRoute);

Code

4417bool CvPlot::isRoute() const4418{4419	return ((RouteTypes)m_eRouteType != NO_ROUTE);4420}

Called by