Bazaar developer reference

CvDllUnitInfo::GetUnitArtInfoTag() const

Defined in
CvDllUnitInfo.cpp, line 99
Class
CvDllUnitInfo
Hook name
CivHooks::CvDllUnitInfo_GetUnitArtInfoTag

Hooks

static bool BeforeCvDllUnitInfo_GetUnitArtInfoTag(const CvDllUnitInfo* self, const char*& result);static void AfterCvDllUnitInfo_GetUnitArtInfoTag(const CvDllUnitInfo* self, const char*& result);static const char* ReplaceCvDllUnitInfo_GetUnitArtInfoTag(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_GetUnitArtInfoTag::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnitInfo_GetUnitArtInfoTag);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetUnitArtInfoTag::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnitInfo_GetUnitArtInfoTag);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetUnitArtInfoTag::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnitInfo_GetUnitArtInfoTag);

Code

99const char* CvDllUnitInfo::GetUnitArtInfoTag() const100{101	return m_pUnitInfo->GetUnitArtInfoTag();102}

Calls