Bazaar developer reference

CvDllPlot::GetInstance()

Defined in
CvDllPlot.cpp, line 78
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetInstance

Hooks

static bool BeforeCvDllPlot_GetInstance(CvDllPlot* self, CvPlot*& result);static void AfterCvDllPlot_GetInstance(CvDllPlot* self, CvPlot*& result);static CvPlot* ReplaceCvDllPlot_GetInstance(CvPlot* (*original)(CvDllPlot*), CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetInstance);

Code

78CvPlot* CvDllPlot::GetInstance()79{80	return m_pPlot;81}

Called by