Bazaar developer reference

CvDllPlot::UpdateCenterUnit()

Defined in
CvDllPlot.cpp, line 93
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_UpdateCenterUnit

Hooks

static bool BeforeCvDllPlot_UpdateCenterUnit(CvDllPlot* self);static void AfterCvDllPlot_UpdateCenterUnit(CvDllPlot* self);static void ReplaceCvDllPlot_UpdateCenterUnit(void (*original)(CvDllPlot*), CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_UpdateCenterUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_UpdateCenterUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_UpdateCenterUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_UpdateCenterUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_UpdateCenterUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_UpdateCenterUnit);

Code

93void CvDllPlot::UpdateCenterUnit()94{95	m_pPlot->updateCenterUnit();96}

Calls