Bazaar developer reference

CvActionInfo::getHotKey() const

Defined in
CvInfos.cpp, line 1493
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_getHotKey

Hooks

static bool BeforeCvActionInfo_getHotKey(const CvActionInfo* self, const char*& result);static void AfterCvActionInfo_getHotKey(const CvActionInfo* self, const char*& result);static const char* ReplaceCvActionInfo_getHotKey(const char* (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_getHotKey>(host, &BeforeCvActionInfo_getHotKey);CivRegisterAfter<CivHooks::CvActionInfo_getHotKey>(host, &AfterCvActionInfo_getHotKey);CivRegisterReplace<CivHooks::CvActionInfo_getHotKey>(host, &ReplaceCvActionInfo_getHotKey);

Code

1493const char* CvActionInfo::getHotKey() const1494{1495	if(getHotkeyInfo())1496	{1497		return getHotkeyInfo()->getHotKey();1498	}14991500	return NULL;1501}

Calls