Bazaar developer reference

CvDllUnitInfo::GetDomainType() const

Defined in
CvDllUnitInfo.cpp, line 79
Class
CvDllUnitInfo
Hook name
CivHooks::CvDllUnitInfo_GetDomainType

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);

Code

79int CvDllUnitInfo::GetDomainType() const80{81	return m_pUnitInfo->GetDomainType();82}

Calls