Bazaar developer reference

CvActionInfo::getHotKeyValAlt() const

Defined in
CvInfos.cpp, line 1403
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_getHotKeyValAlt

Hooks

static bool BeforeCvActionInfo_getHotKeyValAlt(const CvActionInfo* self, int& result);static void AfterCvActionInfo_getHotKeyValAlt(const CvActionInfo* self, int& result);static int ReplaceCvActionInfo_getHotKeyValAlt(int (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_getHotKeyValAlt>(host, &BeforeCvActionInfo_getHotKeyValAlt);CivRegisterAfter<CivHooks::CvActionInfo_getHotKeyValAlt>(host, &AfterCvActionInfo_getHotKeyValAlt);CivRegisterReplace<CivHooks::CvActionInfo_getHotKeyValAlt>(host, &ReplaceCvActionInfo_getHotKeyValAlt);

Code

1403int CvActionInfo::getHotKeyValAlt() const1404{1405	if(getHotkeyInfo())1406	{1407		return getHotkeyInfo()->getHotKeyValAlt();1408	}14091410	return -1;1411}

Calls

Called by