CvGame::isPaused()
- Defined in
- CvGame.cpp, line 5786
- Class
- CvGame
- Hook name
CivHooks::CvGame_isPaused
Hooks
static bool BeforeCvGame_isPaused(CvGame* self, bool& result);static void AfterCvGame_isPaused(CvGame* self, bool& result);static bool ReplaceCvGame_isPaused(bool (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_isPaused>(host, &BeforeCvGame_isPaused);CivRegisterAfter<CivHooks::CvGame_isPaused>(host, &AfterCvGame_isPaused);CivRegisterReplace<CivHooks::CvGame_isPaused>(host, &ReplaceCvGame_isPaused);
Code
5786bool CvGame::isPaused()5787{5788 return (getPausePlayer() != NO_PLAYER);5789}