Bazaar developer reference

CvDllPlot::GetPlotType() const

Defined in
CvDllPlot.cpp, line 195
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetPlotType

Hooks

static bool BeforeCvDllPlot_GetPlotType(const CvDllPlot* self, PlotTypes& result);static void AfterCvDllPlot_GetPlotType(const CvDllPlot* self, PlotTypes& result);static PlotTypes ReplaceCvDllPlot_GetPlotType(PlotTypes (*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_GetPlotType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetPlotType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetPlotType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetPlotType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetPlotType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetPlotType);

Code

195PlotTypes CvDllPlot::GetPlotType() const196{197	return m_pPlot->getPlotType();198}

Calls