Bazaar developer reference

CvActionInfo::isAltDown() const

Defined in
CvInfos.cpp, line 1433
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_isAltDown

Hooks

static bool BeforeCvActionInfo_isAltDown(const CvActionInfo* self, bool& result);static void AfterCvActionInfo_isAltDown(const CvActionInfo* self, bool& result);static bool ReplaceCvActionInfo_isAltDown(bool (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_isAltDown>(host, &BeforeCvActionInfo_isAltDown);CivRegisterAfter<CivHooks::CvActionInfo_isAltDown>(host, &AfterCvActionInfo_isAltDown);CivRegisterReplace<CivHooks::CvActionInfo_isAltDown>(host, &ReplaceCvActionInfo_isAltDown);

Code

1433bool CvActionInfo::isAltDown() const1434{1435	if(getHotkeyInfo())1436	{1437		return getHotkeyInfo()->isAltDown();1438	}14391440	return false;1441}

Calls

Called by