Bazaar developer reference

CvDllFeatureInfo::GetDescription()

Defined in
CvDllFeatureInfo.cpp, line 85
Class
CvDllFeatureInfo
Hook name
CivHooks::CvDllFeatureInfo_GetDescription

Hooks

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

Code

85const char* CvDllFeatureInfo::GetDescription()86{87	return m_pFeatureInfo->GetDescription();88}

Calls