Bazaar developer reference

CvActionInfo::GetDisabledHelp() const

Defined in
CvInfos.cpp, line 1343
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_GetDisabledHelp

Hooks

static bool BeforeCvActionInfo_GetDisabledHelp(const CvActionInfo* self, const char*& result);static void AfterCvActionInfo_GetDisabledHelp(const CvActionInfo* self, const char*& result);static const char* ReplaceCvActionInfo_GetDisabledHelp(const char* (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_GetDisabledHelp>(host, &BeforeCvActionInfo_GetDisabledHelp);CivRegisterAfter<CivHooks::CvActionInfo_GetDisabledHelp>(host, &AfterCvActionInfo_GetDisabledHelp);CivRegisterReplace<CivHooks::CvActionInfo_GetDisabledHelp>(host, &ReplaceCvActionInfo_GetDisabledHelp);

Code

1343const char* CvActionInfo::GetDisabledHelp() const1344{1345	if(getHotkeyInfo())1346	{1347		return getHotkeyInfo()->getDisabledHelp();1348	}13491350	return "";1351}

Calls

Called by