Bazaar developer reference

CvActionInfo::getHotKeyVal() const

Defined in
CvInfos.cpp, line 1383
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_getHotKeyVal

Hooks

static bool BeforeCvActionInfo_getHotKeyVal(const CvActionInfo* self, int& result);static void AfterCvActionInfo_getHotKeyVal(const CvActionInfo* self, int& result);static int ReplaceCvActionInfo_getHotKeyVal(int (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_getHotKeyVal>(host, &BeforeCvActionInfo_getHotKeyVal);CivRegisterAfter<CivHooks::CvActionInfo_getHotKeyVal>(host, &AfterCvActionInfo_getHotKeyVal);CivRegisterReplace<CivHooks::CvActionInfo_getHotKeyVal>(host, &ReplaceCvActionInfo_getHotKeyVal);

Code

1383int CvActionInfo::getHotKeyVal() const1384{1385	if(getHotkeyInfo())1386	{1387		return getHotkeyInfo()->getHotKeyVal();1388	}13891390	return -1;1391}

Calls

Called by