CvPreGame::setActivePlayer(PlayerTypes)
- Defined in
- CvPreGame.cpp, line 2261
- Hook name
CivHooks::CvPreGame_setActivePlayer
Hooks
static bool BeforeCvPreGame_setActivePlayer(PlayerTypes p);static void AfterCvPreGame_setActivePlayer(PlayerTypes p);static void ReplaceCvPreGame_setActivePlayer(void (*original)(PlayerTypes), PlayerTypes p);CivRegisterBefore<CivHooks::CvPreGame_setActivePlayer>(host, &BeforeCvPreGame_setActivePlayer);CivRegisterAfter<CivHooks::CvPreGame_setActivePlayer>(host, &AfterCvPreGame_setActivePlayer);CivRegisterReplace<CivHooks::CvPreGame_setActivePlayer>(host, &ReplaceCvPreGame_setActivePlayer);
Code
2261void setActivePlayer(PlayerTypes p)2262{2263 s_activePlayer = p;2264}
Calls
FAutoVariable::operator=