Bazaar developer reference

CvDllGame::IsAction(int, bool, bool, bool)

Defined in
CvDllGame.cpp, line 168
Class
CvDllGame
Hook name
CivHooks::CvDllGame_IsAction

Hooks

static bool BeforeCvDllGame_IsAction(CvDllGame* self, int iKeyStroke, bool bAlt, bool bShift, bool bCtrl, int& result);static void AfterCvDllGame_IsAction(CvDllGame* self, int iKeyStroke, bool bAlt, bool bShift, bool bCtrl, int& result);static int ReplaceCvDllGame_IsAction(int (*original)(CvDllGame*, int, bool, bool, bool), CvDllGame* 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::CvDllGame_IsAction::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_IsAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsAction::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_IsAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsAction::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_IsAction);

Code

168int CvDllGame::IsAction(int iKeyStroke, bool bAlt, bool bShift, bool bCtrl)169{170	return m_pGame->IsAction(iKeyStroke, bAlt, bShift, bCtrl);171}

Calls