Bazaar developer reference

CvPreGame::setPersistSettings(bool)

Defined in
CvPreGame.cpp, line 1191
Hook name
CivHooks::CvPreGame_setPersistSettings

Hooks

static bool BeforeCvPreGame_setPersistSettings(bool bPersist);static void AfterCvPreGame_setPersistSettings(bool bPersist);static void ReplaceCvPreGame_setPersistSettings(void (*original)(bool), bool bPersist);CivRegisterBefore<CivHooks::CvPreGame_setPersistSettings>(host, &BeforeCvPreGame_setPersistSettings);CivRegisterAfter<CivHooks::CvPreGame_setPersistSettings>(host, &AfterCvPreGame_setPersistSettings);CivRegisterReplace<CivHooks::CvPreGame_setPersistSettings>(host, &ReplaceCvPreGame_setPersistSettings);

Code

1191void setPersistSettings(bool bPersist)1192{1193	g_bPersistSettings = bPersist;1194}

Called by