CvPreGame::setEra(EraTypes)
- Defined in
- CvPreGame.cpp, line 2446
- Hook name
CivHooks::CvPreGame_setEra
Hooks
static bool BeforeCvPreGame_setEra(EraTypes e);static void AfterCvPreGame_setEra(EraTypes e);static void ReplaceCvPreGame_setEra(void (*original)(EraTypes), EraTypes e);CivRegisterBefore<CivHooks::CvPreGame_setEra>(host, &BeforeCvPreGame_setEra);CivRegisterAfter<CivHooks::CvPreGame_setEra>(host, &AfterCvPreGame_setEra);CivRegisterReplace<CivHooks::CvPreGame_setEra>(host, &ReplaceCvPreGame_setEra);
Code
2446void setEra(EraTypes e)2447{2448 s_era = e;2449}
Calls
FAutoVariable::operator=