Bazaar developer reference

CvDllTechInfo::GetDescription() const

Defined in
CvDllTechInfo.cpp, line 74
Class
CvDllTechInfo
Hook name
CivHooks::CvDllTechInfo_GetDescription

Hooks

static bool BeforeCvDllTechInfo_GetDescription(const CvDllTechInfo* self, const char*& result);static void AfterCvDllTechInfo_GetDescription(const CvDllTechInfo* self, const char*& result);static const char* ReplaceCvDllTechInfo_GetDescription(const char* (*original)(const CvDllTechInfo*), const CvDllTechInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetDescription::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTechInfo_GetDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetDescription::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTechInfo_GetDescription);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetDescription::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTechInfo_GetDescription);

Code

74const char* CvDllTechInfo::GetDescription() const75{76	return m_pTechInfo->GetDescription();77}

Calls