Hooks
static bool BeforeCvDllUnit_Destroy(CvDllUnit* self);static void AfterCvDllUnit_Destroy(CvDllUnit* self);static void ReplaceCvDllUnit_Destroy(void (*original)(CvDllUnit*), CvDllUnit* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_Destroy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_Destroy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_Destroy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_Destroy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_Destroy);