Hooks
static bool BeforeCvDllUnit_GetPlot(const CvDllUnit* self, ICvPlot1*& result);static void AfterCvDllUnit_GetPlot(const CvDllUnit* self, ICvPlot1*& result);static ICvPlot1* ReplaceCvDllUnit_GetPlot(ICvPlot1* (*original)(const CvDllUnit*), const CvDllUnit* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetPlot::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetPlot);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetPlot::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetPlot);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetPlot::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetPlot);