Hooks
static bool BeforeCvDllUnit_GetIDInfo(const CvDllUnit* self, IDInfo& result);static void AfterCvDllUnit_GetIDInfo(const CvDllUnit* self, IDInfo& result);static IDInfo ReplaceCvDllUnit_GetIDInfo(IDInfo (*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_GetIDInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetIDInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetIDInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetIDInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetIDInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetIDInfo);