Bazaar developer reference

CvDllPlot::GetRouteType() const

Defined in
CvDllPlot.cpp, line 260
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetRouteType

Hooks

static bool BeforeCvDllPlot_GetRouteType(const CvDllPlot* self, RouteTypes& result);static void AfterCvDllPlot_GetRouteType(const CvDllPlot* self, RouteTypes& result);static RouteTypes ReplaceCvDllPlot_GetRouteType(RouteTypes (*original)(const CvDllPlot*), const CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetRouteType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetRouteType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetRouteType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetRouteType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetRouteType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetRouteType);

Code

260RouteTypes CvDllPlot::GetRouteType() const261{262	return m_pPlot->getRouteType();263}

Calls