Bazaar developer reference

CvDllGame::IsDebugMode() const

Defined in
CvDllGame.cpp, line 329
Class
CvDllGame
Hook name
CivHooks::CvDllGame_IsDebugMode

Hooks

static bool BeforeCvDllGame_IsDebugMode(const CvDllGame* self, bool& result);static void AfterCvDllGame_IsDebugMode(const CvDllGame* self, bool& result);static bool ReplaceCvDllGame_IsDebugMode(bool (*original)(const CvDllGame*), const CvDllGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsDebugMode::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_IsDebugMode);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsDebugMode::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_IsDebugMode);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsDebugMode::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_IsDebugMode);

Code

329bool CvDllGame::IsDebugMode() const330{331	return m_pGame->isDebugMode();332}

Calls