Bazaar developer reference

CvDllPreGame::setAutorunTurnDelay(float)

Defined in
CvDllPreGame.cpp, line 590
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setAutorunTurnDelay

Hooks

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

Code

590void CvDllPreGame::setAutorunTurnDelay(float turnDelay)591{592	CvPreGame::setAutorunTurnDelay(turnDelay);593}

Calls