CvPreGame::isHotSeat()
- Defined in
- CvPreGame.cpp, line 1113
- Hook name
CivHooks::CvPreGame_isHotSeat
Hooks
static bool BeforeCvPreGame_isHotSeat(bool& result);static void AfterCvPreGame_isHotSeat(bool& result);static bool ReplaceCvPreGame_isHotSeat(bool (*original)());CivRegisterBefore<CivHooks::CvPreGame_isHotSeat>(host, &BeforeCvPreGame_isHotSeat);CivRegisterAfter<CivHooks::CvPreGame_isHotSeat>(host, &AfterCvPreGame_isHotSeat);CivRegisterReplace<CivHooks::CvPreGame_isHotSeat>(host, &ReplaceCvPreGame_isHotSeat);
Code
1113bool isHotSeat()1114{1115 GameTypes g = gameType();1116 return (g == GAME_HOTSEAT_MULTIPLAYER);1117}