Bazaar developer reference

CvDllGame::TurnTimerSync(float, float)

Defined in
CvDllGame.cpp, line 288
Class
CvDllGame
Hook name
CivHooks::CvDllGame_TurnTimerSync

Hooks

static bool BeforeCvDllGame_TurnTimerSync(CvDllGame* self, float fCurTurnTime, float fTurnStartTime);static void AfterCvDllGame_TurnTimerSync(CvDllGame* self, float fCurTurnTime, float fTurnStartTime);static void ReplaceCvDllGame_TurnTimerSync(void (*original)(CvDllGame*, float, float), CvDllGame* self, float fCurTurnTime, float fTurnStartTime);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_TurnTimerSync::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_TurnTimerSync);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_TurnTimerSync::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_TurnTimerSync);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_TurnTimerSync::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_TurnTimerSync);

Code

288void CvDllGame::TurnTimerSync(float fCurTurnTime, float fTurnStartTime)289{290	return m_pGame->TurnTimerSync(fCurTurnTime, fTurnStartTime);291}

Calls