Bazaar developer reference

CvDllPlot::GetPlotIndex() const

Defined in
CvDllPlot.cpp, line 351
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetPlotIndex

Hooks

static bool BeforeCvDllPlot_GetPlotIndex(const CvDllPlot* self, int& result);static void AfterCvDllPlot_GetPlotIndex(const CvDllPlot* self, int& result);static int ReplaceCvDllPlot_GetPlotIndex(int (*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_GetPlotIndex::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetPlotIndex);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetPlotIndex::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetPlotIndex);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetPlotIndex::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetPlotIndex);

Code

351int CvDllPlot::GetPlotIndex() const352{353	return m_pPlot->GetPlotIndex();354}

Calls