Bazaar developer reference

CvDllGameAsynch::IsDebugMode() const

Defined in
CvDllGameAsynch.cpp, line 112
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_IsDebugMode

Hooks

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

Code

112bool CvDllGameAsynch::IsDebugMode() const113{114	return m_pGame->isDebugMode();115}

Calls