Bazaar developer reference

CvDllPreGame::setAutorunTurnLimit(int)

Defined in
CvDllPreGame.cpp, line 595
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setAutorunTurnLimit

Hooks

static bool BeforeCvDllPreGame_setAutorunTurnLimit(CvDllPreGame* self, int turnLimit);static void AfterCvDllPreGame_setAutorunTurnLimit(CvDllPreGame* self, int turnLimit);static void ReplaceCvDllPreGame_setAutorunTurnLimit(void (*original)(CvDllPreGame*, int), CvDllPreGame* self, int turnLimit);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setAutorunTurnLimit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setAutorunTurnLimit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setAutorunTurnLimit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setAutorunTurnLimit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setAutorunTurnLimit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setAutorunTurnLimit);

Code

595void CvDllPreGame::setAutorunTurnLimit(int turnLimit)596{597	CvPreGame::setAutorunTurnLimit(turnLimit);598}

Calls