CvTeam::isHasMet(TeamTypes) const
- Defined in
- CvTeam.cpp, line 3633
- Class
- CvTeam
- Hook name
CivHooks::CvTeam_isHasMet
Hooks
static bool BeforeCvTeam_isHasMet(const CvTeam* self, TeamTypes eIndex, bool& result);static void AfterCvTeam_isHasMet(const CvTeam* self, TeamTypes eIndex, bool& result);static bool ReplaceCvTeam_isHasMet(bool (*original)(const CvTeam*, TeamTypes), const CvTeam* self, TeamTypes eIndex);CivRegisterBefore<CivHooks::CvTeam_isHasMet>(host, &BeforeCvTeam_isHasMet);CivRegisterAfter<CivHooks::CvTeam_isHasMet>(host, &AfterCvTeam_isHasMet);CivRegisterReplace<CivHooks::CvTeam_isHasMet>(host, &ReplaceCvTeam_isHasMet);
Code
3633bool CvTeam::isHasMet(TeamTypes eIndex) const3634{3635 CvAssertMsg(eIndex >= 0, "eIndex is expected to be non-negative (invalid Index)");3636 CvAssertMsg(eIndex < MAX_TEAMS, "eIndex is expected to be within maximum bounds (invalid Index)");3637 return m_abHasMet[eIndex];3638}
Calls
Firaxis::Array::operator[]
Called by
80 functions in 19 files
- CvAdvisorCounsel::BuildCounselList(PlayerTypes)
- CvCityBuildings::SetNumRealBuildingTimed(BuildingTypes, int, bool, PlayerTypes, int)
- CvCityCulture::GetTourismTooltip()
- CvPlayerCulture::DoTurn()
- CvPlayerCulture::GetInfluenceLevel(PlayerTypes) const
- CvPlayerCulture::GetInfluencePerTurn(PlayerTypes) const
- CvDeal::IsPossibleToTradeItem(PlayerTypes, PlayerTypes, TradeableItems, int, int, int, bool, bool, bool)
- CvGameDeals::DoCancelAllDealsWithPlayer(PlayerTypes)
- CvGameDeals::FinalizeDealNotify(PlayerTypes, PlayerTypes, CvWeightedVector<TeamTypes, ((63)), true> &)
- CvDiplomacyAI::DoDenouncePlayer(PlayerTypes)
- CvDiplomacyAI::DoMakePublicDeclaration(PublicDeclarationTypes, int, int, PlayerTypes, PlayerTypes)
- CvDiplomacyAI::GetRequestFriendToDenounce(PlayerTypes, bool &)
- CvDiplomacyAI::IsPlayerValid(PlayerTypes, bool)
- CvDiplomacyAI::SetDoFAccepted(PlayerTypes, bool)
- CvDiplomacyAIHelpers::ApplyWarmongerPenalties(PlayerTypes, PlayerTypes, bool)
- CvDllTeam::IsHasMet(TeamTypes) const
- CvEspionageAI::BuildMinorCityList(EspionageCityList &)
- CvEspionageAI::FindTargetSpyNumbers(int *, int *, int *, int *)
- CvPlayerEspionage::AttemptCoup(uint)
- CvPlayerEspionage::CanEverMoveSpyTo(CvCity *)
- CvPlayerEspionage::UncoverIntrigue(uint)
- CvGame::DoPlaceTeamInVictoryCompetition(VictoryTypes, TeamTypes)
- CvGame::DoResearchAgreementNotification(TeamTypes, TeamTypes)
- CvGame::GetWorldMilitaryStrengthAverage(PlayerTypes, bool, bool)
- CvGame::SetBestGreatPeoplePlayer(PlayerTypes, int)
- CvGame::SetBestPoliciesPlayer(PlayerTypes, int)
- CvGame::SetBestWondersPlayer(PlayerTypes, int)
- CvGame::updateWar()
- CvGrandStrategyAI::DoGuessOtherPlayersActiveGrandStrategy()
- CvGrandStrategyAI::DoTurn()
- CvGrandStrategyAI::GetConquestPriority()
- CvMinorCivAI::DoBulliedByMajorReaction(PlayerTypes, int)
- CvMinorCivAI::DoElection()
- CvMinorCivAI::DoLiberationByMajor(PlayerTypes, TeamTypes)
- CvMinorCivAI::DoSetBonus(PlayerTypes, bool, bool, bool, bool, bool, PlayerTypes)
- CvMinorCivAI::DoTestProxyWarAnnouncement()
- CvMinorCivAI::GetBestCityStateTarget(PlayerTypes)
- CvMinorCivAI::GetBestPlayerToFind(PlayerTypes)
- CvMinorCivAI::GetFriendshipChangePerTurnTimes100(PlayerTypes)
- CvMinorCivAI::GetStatusChangeNotificationStrings(PlayerTypes, bool, bool, bool, PlayerTypes, PlayerTypes)
- CvMinorCivAI::IsHasMetPlayer(PlayerTypes)
- CvMinorCivAI::IsValidQuestCopyForPlayer(PlayerTypes, CvMinorCivQuest *)
- CvMinorCivAI::IsValidQuestForPlayer(PlayerTypes, MinorCivQuestTypes)
- CvPlayer::DoAnnounceReligionAdoption()
- CvPlayer::DoLiberatePlayer(PlayerTypes, int)
- CvPlayer::SetHasLostCapital(bool, PlayerTypes)
- CvPlayer::acquireCity(CvCity *, bool, bool, bool)
- CvPlayer::calculateResearchModifier(TechTypes)
- CvPlayerPolicies::SetPolicyBranchUnlocked(PolicyBranchTypes, bool, bool)
- CvGameReligions::AddReformationBelief(PlayerTypes, ReligionTypes, BeliefTypes)
- CvGameReligions::EnhanceReligion(PlayerTypes, ReligionTypes, BeliefTypes, BeliefTypes, bool)
- CvGameReligions::FoundPantheon(PlayerTypes, BeliefTypes)
- CvGameReligions::FoundReligion(PlayerTypes, ReligionTypes, const char *, BeliefTypes, BeliefTypes, BeliefTypes, BeliefTypes, CvCity *)
- CvTeam::DoDeclareWar(PlayerTypes, bool, TeamTypes, bool, bool)
- CvTeam::DoMakePeace(PlayerTypes, bool, TeamTypes, bool, bool)
- CvTeam::GetTeamVotingForInDiplo() const
- CvTeam::SetCurrentEra(EraTypes)
- CvTeam::addTeam(TeamTypes)
- CvTeam::canDeclareWar(TeamTypes, PlayerTypes) const
- CvTeam::changeProjectCount(ProjectTypes, int)
- CvTeam::getDefensivePactCount(TeamTypes) const
- CvTeam::getHasMetCivCount(bool) const
- CvTeam::hasMetHuman() const
- CvTeam::makeHasMet(TeamTypes, bool)
- CvTeam::meet(TeamTypes, bool)
- CvTeam::setHasTech(TechTypes, bool, PlayerTypes, bool, bool)
- CvTeam::testCircumnavigated()
- CvTeam::updateTechShare(TechTypes)
- CvGameTrade::CanCreateTradeRoute(CvCity *, CvCity *, DomainTypes, TradeConnectionType, bool, bool)
- CvPlayerTrade::PlunderTradeRoute(int, CvUnit *)
- CvUnit::canEnterTerritory(TeamTypes, bool, bool, bool) const
- CvUnit::createCaptureUnit(const CvUnitCaptureDefinition &)
- CvUnit::initWithNameOffset(int, UnitTypes, int, UnitAITypes, PlayerTypes, int, int, DirectionTypes, bool, bool, int, int)
- CvGameLeagues::DoTurn()
- CvLeague::AddMember(PlayerTypes)
- CvLeague::DoProjectReward(PlayerTypes, LeagueProjectTypes, ContributionTier)
- CvLeagueAI::ScoreVoteChoiceYesNo(CvProposal *, int, bool)
- CvLuaPlayer::lGetNumMinorCivsMet(lua_State *)
- CvLuaPlayer::lGetOthersGreatWorks(lua_State *)
- CvLuaTeam::lIsHasMet(lua_State *)