Bazaar developer reference

CvDllGame::CycleUnits(bool, bool, bool)

Defined in
CvDllGame.cpp, line 138
Class
CvDllGame
Hook name
CivHooks::CvDllGame_CycleUnits

Hooks

static bool BeforeCvDllGame_CycleUnits(CvDllGame* self, bool bClear, bool bForward, bool bWorkers);static void AfterCvDllGame_CycleUnits(CvDllGame* self, bool bClear, bool bForward, bool bWorkers);static void ReplaceCvDllGame_CycleUnits(void (*original)(CvDllGame*, bool, bool, bool), CvDllGame* self, bool bClear, bool bForward, bool bWorkers);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CycleUnits::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_CycleUnits);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CycleUnits::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_CycleUnits);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_CycleUnits::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_CycleUnits);

Code

138void CvDllGame::CycleUnits(bool bClear, bool bForward, bool bWorkers)139{140	m_pGame->cycleUnits(bClear, bForward, bWorkers);141}

Calls