Hooks
static bool BeforeCvDllPlot_RemoveUnit(CvDllPlot* self, ICvUnit1* pUnit, bool bUpdate);static void AfterCvDllPlot_RemoveUnit(CvDllPlot* self, ICvUnit1* pUnit, bool bUpdate);static void ReplaceCvDllPlot_RemoveUnit(void (*original)(CvDllPlot*, ICvUnit1*, bool), CvDllPlot* self, ICvUnit1* pUnit, bool bUpdate);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_RemoveUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_RemoveUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_RemoveUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_RemoveUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_RemoveUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_RemoveUnit);