Hooks
static bool BeforeCvDllUnitInfo_GetType(const CvDllUnitInfo* self, const char*& result);static void AfterCvDllUnitInfo_GetType(const CvDllUnitInfo* self, const char*& result);static const char* ReplaceCvDllUnitInfo_GetType(const char* (*original)(const CvDllUnitInfo*), const CvDllUnitInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnitInfo_GetType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnitInfo_GetType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnitInfo_GetType);