Bazaar developer reference

CvDllLeaderHeadInfo::GetDescription()

Defined in
CvDllLeaderheadInfo.cpp, line 80
Class
CvDllLeaderHeadInfo
Hook name
CivHooks::CvDllLeaderHeadInfo_GetDescription

Hooks

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

Code

80const char* CvDllLeaderHeadInfo::GetDescription()81{82	return m_pLeaderHeadInfo->GetDescription();83}

Calls