CvPlayer::GetNotifications() const
- Defined in
- CvPlayer.cpp, line 24620
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_GetNotifications
Hooks
static bool BeforeCvPlayer_GetNotifications(const CvPlayer* self, CvNotifications*& result);static void AfterCvPlayer_GetNotifications(const CvPlayer* self, CvNotifications*& result);static CvNotifications* ReplaceCvPlayer_GetNotifications(CvNotifications* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetNotifications>(host, &BeforeCvPlayer_GetNotifications);CivRegisterAfter<CivHooks::CvPlayer_GetNotifications>(host, &AfterCvPlayer_GetNotifications);CivRegisterReplace<CivHooks::CvPlayer_GetNotifications>(host, &ReplaceCvPlayer_GetNotifications);
Code
24620CvNotifications* CvPlayer::GetNotifications() const24621{24622 return m_pNotifications;24623}
Called by
135 functions in 25 files
- CvBeliefHelpers::ConvertBarbarianUnit(const CvUnit *, UnitHandle)
- CvCityBuildings::SetNumRealBuildingTimed(BuildingTypes, int, bool, PlayerTypes, int)
- CvCity::ChangeNumResourceLocal(ResourceTypes, int)
- CvCity::DoJONSCultureLevelIncrease()
- CvCity::DoNearbyEnemy()
- CvCity::DoPickResourceDemanded(bool)
- CvCity::DoTestResourceDemanded()
- CvCity::chooseProduction(UnitTypes, BuildingTypes, ProjectTypes, bool, bool)
- CvCity::doGrowth()
- CvCity::doTurn()
- CvCity::popOrder(int, bool, bool)
- CvCityCitizens::DoSpawnGreatPerson(UnitTypes, bool, bool, bool)
- CultureHelpers::SendArtSwapNotification(GreatWorkSlotType, bool, PlayerTypes, PlayerTypes, int, int)
- CvPlayerCulture::DoTurn()
- CvGameDeals::DoEndTradedItem(CvTradedItem *, PlayerTypes, bool)
- CvGameDeals::FinalizeDealNotify(PlayerTypes, PlayerTypes, CvWeightedVector<TeamTypes, ((63)), true> &)
- CvDiplomacyAI::DoCounters()
- CvDiplomacyAI::DoDenouncePlayer(PlayerTypes)
- CvDiplomacyAI::DoFirstContact(PlayerTypes)
- CvDiplomacyAI::DoMakePublicDeclaration(PublicDeclarationTypes, int, int, PlayerTypes, PlayerTypes)
- CvDiplomacyAI::DoTestPromises()
- CvDiplomacyAI::SetDoFAccepted(PlayerTypes, bool)
- CvDiplomacyRequests::ActivateNext()
- CvDiplomacyRequests::BeginTurn()
- CvDiplomacyRequests::EndTurn()
- CvDllNetMessageHandler::ResponseEnhanceReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, int, int)
- CvDllNetMessageHandler::ResponseFoundReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, BeliefTypes, BeliefTypes, int, int)
- CvDllNetMessageHandler::ResponsePlayerDealFinalized(PlayerTypes, PlayerTypes, PlayerTypes, bool)
- CvDllPlayer::ActivateNotification(int)
- CvDllPlayer::AddNotification(NotificationTypes, const char *, const char *, int, int, int, int)
- CvDllPlayer::DismissNotification(int, bool)
- CvDllPlayer::MayUserDismissNotification(int)
- CvDllPlayer::RebroadcastNotifications()
- CvPlayerEspionage::AddIntrigueMessage(PlayerTypes, PlayerTypes, PlayerTypes, BuildingTypes, ProjectTypes, CvIntrigueType, uint, CvCity *, bool)
- CvPlayerEspionage::AttemptCoup(uint)
- CvPlayerEspionage::CreateSpy()
- CvPlayerEspionage::LevelUpSpy(uint)
- CvPlayerEspionage::ProcessSpy(uint)
- CvPlayerEspionage::ProcessSpyMessages()
- CvGame::DoPlaceTeamInVictoryCompetition(VictoryTypes, TeamTypes)
- CvGame::DoResearchAgreementNotification(TeamTypes, TeamTypes)
- CvGame::SetBestGreatPeoplePlayer(PlayerTypes, int)
- CvGame::SetBestPoliciesPlayer(PlayerTypes, int)
- CvGame::SetBestWondersPlayer(PlayerTypes, int)
- CvGame::setWinner(TeamTypes, VictoryTypes)
- CvGame::updateTestEndTurn()
- CvMinorCivAI::AddBuyoutNotification(CvString, CvString, PlayerTypes, int, int)
- CvMinorCivAI::AddNotification(CvString, CvString, PlayerTypes, int, int)
- CvMinorCivAI::AddQuestNotification(CvString, CvString, PlayerTypes, int, int, bool)
- CvMinorCivAI::DoElection()
- CvMinorCivAI::DoLiberationByMajor(PlayerTypes, TeamTypes)
- CvMinorCivQuest::DoCancelQuest()
- CvMinorCivQuest::DoFinishQuest()
- CvMinorCivQuest::DoStartQuest(int)
- CvMinorCivQuest::DoStartQuestUsingExistingData(CvMinorCivQuest *)
- CvNotifications::AddToPlayer(PlayerTypes, NotificationTypes, const char *, const char *, int, int, int, int)
- CvPlayer::AddNotification(NotificationTypes, const char *, const char *, CvPlot *, int, int)
- CvPlayer::ChangeNumFaithGreatPeople(int)
- CvPlayer::ChangeNumFreeGreatPeople(int)
- CvPlayer::ChangeNumFreePolicies(int)
- CvPlayer::ChangeNumFreeTenets(int, bool)
- CvPlayer::ChangeNumMayaBoosts(int)
- CvPlayer::DoAnnounceReligionAdoption()
- CvPlayer::DoCityRevolt()
- CvPlayer::DoDeficit()
- CvPlayer::DoLiberatePlayer(PlayerTypes, int)
- CvPlayer::DoResetCityRevoltCounter()
- CvPlayer::DoSpawnGreatPerson(PlayerTypes, bool)
- CvPlayer::DoTestOverResourceNotification(ResourceTypes)
- CvPlayer::DoUprising()
- CvPlayer::SetHasLostCapital(bool, PlayerTypes)
- CvPlayer::UpdateNotifications()
- CvPlayer::acquireCity(CvCity *, bool, bool, bool)
- CvPlayer::changeGoldenAgeTurns(int)
- CvPlayer::changeNumResourceTotal(ResourceTypes, int, bool)
- CvPlayer::chooseTech(int, const char *, TechTypes)
- CvPlayer::createGreatAdmiral(UnitTypes, int, int, bool)
- CvPlayer::createGreatGeneral(UnitTypes, int, int, bool)
- CvPlayer::disconnected()
- CvPlayer::doTurnPostDiplomacy()
- CvPlayer::processPolicies(PolicyTypes, int)
- CvPlayer::reconnected()
- CvPlayer::setAlive(bool, bool)
- CvPlayer::setDynamicTurnsSimultMode(bool)
- CvPlayer::setTurnActive(bool, bool)
- CvPlot::changeBuildProgress(BuildTypes, int, PlayerTypes)
- CvPlot::setRevealed(TeamTypes, bool, CvUnit *, bool, TeamTypes)
- CvPlayerPolicies::SetPolicyBranchUnlocked(PolicyBranchTypes, bool, bool)
- CvCityReligions::CityConvertsReligion(ReligionTypes, ReligionTypes, PlayerTypes)
- CvGameReligions::AddReformationBelief(PlayerTypes, ReligionTypes, BeliefTypes)
- CvGameReligions::DoPlayerTurn(CvPlayer &)
- CvGameReligions::EnhanceReligion(PlayerTypes, ReligionTypes, BeliefTypes, BeliefTypes, bool)
- CvGameReligions::FoundPantheon(PlayerTypes, BeliefTypes)
- CvGameReligions::FoundReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, BeliefTypes, BeliefTypes, CvCity *)
- CvTeam::AddNotification(NotificationTypes, const char *, const char *, int, int, int, int)
- CvTeam::DoDeclareWar(PlayerTypes, bool, TeamTypes, bool, bool)
- CvTeam::DoMakePeace(PlayerTypes, bool, TeamTypes, bool, bool)
- CvTeam::DoNowAtWarOrPeace(TeamTypes, bool)
- CvTeam::DoTestSmallAwards()
- CvTeam::EvacuateDiplomatsAtTeam(TeamTypes)
- CvTeam::SetCurrentEra(EraTypes)
- CvTeam::changeProjectCount(ProjectTypes, int)
- CvTeam::processTech(TechTypes, int)
- CvTeam::setHasTech(TechTypes, bool, PlayerTypes, bool, bool)
- CvPlayerTrade::PlunderTradeRoute(int, CvUnit *)
- CvPlayerTraits::ConvertBarbarianCamp(CvUnit *, CvPlot *)
- CvPlayerTraits::ConvertBarbarianNavalUnit(CvUnit *, UnitHandle)
- CvUnit::DoAttrition()
- CvUnit::DoEnhanceReligion()
- CvUnit::DoFoundReligion()
- CvUnit::PerformCultureBomb(int)
- CvUnit::UnitPathTo(int, int, int, int, bool)
- CvUnit::createGreatWork()
- CvUnit::setPromotionReady(bool)
- CvUnit::setXY(int, int, bool, bool, bool, bool, bool)
- CvUnitCombat::Attack(CvUnit &, CvPlot &, ATTACK_OPTION)
- CvUnitCombat::ResolveAirSweep(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveAirUnitVsCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveMeleeCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveRangedCityVsUnitCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveRangedUnitVsCombat(const CvCombatInfo &, uint)
- CvGameLeagues::DoPlayerTurn(CvPlayer &)
- CvLeague::NotifyProjectComplete(LeagueProjectTypes)
- CvLeague::NotifyProjectProgress(LeagueProjectTypes)
- CvLeague::NotifyProposalResult(CvEnactProposal *)
- CvLeague::NotifyProposalResult(CvRepealProposal *)
- CvLeague::NotifySessionSoon(int)
- CvLuaPlayer::lAddNotification(lua_State *)
- CvLuaPlayer::lDismissNotification(lua_State *)
- CvLuaPlayer::lGetNotificationDismissed(lua_State *)
- CvLuaPlayer::lGetNotificationIndex(lua_State *)
- CvLuaPlayer::lGetNotificationStr(lua_State *)
- CvLuaPlayer::lGetNotificationSummaryStr(lua_State *)
- CvLuaPlayer::lGetNotificationTurn(lua_State *)
- CvLuaPlayer::lGetNumNotifications(lua_State *)