CvGame::isGameMultiPlayer() const
- Defined in
- CvGame.cpp, line 4295
- Class
- CvGame
- Hook name
CivHooks::CvGame_isGameMultiPlayer
Hooks
static bool BeforeCvGame_isGameMultiPlayer(const CvGame* self, bool& result);static void AfterCvGame_isGameMultiPlayer(const CvGame* self, bool& result);static bool ReplaceCvGame_isGameMultiPlayer(bool (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_isGameMultiPlayer>(host, &BeforeCvGame_isGameMultiPlayer);CivRegisterAfter<CivHooks::CvGame_isGameMultiPlayer>(host, &AfterCvGame_isGameMultiPlayer);CivRegisterReplace<CivHooks::CvGame_isGameMultiPlayer>(host, &ReplaceCvGame_isGameMultiPlayer);
Code
4295bool CvGame::isGameMultiPlayer() const4296{4297 return (isNetworkMultiPlayer() || isPbem() || isHotSeat());4298}
Calls
Called by
- CvCityBuildings::SetNumRealBuildingTimed(BuildingTypes, int, bool, PlayerTypes, int)
- CvPlayerCulture::DoTurn()
- CvDiplomacyAI::DoSendStatementToPlayer(PlayerTypes, DiploStatementTypes, int, CvDeal *)
- CvDllGame::IsGameMultiPlayer() const
- CvDllGameAsynch::IsGameMultiPlayer() const
- CvPlayerEspionage::AddIntrigueMessage(PlayerTypes, PlayerTypes, PlayerTypes, BuildingTypes, ProjectTypes, CvIntrigueType, uint, CvCity *, bool)
- CvPlayerEspionage::GetIntrigueMessage(uint)
- CvGame::Read(FDataStream &)
- CvGame::canDoControl(ControlTypes)
- CvGame::doControl(ControlTypes)
- CvGame::init(HandicapTypes)
- CvGame::updateTestEndTurn()
- CvNotifications::GetEndTurnBlockedType(EndTurnBlockingTypes &, int &)
- CvNotifications::IsNotificationTypeEndOfTurnExpired(NotificationTypes, int)
- CvPlayer::DoLiberatePlayer(PlayerTypes, int)
- CvPlayer::SetHasLostCapital(bool, PlayerTypes)
- CvPlayer::canReceiveGoody(CvPlot *, GoodyTypes, CvUnit *) const
- CvPlayer::disconnected()
- CvPlayer::doTurn()
- CvPlayer::getName() const
- CvPlayer::getNameKey() const
- CvPlayer::reconnected()
- CvPlayer::setEndTurn(bool)
- CvPlayer::setTurnActive(bool, bool)
- CvTeam::SetCurrentEra(EraTypes)
- CvPlayerTrade::PlunderTradeRoute(int, CvUnit *)
- CvLuaGame::lIsGameMultiPlayer(lua_State *)