Bazaar developer reference

CvDllUnit::GetIDInfo() const

Defined in
CvDllUnit.cpp, line 282
Class
CvDllUnit
Hook name
CivHooks::CvDllUnit_GetIDInfo

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

Code

282IDInfo CvDllUnit::GetIDInfo() const283{284	return m_pUnit->GetIDInfo();285}

Calls