Bazaar developer reference

CvGame::updateDebugModeCache()

Defined in
CvGame.cpp, line 5537
Class
CvGame
Hook name
CivHooks::CvGame_updateDebugModeCache

Hooks

static bool BeforeCvGame_updateDebugModeCache(CvGame* self);static void AfterCvGame_updateDebugModeCache(CvGame* self);static void ReplaceCvGame_updateDebugModeCache(void (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_updateDebugModeCache>(host, &BeforeCvGame_updateDebugModeCache);CivRegisterAfter<CivHooks::CvGame_updateDebugModeCache>(host, &AfterCvGame_updateDebugModeCache);CivRegisterReplace<CivHooks::CvGame_updateDebugModeCache>(host, &ReplaceCvGame_updateDebugModeCache);

Code

5537void CvGame::updateDebugModeCache()5538{5539	m_bDebugModeCache = m_bDebugMode;5540}

Called by