Bazaar developer reference

CvDllGameAsynch::IsPaused()

Defined in
CvDllGameAsynch.cpp, line 147
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_IsPaused

Hooks

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

Code

147bool CvDllGameAsynch::IsPaused()148{149	return m_pGame->isPaused();150}

Calls