Bazaar developer reference

CvDllGameAsynch::IsAction(int, bool, bool, bool)

Defined in
CvDllGameAsynch.cpp, line 107
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_IsAction

Hooks

static bool BeforeCvDllGameAsynch_IsAction(CvDllGameAsynch* self, int iKeyStroke, bool bAlt, bool bShift, bool bCtrl, int& result);static void AfterCvDllGameAsynch_IsAction(CvDllGameAsynch* self, int iKeyStroke, bool bAlt, bool bShift, bool bCtrl, int& result);static int ReplaceCvDllGameAsynch_IsAction(int (*original)(CvDllGameAsynch*, int, bool, bool, bool), CvDllGameAsynch* self, int iKeyStroke, bool bAlt, bool bShift, bool bCtrl);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_IsAction::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameAsynch_IsAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_IsAction::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameAsynch_IsAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_IsAction::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameAsynch_IsAction);

Code

107int CvDllGameAsynch::IsAction(int iKeyStroke, bool bAlt, bool bShift, bool bCtrl)108{109	return m_pGame->IsAction(iKeyStroke, bAlt, bShift, bCtrl);110}

Calls