Hooks
static bool BeforeCvDllUnit_GetName(const CvDllUnit* self, CvString& result);static void AfterCvDllUnit_GetName(const CvDllUnit* self, CvString& result);static CvString ReplaceCvDllUnit_GetName(CvString (*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_GetName::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetName::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetName::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetName);