Bazaar developer reference

CvDllGame::SetPausePlayer(PlayerTypes)

Defined in
CvDllGame.cpp, line 448
Class
CvDllGame
Hook name
CivHooks::CvDllGame_SetPausePlayer

Hooks

static bool BeforeCvDllGame_SetPausePlayer(CvDllGame* self, PlayerTypes eNewValue);static void AfterCvDllGame_SetPausePlayer(CvDllGame* self, PlayerTypes eNewValue);static void ReplaceCvDllGame_SetPausePlayer(void (*original)(CvDllGame*, PlayerTypes), CvDllGame* self, PlayerTypes eNewValue);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SetPausePlayer::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_SetPausePlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SetPausePlayer::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_SetPausePlayer);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_SetPausePlayer::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_SetPausePlayer);

Code

448void CvDllGame::SetPausePlayer(PlayerTypes eNewValue)449{450	m_pGame->setPausePlayer(eNewValue);451}

Calls