Bazaar developer reference

CvPlot::HasRoute(RouteTypes) const

Defined in
CvPlot.cpp, line 11926
Class
CvPlot
Hook name
CivHooks::CvPlot_HasRoute

Hooks

static bool BeforeCvPlot_HasRoute(const CvPlot* self, RouteTypes iRouteType, bool& result);static void AfterCvPlot_HasRoute(const CvPlot* self, RouteTypes iRouteType, bool& result);static bool ReplaceCvPlot_HasRoute(bool (*original)(const CvPlot*, RouteTypes), const CvPlot* self, RouteTypes iRouteType);CivRegisterBefore<CivHooks::CvPlot_HasRoute>(host, &BeforeCvPlot_HasRoute);CivRegisterAfter<CivHooks::CvPlot_HasRoute>(host, &AfterCvPlot_HasRoute);CivRegisterReplace<CivHooks::CvPlot_HasRoute>(host, &ReplaceCvPlot_HasRoute);

Code

11926bool CvPlot::HasRoute(RouteTypes iRouteType) const11927{11928	return (getRouteType() == iRouteType);11929}

Calls

Called by