Bazaar developer reference

CvDllPreGame::autorunTurnDelay()

Defined in
CvDllPreGame.cpp, line 65
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_autorunTurnDelay

Hooks

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

Code

65float CvDllPreGame::autorunTurnDelay()66{67	return CvPreGame::autorunTurnDelay();68}

Calls