Bazaar developer reference

CvDllPromotionInfo::GetDescription()

Defined in
CvDllPromotionInfo.cpp, line 86
Class
CvDllPromotionInfo
Hook name
CivHooks::CvDllPromotionInfo_GetDescription

Hooks

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

Code

86const char* CvDllPromotionInfo::GetDescription()87{88	return m_pPromotionInfo->GetDescription();89}

Calls