Hooks
static bool BeforeCvDllUnitInfo_GetDomainType(const CvDllUnitInfo* self, int& result);static void AfterCvDllUnitInfo_GetDomainType(const CvDllUnitInfo* self, int& result);static int ReplaceCvDllUnitInfo_GetDomainType(int (*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_GetDomainType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnitInfo_GetDomainType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetDomainType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnitInfo_GetDomainType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetDomainType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnitInfo_GetDomainType);