Bazaar developer reference

CvDllUnit::GetName() const

Defined in
CvDllUnit.cpp, line 267
Class
CvDllUnit
Hook name
CivHooks::CvDllUnit_GetName

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

Code

267CvString CvDllUnit::GetName() const268{269	return m_pUnit->getName();270}

Calls