CvPreGame::GetPersistSettings()
- Defined in
- CvPreGame.cpp, line 1186
- Hook name
CivHooks::CvPreGame_GetPersistSettings
Hooks
static bool BeforeCvPreGame_GetPersistSettings(bool& result);static void AfterCvPreGame_GetPersistSettings(bool& result);static bool ReplaceCvPreGame_GetPersistSettings(bool (*original)());CivRegisterBefore<CivHooks::CvPreGame_GetPersistSettings>(host, &BeforeCvPreGame_GetPersistSettings);CivRegisterAfter<CivHooks::CvPreGame_GetPersistSettings>(host, &AfterCvPreGame_GetPersistSettings);CivRegisterReplace<CivHooks::CvPreGame_GetPersistSettings>(host, &ReplaceCvPreGame_GetPersistSettings);
Code
1186bool GetPersistSettings()1187{1188 return g_bPersistSettings;1189}