Hooks
static bool BeforeCvDllPlot_GetNumUnits(const CvDllPlot* self, int& result);static void AfterCvDllPlot_GetNumUnits(const CvDllPlot* self, int& result);static int ReplaceCvDllPlot_GetNumUnits(int (*original)(const CvDllPlot*), const CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetNumUnits::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetNumUnits);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetNumUnits::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetNumUnits);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetNumUnits::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetNumUnits);