Bazaar developer reference

CvActionInfo::GetTextKey() const

Defined in
CvInfos.cpp, line 1363
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_GetTextKey

Hooks

static bool BeforeCvActionInfo_GetTextKey(const CvActionInfo* self, const char*& result);static void AfterCvActionInfo_GetTextKey(const CvActionInfo* self, const char*& result);static const char* ReplaceCvActionInfo_GetTextKey(const char* (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_GetTextKey>(host, &BeforeCvActionInfo_GetTextKey);CivRegisterAfter<CivHooks::CvActionInfo_GetTextKey>(host, &AfterCvActionInfo_GetTextKey);CivRegisterReplace<CivHooks::CvActionInfo_GetTextKey>(host, &ReplaceCvActionInfo_GetTextKey);

Code

1363const char* CvActionInfo::GetTextKey() const1364{1365	if(getHotkeyInfo())1366	{1367		return getHotkeyInfo()->GetTextKey();1368	}13691370	return NULL;1371}

Calls

Called by