Bazaar developer reference

CvDllHandicapInfo::GetDescription()

Defined in
CvDllHandicapInfo.cpp, line 85
Class
CvDllHandicapInfo
Hook name
CivHooks::CvDllHandicapInfo_GetDescription

Hooks

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

Code

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

Calls