Bazaar developer reference

CvDllGame::IsPaused()

Defined in
CvDllGame.cpp, line 364
Class
CvDllGame
Hook name
CivHooks::CvDllGame_IsPaused

Hooks

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

Code

364bool CvDllGame::IsPaused()365{366	return m_pGame->isPaused();367}

Calls