Bazaar developer reference

CvPreGame::setAutorun(bool)

Defined in
CvPreGame.cpp, line 2287
Hook name
CivHooks::CvPreGame_setAutorun

Hooks

static bool BeforeCvPreGame_setAutorun(bool isEnabled);static void AfterCvPreGame_setAutorun(bool isEnabled);static void ReplaceCvPreGame_setAutorun(void (*original)(bool), bool isEnabled);CivRegisterBefore<CivHooks::CvPreGame_setAutorun>(host, &BeforeCvPreGame_setAutorun);CivRegisterAfter<CivHooks::CvPreGame_setAutorun>(host, &AfterCvPreGame_setAutorun);CivRegisterReplace<CivHooks::CvPreGame_setAutorun>(host, &ReplaceCvPreGame_setAutorun);

Code

2287void setAutorun(bool isEnabled)2288{2289	s_autorun = isEnabled;2290}

Calls

Called by