Bazaar developer reference

CvDllGame::SelectionListMove(ICvPlot1 *, bool)

Defined in
CvDllGame.cpp, line 406
Class
CvDllGame
Hook name
CivHooks::CvDllGame_SelectionListMove

Hooks

static bool BeforeCvDllGame_SelectionListMove(CvDllGame* self, ICvPlot1* pPlot, bool bShift);static void AfterCvDllGame_SelectionListMove(CvDllGame* self, ICvPlot1* pPlot, bool bShift);static void ReplaceCvDllGame_SelectionListMove(void (*original)(CvDllGame*, ICvPlot1*, bool), CvDllGame* self, ICvPlot1* pPlot, bool bShift);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SelectionListMove::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_SelectionListMove);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SelectionListMove::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_SelectionListMove);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SelectionListMove::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_SelectionListMove);

Code

406void CvDllGame::SelectionListMove(ICvPlot1* pPlot, bool bShift)407{408	CvPlot* pkPlot = (NULL != pPlot)? static_cast<CvDllPlot*>(pPlot)->GetInstance() : NULL;409	m_pGame->selectionListMove(pkPlot, bShift);410}

Calls