Bazaar developer reference

CvActionInfo::isCtrlDown() const

Defined in
CvInfos.cpp, line 1453
Class
CvActionInfo
Hook name
CivHooks::CvActionInfo_isCtrlDown

Hooks

static bool BeforeCvActionInfo_isCtrlDown(const CvActionInfo* self, bool& result);static void AfterCvActionInfo_isCtrlDown(const CvActionInfo* self, bool& result);static bool ReplaceCvActionInfo_isCtrlDown(bool (*original)(const CvActionInfo*), const CvActionInfo* self);CivRegisterBefore<CivHooks::CvActionInfo_isCtrlDown>(host, &BeforeCvActionInfo_isCtrlDown);CivRegisterAfter<CivHooks::CvActionInfo_isCtrlDown>(host, &AfterCvActionInfo_isCtrlDown);CivRegisterReplace<CivHooks::CvActionInfo_isCtrlDown>(host, &ReplaceCvActionInfo_isCtrlDown);

Code

1453bool CvActionInfo::isCtrlDown() const1454{1455	if(getHotkeyInfo())1456	{1457		return getHotkeyInfo()->isCtrlDown();1458	}14591460	return false;1461}

Calls

Called by