Bazaar developer reference

CvDllPreGame::setEndTurnTimerLength(float)

Defined in
CvDllPreGame.cpp, line 690
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setEndTurnTimerLength

Hooks

static bool BeforeCvDllPreGame_setEndTurnTimerLength(CvDllPreGame* self, float f);static void AfterCvDllPreGame_setEndTurnTimerLength(CvDllPreGame* self, float f);static void ReplaceCvDllPreGame_setEndTurnTimerLength(void (*original)(CvDllPreGame*, float), CvDllPreGame* self, float f);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEndTurnTimerLength::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setEndTurnTimerLength);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEndTurnTimerLength::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setEndTurnTimerLength);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEndTurnTimerLength::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setEndTurnTimerLength);

Code

690void CvDllPreGame::setEndTurnTimerLength(float f)691{692	CvPreGame::setEndTurnTimerLength(f);693}

Calls