Bazaar developer reference

CvGame::setDebugMode(bool)

Defined in
CvGame.cpp, line 5515
Class
CvGame
Hook name
CivHooks::CvGame_setDebugMode

Hooks

static bool BeforeCvGame_setDebugMode(CvGame* self, bool bDebugMode);static void AfterCvGame_setDebugMode(CvGame* self, bool bDebugMode);static void ReplaceCvGame_setDebugMode(void (*original)(CvGame*, bool), CvGame* self, bool bDebugMode);CivRegisterBefore<CivHooks::CvGame_setDebugMode>(host, &BeforeCvGame_setDebugMode);CivRegisterAfter<CivHooks::CvGame_setDebugMode>(host, &AfterCvGame_setDebugMode);CivRegisterReplace<CivHooks::CvGame_setDebugMode>(host, &ReplaceCvGame_setDebugMode);

Code

5515void CvGame::setDebugMode(bool bDebugMode)5516{5517	if(m_bDebugMode != bDebugMode)5518		toggleDebugMode();5519}

Calls

Called by