Bazaar developer reference

CvDllGame::HasTurnTimerExpired(PlayerTypes)

Defined in
CvDllGame.cpp, line 283
Class
CvDllGame
Hook name
CivHooks::CvDllGame_HasTurnTimerExpired_with_PlayerTypes

Hooks

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

Code

283bool CvDllGame::HasTurnTimerExpired(PlayerTypes playerID)284{285	return m_pGame->hasTurnTimerExpired(playerID);286}

Calls