Hooks
static bool BeforeCvDllPlot_AddUnit(CvDllPlot* self, ICvUnit1* pUnit, bool bUpdate);static void AfterCvDllPlot_AddUnit(CvDllPlot* self, ICvUnit1* pUnit, bool bUpdate);static void ReplaceCvDllPlot_AddUnit(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_AddUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_AddUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_AddUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_AddUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_AddUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_AddUnit);