Hooks
static bool BeforeCvDllPlot_GetCenterUnit(CvDllPlot* self, ICvUnit1*& result);static void AfterCvDllPlot_GetCenterUnit(CvDllPlot* self, ICvUnit1*& result);static ICvUnit1* ReplaceCvDllPlot_GetCenterUnit(ICvUnit1* (*original)(CvDllPlot*), CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetCenterUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetCenterUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetCenterUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetCenterUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetCenterUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetCenterUnit);