Bazaar developer reference

CvActionInfo::isShiftDown() const

Defined in
CvInfos.cpp, line 1443
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_isShiftDown

Hooks

static bool BeforeCvActionInfo_isShiftDown(const CvActionInfo* self, bool& result);static void AfterCvActionInfo_isShiftDown(const CvActionInfo* self, bool& result);static bool ReplaceCvActionInfo_isShiftDown(bool (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_isShiftDown>(host, &BeforeCvActionInfo_isShiftDown);CivRegisterAfter<CivHooks::CvActionInfo_isShiftDown>(host, &AfterCvActionInfo_isShiftDown);CivRegisterReplace<CivHooks::CvActionInfo_isShiftDown>(host, &ReplaceCvActionInfo_isShiftDown);

Code

1443bool CvActionInfo::isShiftDown() const1444{1445	if(getHotkeyInfo())1446	{1447		return getHotkeyInfo()->isShiftDown();1448	}14491450	return false;1451}

Calls

Called by