Bazaar developer reference

CvDllGame::HandleAction(int)

Defined in
CvDllGame.cpp, line 272
Class
CvDllGame
Hook name
CivHooks::CvDllGame_HandleAction

Hooks

static bool BeforeCvDllGame_HandleAction(CvDllGame* self, int iAction);static void AfterCvDllGame_HandleAction(CvDllGame* self, int iAction);static void ReplaceCvDllGame_HandleAction(void (*original)(CvDllGame*, int), CvDllGame* self, int iAction);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_HandleAction::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_HandleAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_HandleAction::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_HandleAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_HandleAction::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_HandleAction);

Code

272void CvDllGame::HandleAction(int iAction)273{274	m_pGame->handleAction(iAction);275}

Calls