Player (Civ5 Type)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Instance Methods

Methods are functions that belong to an object. Instance methods are invoked through a colon, as in caller:SomeMethod(<args>), where caller is an instance of Player.
A colon implictly passes the caller object as the first argument. That is, the former call is equivalent to this one: caller.SomeMethod(caller, <args>)

A

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png AcquireCity(City city, bool conquest, bool trade)
CheckButZero.png CheckButZero.png Star.png Speech.png AddCityName(string name)
Check.png Check.png Star.png Speech.png AddFreeUnit(UnitType arg0, UnitAIType UNITAI_DEFENSE)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png AddMinorCivQuestIfAble
Check.png Check.png Star.png Speech.png AddNotification(NotificationType notificationType, string description, string title, int x = -1, int y = -1, PlayerID extra1 = -1, int extra2 = -1)
Check.png Check.png Star.png Speech.png AddTemporaryDominanceZone(int arg0, int arg1)
CheckButZero.png CheckButZero.png Star.png Speech.png int AI_foundValue(int x, int y, int alwaysOne, bool alwaysFalse)
CheckButZero.png CheckButZero.png Star.png Speech.png AI_updateFoundValues(bool startingLoc)

C

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png int CalculateGoldRate()
Check.png Check.png Star.png Speech.png int CalculateGoldRateTimes100()
Check.png Check.png Star.png Speech.png int CalculateGrossGold()
Check.png Check.png Star.png Speech.png int CalculateGrossGoldTimes100()
Check.png Check.png Star.png Speech.png int CalculateInflatedCosts()
CheckButZero.png CheckButZero.png Star.png Speech.png int CalculateResearchModifier(TechType tech)
Check.png Check.png Star.png Speech.png int CalculateTotalYield(YieldType yield)
Check.png Check.png Star.png Speech.png int CalculateUnitCost()
Check.png Check.png Star.png Speech.png int CalculateUnitSupply()
Check.png Check.png Star.png Speech.png int CanAdoptPolicy(PolicyType policy)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanBuild(Plot plot, BuildActionType build, bool testEra = false, bool testVisible = false, bool testGold = false)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanConstruct(BuildingType building, bool continue, bool testVisible, bool ignoreCost)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanContact(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanCreate(ProjectType project, bool continue, bool testVisible)
Check.png Check.png Star.png Speech.png bool CanCreatePantheon(bool arg0)
Check.png Check.png Star.png Speech.png bool CanEverResearch(TechType tech)
Check.png Check.png Star.png Speech.png bool CanFound(int x, int y)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanMaintain(ProcessType process, bool continue)
Check.png Check.png Star.png Speech.png bool CanMajorBullyGold(PlayerID major)
Check.png Check.png Star.png Speech.png bool CanMajorBullyUnit(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int CanMajorBuyout(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool CanMajorGiftTileImprovement(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool CanMajorGiftTileImprovementAtPlot(PlayerID fromPlayer, int plotX, int plotY)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png CanMajorProtect
Check.png Check.png Star.png Speech.png bool CanMajorStartProtection(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool CanMajorWithdrawProtection(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanPrepare(SpecialistType specialist, bool continue)
Check.png Check.png Star.png Speech.png bool CanRaze(City city, bool arg1 = nil)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanReceiveGoody(Plot plot, GoodyType goody, Unit unit)
Check.png Check.png Star.png Speech.png int CanResearch(TechType tech, bool trade = false)
Check.png Check.png Star.png Speech.png bool CanResearchForFree(TechType tech)
Check.png Check.png Star.png Speech.png bool CanSpyStageCoup(unknown arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanStopTradingWithTeam(TeamID team)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanTradeWith(PlayerID whoTo)
Check.png Check.png Star.png Speech.png int CanTrain(UnitType unit, bool continue, bool testVisible, bool arg3, bool arg4)
Check.png Check.png Star.png Speech.png int CanUnlockPolicyBranch(int policyBranch)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeAdvancedStartPoints(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeAlwaysSeeBarbCampsCount
CheckButZero.png CheckButZero.png Star.png Speech.png int ChangeAnarchyNumTurns()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeBarbarianCombatBonus
CheckButZero.png CheckButZero.png Star.png Speech.png int ChangeBaseBuildingGoldMaintenance()
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeCombatExperience(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeConscriptCount(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeExtraHappinessPerCity(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeFaith
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeFreePromotionCount
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeGarrisonedCityRangeStrikeModifier
Check.png Check.png Star.png Speech.png ChangeGold(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeGoldenAgeProgressMeter
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeGoldenAgeTurns(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeGoldPerUnitTimes100
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeHappinessPerGarrisonedUnit(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeHappinessPerTradeRoute(int change)
Check.png Check.png Star.png Speech.png ChangeJONSCulture(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeJONSCulturePerTurnForFree(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeJONSCulturePerTurnFromMinorCivs(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeMinorCivFriendshipWithMajor(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeNavalCombatExperience
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeNewCityExtraPopulation
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeNumFaithGreatPeople
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeNumFreeGreatPeople
Check.png Check.png Star.png Speech.png ChangeNumFreePolicies(int arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeNumGoldenAges
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ChangeNumMayaBoosts
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeNumPlotsBought(int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeNumResourceTotal(ResourceType resource, int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeNumUnitGoldenAges(int change)
Check.png Check.png Star.png Speech.png ChangeNumWorldWonders(int numWondersToCredit)
Check.png Check.png Star.png Speech.png ChangeScoreFromFutureTech(int vPReceived)
Check.png Check.png Star.png Speech.png ChangeScoreFromTechs(int score)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeUnhappinessFromUnits(int change)
Check.png Check.png Star.png Speech.png ChooseTech(int arg0, string arg1, int arg2)
Check.png Check.png Star.png Speech.png iterator(City) Cities()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ClearResearchQueue
CheckButZero.png CheckButZero.png Star.png Speech.png Contact(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png int CountCityFeatures(FeatureType feature)
Check.png Check.png Star.png Speech.png int CountNumBuildings(BuildingType building)
CheckButZero.png CheckButZero.png Star.png Speech.png CreateGreatGeneral(Unit eGreatPersonUnit, bool incrementThreshold, bool incrementExperience, int x, int y)

D

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Disband(City city)
CheckButZero.png CheckButZero.png Star.png Speech.png DisbandUnit(bool announce)
CheckButZero.png CheckButZero.png Star.png Speech.png DoAdoptPolicy(PolicyType policy)
Check.png Check.png Star.png Speech.png DoBeginDiploWithHuman()
CheckButZero.png CheckButZero.png Star.png Speech.png DoForceDenounce(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png DoForceDoF(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png DoGoody(Plot plot, Unit unit)
CheckButZero.png CheckButZero.png Star.png Speech.png DoMinorLiberationByMajor(PlayerID player)
Check.png Check.png Star.png Speech.png DoTradeScreenClosed(bool aIMakingOffer)
Check.png Check.png Star.png Speech.png DoTradeScreenOpened()
CheckButZero.png CheckButZero.png Star.png Speech.png DoUpdateProximityToPlayer(PlayerID player)

F

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png FindNewCapital
CheckButZero.png CheckButZero.png Star.png Speech.png int FindPathLength(TechType tech, bool cost)
CheckButZero.png CheckButZero.png Star.png Speech.png ForcePeace(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png Found(int x, int y)

G

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png MinorCivQuestType GetActiveQuestForPlayer(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartBuildingCost(BuildingType building, bool add, City city)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartCityCost(bool add, Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartImprovementCost(ImprovementType improvement, bool add, Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartPoints()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartPopCost(bool add, City city)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartRouteCost(RouteType route, bool add, Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartTechCost(TechType tech, bool add)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartUnitCost(UnitType unit, bool add, Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdvancedStartVisibilityCost(bool add, Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAgricultureHistory(int turn)
Check.png Check.png Star.png Speech.png PlayerID GetAlly()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAnarchyNumTurns()
Check.png Check.png Star.png Speech.png bool GetAnyUnitHasOrderToGoody(unknown void)
Check.png Check.png Star.png Speech.png MajorCivApproachType GetApproachTowardsUsGuess(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png ArtStyleType GetArtStyleType()
Check.png Check.png Star.png Speech.png int GetAttackBonusTurns()
Check.png Check.png Star.png Speech.png unknown GetAvailableSpyRelocationCities(unknown agentID)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAveragePopulation()
Check.png Check.png Star.png Speech.png int GetBarbarianCombatBonus()
Check.png Check.png Star.png Speech.png BeliefType GetBeliefInPantheon()
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetBestRoute(Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetBranchPicked1()
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetBranchPicked2()
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetBranchPicked3()
Check.png Check.png Star.png Speech.png int GetBuildingClassCount(BuildingClassType buildingClass)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetBuildingClassCountPlusMaking(BuildingClassType buildingClass)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetBuildingClassMaking(BuildingClassType buildingClass)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetBuildingClassPrereqBuilding(BuildingType building, unknown ePrereqBuildingClass, int extra)
Check.png Check.png Star.png Speech.png int GetBuildingGoldMaintenance()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetBuildingProductionModifier
Check.png Check.png Star.png Speech.png int GetBuildingProductionNeeded(int building)
Check.png Check.png Star.png Speech.png int GetBuyoutCost(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetBuyPlotCost
Check.png Check.png Star.png Speech.png City GetCapitalCity()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetCapitalSettlerProductionModifier
Check.png Check.png Star.png Speech.png int GetCapitalUnhappinessMod()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetCapitalYieldRateModifier(YieldType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetCitiesLost()
Check.png Check.png Star.png Speech.png City GetCityByID(CityID city)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetCityConnectionGold()
Check.png Check.png Star.png Speech.png int GetCityConnectionGoldTimes100()
Check.png Check.png Star.png Speech.png int GetCityCountUnhappinessMod()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetCityDefenseModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png string GetCityName(int index)
Check.png Check.png Star.png Speech.png string GetCivilizationAdjective(int form)
Check.png Check.png Star.png Speech.png string GetCivilizationAdjectiveKey()
Check.png Check.png Star.png Speech.png string GetCivilizationDescription()
CheckButZero.png CheckButZero.png Star.png Speech.png string GetCivilizationDescriptionKey()
Check.png Check.png Star.png Speech.png string GetCivilizationShortDescription()
Check.png Check.png Star.png Speech.png string GetCivilizationShortDescriptionKey()
Check.png Check.png Star.png Speech.png CivilizationType GetCivilizationType()
Check.png Check.png Star.png Speech.png Plot GetClosestGoodyPlot(unknown void)
Check.png Check.png Star.png Speech.png int GetCombatBonusVsHigherTech()
Check.png Check.png Star.png Speech.png int GetCombatBonusVsLargerCiv()
Check.png Check.png Star.png Speech.png int GetCombatExperience()
Check.png Check.png Star.png Speech.png int GetCommonFoeValue(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetConscriptCount()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetConversionTimer()
Check.png Check.png Star.png Speech.png CoopWarState GetCoopWarAcceptedState(PlayerID withPlayer, PlayerID againstPlayer)
Check.png Check.png Star.png Speech.png unknown GetCoupChanceOfSuccess(int city)
Check.png Check.png Star.png Speech.png int GetCultureBombTimer()
Check.png Check.png Star.png Speech.png int GetCultureCityModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetCulturePerTurnFromMinor
Check.png Check.png Star.png Speech.png int GetCulturePerTurnFromMinorCivs()
Check.png Check.png Star.png Speech.png int GetCulturePerTurnFromReligion()
Check.png Check.png Star.png Speech.png int GetCultureWonderMultiplier()
Check.png Check.png Star.png Speech.png int GetCurrentCapitalFoodBonus(PlayerID major)
Check.png Check.png Star.png Speech.png int GetCurrentCultureBonus(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png EraType GetCurrentEra()
Check.png Check.png Star.png Speech.png int GetCurrentOtherCityFoodBonus(PlayerID major)
Check.png Check.png Star.png Speech.png TechType GetCurrentResearch()
Check.png Check.png Star.png Speech.png int GetCurrentScienceFriendshipBonusTimes100(PlayerID major)
Check.png Check.png Star.png Speech.png int GetCurrentSpawnEstimate(PlayerID major)
Check.png Check.png Star.png Speech.png SpecialistType GetDealMyValue(Deal Deal)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetDealTheyreValue
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetDealValue
CheckButZero.png CheckButZero.png Star.png Speech.png int GetDomesticGreatGeneralRateModifier()
Check.png Check.png Star.png Speech.png PolicyBranchType GetDominantPolicyBranchForTitle()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetEconomyHistory(int turn)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetEmbarkedGraphicOverride
Check.png Check.png Star.png Speech.png EndTurnBlockingType GetEndTurnBlockingNotificationIndex()
Check.png Check.png Star.png Speech.png EndTurnBlockingType GetEndTurnBlockingType()
Check.png Check.png Star.png Speech.png table(int => CityEspionageInfo) GetEspionageCityStatus()
Check.png Check.png Star.png Speech.png table(int => SpyInfo) GetEspionageSpies()
Check.png Check.png Star.png Speech.png bool GetEverPoppedGoody(unknown void)
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetEverTrainedBuilder(unknown void)
Check.png Check.png Star.png Speech.png int GetExcessHappiness()
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetExpInBorderModifier()
Check.png Check.png Star.png Speech.png int GetExtraBuildingHappinessFromPolicies(PlayerID building)
Check.png Check.png Star.png Speech.png int GetExtraHappinessPerCity()
Check.png Check.png Star.png Speech.png int GetExtraHappinessPerLuxury()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetExtraUnitCost()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetExtraYieldThreshold(YieldType index)
Check.png Check.png Star.png Speech.png int GetFaith()
Check.png Check.png Star.png Speech.png int GetFaithPerTurnFromCities()
Check.png Check.png Star.png Speech.png int GetFaithPerTurnFromMinorCivs()
Check.png Check.png Star.png Speech.png int GetFaithPerTurnFromReligion()
Check.png Check.png Star.png Speech.png int GetFaithPurchaseIndex()
Check.png Check.png Star.png Speech.png FaithPurchaseType GetFaithPurchaseType()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetFeatureProductionModifier()
Check.png Check.png Star.png Speech.png Unit GetFirstReadyUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetFirstReadyUnitPlot()
Check.png Check.png Star.png Speech.png int GetFoundedReligionEnemyCityCombatMod(Plot toPlot)
Check.png Check.png Star.png Speech.png int GetFoundedReligionFriendlyCityCombatMod(Plot toPlot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetFreeExperience()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetFreePromotionCount
Check.png Check.png Star.png Speech.png int GetFriendshipChangePerTurnTimes100(PlayerID major)
Check.png Check.png Star.png Speech.png int GetFriendshipFromGoldGift(PlayerID activePlayer, int gold)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetFriendshipNeededForNextLevel()
Check.png Check.png Star.png Speech.png int GetGarrisonedCityRangeStrikeModifier()
Check.png Check.png Star.png Speech.png int GetGiftTileImprovementCost(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetGold()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGoldenAgeLength()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGoldenAgeModifier()
Check.png Check.png Star.png Speech.png unknown GetGoldenAgeProgressMeter()
Check.png Check.png Star.png Speech.png int GetGoldenAgeProgressThreshold()
Check.png Check.png Star.png Speech.png int GetGoldenAgeTurns()
Check.png Check.png Star.png Speech.png int GetGoldFromCitiesTimes100()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGoldPerMilitaryUnit()
Check.png Check.png Star.png Speech.png int GetGoldPerTurnFromDiplomacy()
Check.png Check.png Star.png Speech.png int GetGoldPerTurnFromReligion()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGoldPerUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetGreatAdmiralsThresholdModifier
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGreatGeneralRateModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGreatGeneralsCreated()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGreatGeneralsThresholdModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGreatPeopleCreated()
Check.png Check.png Star.png Speech.png int GetGreatPeopleRateModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetGreatPeopleThresholdModifier()
Check.png Check.png Star.png Speech.png HandicapType GetHandicapType()
Check.png Check.png Star.png Speech.png int GetHappiness()
Check.png Check.png Star.png Speech.png int GetHappinessFromBuildings()
Check.png Check.png Star.png Speech.png int GetHappinessFromCities()
Check.png Cross.png Star.png Speech.png int GetHappinessFromGarrisonedUnits()
Check.png Check.png Star.png Speech.png int GetHappinessFromLuxury(ResourceType resource)
Check.png Check.png Star.png Speech.png int GetHappinessFromMinor(PlayerID minor)
Check.png Check.png Star.png Speech.png int GetHappinessFromMinorCivs()
Check.png Check.png Star.png Speech.png int GetHappinessFromNaturalWonders()
Check.png Check.png Star.png Speech.png int GetHappinessFromPolicies()
Check.png Check.png Star.png Speech.png int GetHappinessFromReligion()
Check.png Check.png Star.png Speech.png int GetHappinessFromResources()
Check.png Check.png Star.png Speech.png int GetHappinessFromResourceVariety()
Check.png Check.png Star.png Speech.png int GetHappinessFromTradeRoutes()
Check.png Check.png Star.png Speech.png int GetHappinessPerGarrisonedUnit()
Check.png Check.png Star.png Speech.png int GetHappinessPerTradeRoute()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetHappyPerMilitaryUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetHighestUnitLevel()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetHurryCount(HurryType hurry)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetHurryGoldCost(HurryType hurry)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetHurryModifier(HurryType hurry)
Check.png Check.png Star.png Speech.png PlayerID GetID()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetImprovementCount(ImprovementType improvement)
Check.png Check.png Star.png Speech.png int GetImprovementGoldMaintenance()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetImprovementUpgradeRate()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetImprovementUpgradeRateModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetIndustryHistory(int turn)
Check.png Check.png Star.png Speech.png table(int => IntrigueInfo) GetIntrigueMessages()
Check.png Check.png Star.png Speech.png int GetJONSCulture()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetJONSCultureEverGenerated
Check.png Check.png Star.png Speech.png int GetJONSCulturePerTurnForFree()
Check.png Check.png Star.png Speech.png int GetJONSCulturePerTurnFromCities()
Check.png Check.png Star.png Speech.png int GetJONSCulturePerTurnFromExcessHappiness()
Check.png Check.png Star.png Speech.png int GetJONSCulturePerTurnFromMinorCivs()
Check.png Check.png Star.png Speech.png DisputeLevelType GetLandDisputeLevel(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetLandScore()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetLateGamePolicyTree
Check.png Check.png Star.png Speech.png LeaderType GetLeaderType()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetLengthResearchQueue()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetLevelExperienceModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetLifetimeCombatExperience
Check.png Check.png Star.png Speech.png int GetLifetimeGrossGold()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetMajorCivApproach
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxConscript()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxGlobalBuildingProductionModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxPlayerBuildingProductionModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxTeamBuildingProductionModifier()
Check.png Check.png Star.png Speech.png string GetMayaCalendarLongString()
Check.png Check.png Star.png Speech.png string GetMayaCalendarString()
Check.png Check.png Star.png Speech.png int GetMilitaryMight()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMilitaryProductionModifier()
Check.png Check.png Star.png Speech.png unknown GetMinimumFaithNextGreatProphet()
Check.png Check.png Star.png Speech.png int GetMinorCivBullyGoldAmount(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetMinorCivContestValueForLeader(MinorCivQuestType arg0)
Check.png Check.png Star.png Speech.png int GetMinorCivContestValueForPlayer(PlayerID major, MinorCivQuestType arg1)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMinorCivCultureFriendshipBonus()
Check.png Check.png Star.png Speech.png int GetMinorCivCurrentCultureBonus(PlayerID major)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetMinorCivCurrentCultureFlatBonus
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetMinorCivCurrentCulturePerBuildingBonus
Check.png Check.png Star.png Speech.png int GetMinorCivCurrentFaithBonus(PlayerID major)
Check.png Check.png Star.png Speech.png int GetMinorCivCurrentHappinessBonus(PlayerID major)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetMinorCivCurrentHappinessFlatBonus
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetMinorCivCurrentHappinessPerLuxuryBonus
Check.png Check.png Star.png Speech.png DisputeLevelType GetMinorCivDisputeLevel(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetMinorCivFavoriteMajor()
Check.png Check.png Star.png Speech.png int GetMinorCivFriendshipAnchorWithMajor(PlayerID major)
Check.png Check.png Star.png Speech.png int GetMinorCivFriendshipLevelWithMajor(PlayerID arg0)
Check.png Check.png Star.png Speech.png int GetMinorCivFriendshipWithMajor(PlayerID major)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMinorCivHappinessFriendshipBonus()
Check.png Check.png Star.png Speech.png int GetMinorCivNumActiveQuestsForPlayer(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMinorCivScienceFriendshipBonus()
Check.png Check.png Star.png Speech.png MinorCivTraitType GetMinorCivTrait()
Check.png Check.png Star.png Speech.png int GetMinorCivType()
Check.png Check.png Star.png Speech.png UnitType GetMinorCivUniqueUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMinorWarQuestWithMajorRemainingCount()
Check.png Check.png Star.png Speech.png string GetName(string form)
Check.png Check.png Star.png Speech.png string GetNameKey()
Check.png Check.png Star.png Speech.png int GetNaturalWonderYieldModifier()
Check.png Check.png Star.png Speech.png int GetNavalCombatExperience()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetNegativeReligiousConversionPoints
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetNewCityExtraPopulation
CheckButZero.png CheckButZero.png Star.png Speech.png string GetNewCityName()
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetNextCity()
Check.png Check.png Star.png Speech.png int GetNextPolicyCost()
Check.png Check.png Star.png Speech.png string GetNickName()
Check.png Check.png Star.png Speech.png int GetNotificationDismissed(int arg0)
Check.png Check.png Star.png Speech.png EndTurnBlockingType GetNotificationIndex(int i)
Check.png Check.png Star.png Speech.png string GetNotificationStr(int i)
Check.png Check.png Star.png Speech.png string GetNotificationSummaryStr(int i)
Check.png Check.png Star.png Speech.png int GetNotificationTurn(int arg0)
Check.png Check.png Star.png Speech.png int GetNumCities()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumCityNames()
Check.png Check.png Star.png Speech.png int GetNumCiviliansReturnedToMe(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetNumFaithGreatPeople()
Check.png Check.png Star.png Speech.png int GetNumFreeGreatPeople()
Check.png Check.png Star.png Speech.png int GetNumFreePolicies()
Check.png Check.png Star.png Speech.png ResourceType GetNumFreeTechs()
Check.png Check.png Star.png Speech.png int GetNumFriendsDenouncedBy()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumGoldenAges()
Check.png Check.png Star.png Speech.png int GetNumMaintenanceFreeUnits()
Check.png Check.png Star.png Speech.png int GetNumMayaBoosts()
Check.png Check.png Star.png Speech.png int GetNumMilitaryUnits()
Check.png Check.png Star.png Speech.png int GetNumMinorCivsMet()
Check.png Check.png Star.png Speech.png int GetNumNotifications()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumNukeUnits()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumOutsideUnits()
Check.png Check.png Star.png Speech.png int GetNumPlots()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumPlotsBought()
Check.png Check.png Star.png Speech.png int GetNumPolicies()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumPolicyBranchesAllowed()
Check.png Check.png Star.png Speech.png int GetNumPolicyBranchesFinished()
Check.png Check.png Star.png Speech.png int GetNumPolicyBranchesUnlocked()
Check.png Check.png Star.png Speech.png int GetNumRequestsRefused(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetNumResourceAvailable(ResourceType resource, bool includeImport)
Check.png Check.png Star.png Speech.png int GetNumResourceTotal(ResourceType resource, bool includeImport)
Check.png Check.png Star.png Speech.png int GetNumResourceUsed(ResourceType resource)
Check.png Check.png Star.png Speech.png int GetNumSpies()
Check.png Check.png Star.png Speech.png int GetNumTechsToSteal(int stealingTechTargetPlayerID)
Check.png Check.png Star.png Speech.png int GetNumTimesCultureBombed(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetNumTimesIntrigueSharedBy
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetNumTimesRobbedBy
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumTradeResourceImports(PlayerID player)
Check.png Check.png Star.png Speech.png int GetNumUnassignedSpies()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumUnitGoldenAges()
Check.png Check.png Star.png Speech.png int GetNumUnits()
Check.png Check.png Star.png Speech.png int GetNumUnitsOutOfSupply()
Check.png Check.png Star.png Speech.png int GetNumUnitsSupplied()
Check.png Check.png Star.png Speech.png int GetNumUnitsSuppliedByCities()
Check.png Check.png Star.png Speech.png int GetNumUnitsSuppliedByHandicap()
Check.png Check.png Star.png Speech.png int GetNumUnitsSuppliedByPopulation()
Check.png Check.png Star.png Speech.png int GetNumWarsFought(PlayerID otherPlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetNumWondersBeatenTo
Check.png Check.png Star.png Speech.png int GetNumWorldWonders()
Check.png Check.png Star.png Speech.png int GetOccupiedPopulationUnhappinessMod()
Check.png Check.png Star.png Speech.png table(unknown => unknown) GetOpinionTable(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetOtherPlayerNumProtectedMinorsAttacked(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetOtherPlayerNumProtectedMinorsKilled(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetOverflowResearch()
Check.png Check.png Star.png Speech.png MinorCivPersonalityType GetPersonality()
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetPersonalityType()
Check.png Check.png Star.png Speech.png int GetPlayerBuildingClassHappiness(BuildingClassType buildingClass)
Check.png Check.png Star.png Speech.png int GetPlayerBuildingClassYieldChange(BuildingClassType buildingClass, YieldType arg1)
Check.png Check.png Star.png Speech.png ColorType GetPlayerColor()
Check.png Check.png Star.png Speech.png Vector4, Vector4 GetPlayerColors()
Check.png Check.png Star.png Speech.png unknown GetPlayerVisiblePlot(Player player)
Check.png Check.png Star.png Speech.png int GetPlotDanger(Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetPlotHasOrder(Plot Plot)
CheckButZero.png CheckButZero.png Star.png Speech.png bool GetPolicyBranchChosen(PolicyType policyBranch)
Check.png Check.png Star.png Speech.png int GetPolicyBuildingClassYieldChange(BuildingClassType buildingClass, YieldType arg1)
Check.png Check.png Star.png Speech.png int GetPolicyBuildingClassYieldModifier(BuildingClassType buildingClass, YieldType arg1)
Check.png Check.png Star.png Speech.png int GetPolicyCatchSpiesModifier()
Check.png Check.png Star.png Speech.png int GetPolicyEspionageCatchSpiesModifier(int i)
Check.png Check.png Star.png Speech.png int GetPolicyEspionageModifier(int i)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPopScore()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPower()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPowerHistory(int turn)
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetPrevCity()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetProductionModifier
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetProjectProductionModifier
Check.png Check.png Star.png Speech.png int GetProjectProductionNeeded(ProjectType project)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetProximityToPlayer(PlayerID index)
Check.png Check.png Star.png Speech.png int GetQuestData1(PlayerID major, MinorCivQuestType type = nil)
Check.png Check.png Star.png Speech.png int GetQuestData2(PlayerID major, MinorCivQuestType type = nil)
Check.png Check.png Star.png Speech.png int GetQuestTurnsRemaining(PlayerID major, MinorCivQuestType type, PlayerID arg2)
Check.png Check.png Star.png Speech.png int GetQueuePosition(TechType tech)
Check.png Check.png Star.png Speech.png int GetRealPopulation()
Check.png Check.png Star.png Speech.png int GetRecentAssistValue(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png SpecialistType, int GetRecentIntrigueInfo(PlayerID aIPlayer)
Check.png Check.png Star.png Speech.png int GetRecentTradeValue(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png table(unknown => unknown) GetRecommendedFoundCityPlots()
Check.png Check.png Star.png Speech.png table(unknown => unknown) GetRecommendedWorkerPlots()
Check.png Check.png Star.png Speech.png ReligionType GetReligionCreatedByPlayer()
Check.png Check.png Star.png Speech.png table(unknown => unknown) GetReplayData()
Check.png Check.png Star.png Speech.png int GetResearchCost(TechType currentTech)
Check.png Check.png Star.png Speech.png int GetResearchProgress(TechType currentTech)
Check.png Check.png Star.png Speech.png int GetResearchTurnsLeft(TechType tech, bool overflow)
Check.png Check.png Star.png Speech.png int GetResourceExport(ResourceType resource)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetResourceFromMinors(ResourceType resource)
Check.png Check.png Star.png Speech.png int GetResourceImport(ResourceType resource)
Check.png Check.png Star.png Speech.png int GetRouteGoldTimes100(City city)
Check.png Check.png Star.png Speech.png int GetScience()
Check.png Check.png Star.png Speech.png int GetScienceFromBudgetDeficitTimes100()
Check.png Check.png Star.png Speech.png int GetScienceFromCitiesTimes100()
Check.png Check.png Star.png Speech.png int GetScienceFromHappinessTimes100()
Check.png Check.png Star.png Speech.png int GetScienceFromOtherPlayersTimes100()
Check.png Check.png Star.png Speech.png int GetScienceFromResearchAgreementsTimes100()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetScienceTimes100()
Check.png Check.png Star.png Speech.png int GetScore(bool arg0 = nil, bool winner = nil)
Check.png Check.png Star.png Speech.png int GetScoreFromCities()
Check.png Check.png Star.png Speech.png int GetScoreFromFutureTech()
Check.png Check.png Star.png Speech.png int GetScoreFromLand()
Check.png Check.png Star.png Speech.png int GetScoreFromPopulation()
Check.png Check.png Star.png Speech.png int GetScoreFromTechs()
Check.png Check.png Star.png Speech.png int GetScoreFromWonders()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetScoreHistory(int turn)
CheckButZero.png CheckButZero.png Star.png Speech.png string GetScriptData()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetSeaPlotYield(YieldType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetSettlerProductionModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetSpaceProductionModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetSpecialistExtraYield(SpecialistType index1, YieldType index2)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetSpecialistProductionModifier
Check.png Check.png Star.png Speech.png Plot GetStartingPlot()
Check.png Check.png Star.png Speech.png string GetStateReligionKey()
CheckButZero.png CheckButZero.png Star.png Speech.png string GetStateReligionName()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetStrikeTurns()
Check.png Check.png Star.png Speech.png PlayerID GetTeam()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTechScore()
Check.png Check.png Star.png Speech.png unknown GetTotalFaithPerTurn()
Check.png Check.png Star.png Speech.png int GetTotalJONSCulturePerTurn()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTotalLand()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTotalLandScored()
Check.png Check.png Star.png Speech.png int GetTotalPopulation()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTotalTimePlayed()
Check.png Check.png Star.png Speech.png int GetTradeRouteGoldModifier()
Check.png Check.png Star.png Speech.png int GetTraitCityStateCombatModifier()
Check.png Check.png Star.png Speech.png int GetTraitCityUnhappinessMod()
Check.png Check.png Star.png Speech.png int GetTraitGoldenAgeCombatModifier()
Check.png Check.png Star.png Speech.png int GetTraitGreatGeneralExtraBonus()
Check.png Check.png Star.png Speech.png int GetTraitGreatScientistRateModifier()
Check.png Check.png Star.png Speech.png int GetTraitPopUnhappinessMod()
Check.png Check.png Star.png Speech.png int GetTurnLastPledgeBrokenByMajor(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetTurnLastPledgedProtectionByMajor(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetTurnsSincePlayerBulliedProtectedMinor
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetTurnsSinceThreatenedAnnouncement
Check.png Check.png Star.png Speech.png int GetTurnsSinceThreatenedByBarbarians()
Check.png Check.png Star.png Speech.png int GetUnhappiness()
Check.png Check.png Star.png Speech.png int GetUnhappinessForecast(City newCity, City newCity)
Check.png Check.png Star.png Speech.png int GetUnhappinessFromCapturedCityCount()
Check.png Check.png Star.png Speech.png int GetUnhappinessFromCityCount()
Check.png Check.png Star.png Speech.png int GetUnhappinessFromCityForUI(City city)
Check.png Check.png Star.png Speech.png int GetUnhappinessFromCityPopulation()
Check.png Check.png Star.png Speech.png int GetUnhappinessFromCitySpecialists()
Check.png Check.png Star.png Speech.png int GetUnhappinessFromOccupiedCities()
Check.png Check.png Star.png Speech.png int GetUnhappinessFromPuppetCityPopulation()
Check.png Check.png Star.png Speech.png int GetUnhappinessFromUnits()
Check.png Check.png Star.png Speech.png int GetUnhappinessMod()
Check.png Check.png Star.png Speech.png unknown GetUnimprovedAvailableLuxuryResource()
Check.png Check.png Star.png Speech.png int GetUnitBaktun(UnitType arg0)
Check.png Check.png Star.png Speech.png Unit GetUnitByID(UnitID unit)
Check.png Check.png Star.png Speech.png int GetUnitClassCount(UnitClassType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetUnitClassCountPlusMaking(UnitClassType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetUnitClassMaking(UnitClassType index)
Check.png Check.png Star.png Speech.png int GetUnitProductionMaintenanceMod()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetUnitProductionModifier
Check.png Check.png Star.png Speech.png int GetUnitProductionNeeded(UnitType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetVictoryDisputeLevel()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetVotes(VoteType vote, VoteSourceType voteSource)
Check.png Check.png Star.png Speech.png ThreatType GetWarmongerThreat(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int GetWeDeclaredWarOnFriendCount()
Check.png Check.png Star.png Speech.png int GetWeDenouncedFriendCount()
Check.png Check.png Star.png Speech.png DisputeLevelType GetWonderDisputeLevel(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetWonderProductionModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetWondersScore()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetWorkerSpeedModifier()
CheckButZero.png CheckButZero.png Star.png Speech.png string GetWorstEnemyName()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetYieldRateModifier(YieldType index)
Check.png Check.png Star.png Speech.png int GreatAdmiralThreshold()
Check.png Check.png Star.png Speech.png int GreatGeneralThreshold(bool military)

H

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png bool HasBusyMovingUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png bool HasBusyUnit()
Check.png Check.png Star.png Speech.png int HasCreatedPantheon()
Check.png Check.png Star.png Speech.png int HasCreatedReligion()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png HasOthersReligionInMostCities
Check.png Check.png Star.png Speech.png int HasPolicy(PolicyType policy)
Check.png Check.png Star.png Speech.png bool HasReadyUnit()
Check.png Check.png Star.png Speech.png int HasReceivedNetTurnComplete()
Check.png Check.png Star.png Speech.png int HasRecentIntrigueAbout(PlayerID player)
Check.png Check.png Star.png Speech.png bool HasReligionInMostCities(ReligionType religion)
Check.png Check.png Star.png Speech.png bool HasSpyEstablishedSurveillance(unknown arg0)

I

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png City InitCity(int x, int y, bool bumpUnits = true)
Check.png Check.png Star.png Speech.png Unit InitUnit(UnitType unit, ResourceType x, ResourceType y, UnitAIType unitAI = NO_UNITAI, DirectionType facingDirection = NO_DIRECTION)
Check.png Check.png Star.png Speech.png int IsAbleToAnnexCityStates()
Check.png Check.png Star.png Speech.png int IsAlive()
Check.png Check.png Star.png Speech.png bool IsAllies(PlayerID major)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsAlwaysSeeBarbCamps()
Check.png Check.png Star.png Speech.png bool IsAnarchy()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsAngryAboutProtectedMinorAttacked
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsAngryAboutProtectedMinorBullied
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsAngryAboutProtectedMinorKilled
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsAngryAboutSidedWithTheirProtectedMinor
Check.png Check.png Star.png Speech.png bool IsAnyGoodyPlotAccessible()
Check.png Check.png Star.png Speech.png bool IsAnyPlotImproved()
Check.png Check.png Star.png Speech.png bool IsBarbarian()
Check.png Check.png Star.png Speech.png bool IsBuildBlockedByFeature(BuildActionType build, FeatureType feature)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsBuildingClassMaxedOut(BuildingClassType buildingClass, int extra)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsBuildingFree(BuildingType building)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsCanHurry(HurryType index)
Check.png Check.png Star.png Speech.png int IsCanPurchaseAnyCity(bool arg0, bool arg1, UnitType arg2, BuildingType arg3, YieldType arg4)
Check.png Check.png Star.png Speech.png bool IsCapitalCapturedBy(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int IsCapitalConnectedToCity(City city)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsCurrentResearchRepeat()
Check.png Check.png Star.png Speech.png bool IsDemandEverMade(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsDenouncedPlayer(PlayerID otherPlayer)
Check.png Check.png Star.png Speech.png bool IsDenouncingPlayer(PlayerID player)
Check.png Check.png Star.png Speech.png bool IsDoF(PlayerID otherPlayer)
Check.png Check.png Star.png Speech.png bool IsDoFMessageTooSoon(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsDontSettleMessageTooSoon(PlayerID withPlayer)
Check.png Check.png Star.png Speech.png bool IsEmpireSuperUnhappy()
Check.png Check.png Star.png Speech.png bool IsEmpireUnhappy()
Check.png Check.png Star.png Speech.png int IsEmpireVeryUnhappy()
Check.png Check.png Star.png Speech.png int IsEverAlive()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsExtendedGame()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsFoundedFirstCity()
Check.png Check.png Star.png Speech.png bool IsFreeMayaGreatPersonChoice()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsFreePromotion
Check.png Check.png Star.png Speech.png int IsFriendDeclaredWarOnUs(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int IsFriendDenouncedUs(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int IsFriends(PlayerID major = nil)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsFullMember(VoteSourceType voteSource)
Check.png Check.png Star.png Speech.png bool IsGaveAssistanceTo(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int IsGoldenAge()
Check.png Check.png Star.png Speech.png bool IsHalfSpecialistUnhappiness()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsHasAccessToHurry(HurryType index)
Check.png Check.png Star.png Speech.png int IsHasLostCapital()
Check.png Check.png Star.png Speech.png bool IsHasPaidTributeTo(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsHasPlayerBulliedProtectedMinor
Check.png Check.png Star.png Speech.png int IsHuman()
Check.png Check.png Star.png Speech.png bool IsLiberatedCapital(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsLiberatedCity(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsLoyalMember(PlayerID minor)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsMilitaryFoodProduction()
Check.png Check.png Star.png Speech.png int IsMinorCiv()
Check.png Check.png Star.png Speech.png bool IsMinorCivActiveQuestForPlayer(PlayerID major, MinorCivQuestType type)
Check.png Check.png Star.png Speech.png bool IsMinorCivContestLeader(PlayerID major, MinorCivQuestType arg1)
Check.png Check.png Star.png Speech.png bool IsMinorCivHasUniqueUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsMinorCivRouteEstablishedWithMajor()
Check.png Check.png Star.png Speech.png bool IsMinorCivUnitSpawningDisabled(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsMinorPermanentWar(TeamID activeTeam)
Check.png Check.png Star.png Speech.png bool IsMinorWarQuestWithMajorActive(PlayerID playerLoop = nil)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsNoResearchAvailable()
Check.png Check.png Star.png Speech.png bool IsNukedBy(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsOption(PlayerOptionType index)
Check.png Check.png Star.png Speech.png bool IsPeaceBlocked(TeamID activeTeam)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsPlayable()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerBrokenAttackCityStatePromise
Check.png Check.png Star.png Speech.png bool IsPlayerBrokenBorderPromise(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerBrokenBullyCityStatePromise
Check.png Check.png Star.png Speech.png bool IsPlayerBrokenCityStatePromise(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerBrokenCoopWarPromise(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerBrokenExpansionPromise(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerBrokenMilitaryPromise(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerBrokenNoConvertPromise
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerBrokenSpyPromise
Check.png Check.png Star.png Speech.png bool IsPlayerDenouncedEnemy(PlayerID otherPlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerDenouncedFriend(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerDoFwithAnyEnemy(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerDoFwithAnyFriend(PlayerID otherPlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerForgivenForSpying
Check.png Check.png Star.png Speech.png bool IsPlayerHasOpenBorders(PlayerID major)
Check.png Check.png Star.png Speech.png bool IsPlayerHasOpenBordersAutomatically(PlayerID major)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerIgnoredAttackCityStatePromise
Check.png Check.png Star.png Speech.png bool IsPlayerIgnoredBorderPromise(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerIgnoredBullyCityStatePromise
Check.png Check.png Star.png Speech.png bool IsPlayerIgnoredCityStatePromise(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerIgnoredExpansionPromise(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerIgnoredMilitaryPromise(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerIgnoredNoConvertPromise
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerIgnoredSpyPromise
Check.png Check.png Star.png Speech.png bool IsPlayerNoSettleRequestEverAsked(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png bool IsPlayerRecklessExpander(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsPlayerStopSpyingRequestEverAsked
Check.png Check.png Star.png Speech.png bool IsPolicyBlocked(PolicyType i)
Check.png Check.png Star.png Speech.png bool IsPolicyBranchBlocked(PolicyBranchType policyBranchIndex)
Check.png Check.png Star.png Speech.png bool IsPolicyBranchFinished(PolicyBranchType arg0)
Check.png Check.png Star.png Speech.png int IsPolicyBranchUnlocked(PolicyBranchType policyBranchIndex)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsProductionMaxedBuildingClass(BuildingClassType buildingClass, bool acquireCity)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsProductionMaxedProject(ProjectType project)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsProductionMaxedUnitClass(UnitClassType unitClass)
Check.png Check.png Star.png Speech.png bool IsProtectedByMajor(PlayerID activePlayer)
Check.png Check.png Star.png Speech.png int IsProtectingMinor(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsResearch()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsResearchingTech(int index)
Check.png Check.png Star.png Speech.png bool IsStopSpyingMessageTooSoon(PlayerID activePlayer)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsStrike()
Check.png Check.png Star.png Speech.png bool IsThreateningBarbariansEventActiveForPlayer(PlayerID major)
Check.png Check.png Star.png Speech.png bool IsTraitBonusReligiousBelief()
Check.png Check.png Star.png Speech.png int IsTurnActive(unknown void)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsUnitClassMaxedOut(UnitClassType index, int extra)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png IsUntrustworthyFriend
Check.png Check.png Star.png Speech.png bool IsUsingMayaCalendar()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsVotingMember(VoteSourceType voteSource)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsWhiteFlag()
Check.png Check.png Star.png Speech.png bool IsWillAcceptPeaceWithPlayer(PlayerID player)

K

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png KillCities
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png KillUnits

P

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png PopResearch(TechType tech)
CheckButZero.png CheckButZero.png Star.png Speech.png bool PushResearch(int index, bool clear)

R

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Raze(City city)
CheckButZero.png CheckButZero.png Star.png Speech.png ReceiveGoody(Plot plot, GoodyType goody, Unit unit)
CheckButZero.png CheckButZero.png Star.png Speech.png RemoveBuildingClass(BuildingClassType buildingClass)

S

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png SetAdvancedStartPoints(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetAlwaysSeeBarbCampsCount
CheckButZero.png CheckButZero.png Star.png Speech.png int SetAnarchyNumTurns()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetBarbarianCombatBonus
CheckButZero.png CheckButZero.png Star.png Speech.png int SetBaseBuildingGoldMaintenance()
CheckButZero.png CheckButZero.png Star.png Speech.png SetCombatExperience(int experience)
CheckButZero.png CheckButZero.png Star.png Speech.png SetConscriptCount(int newValue)
Check.png Check.png Star.png Speech.png SetEmbarkedGraphicOverride(string arg0)
Check.png Check.png Star.png Speech.png SetFaith(int arg0)
Check.png Check.png Star.png Speech.png SetFaithPurchaseIndex(int v2)
Check.png Check.png Star.png Speech.png SetFaithPurchaseType(FaithPurchaseType v1)
Check.png Check.png Star.png Speech.png SetGold(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetGoldenAgeProgressMeter
CheckButZero.png CheckButZero.png Star.png Speech.png SetHappiness(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png SetHappinessPerGarrisonedUnit(int value)
CheckButZero.png CheckButZero.png Star.png Speech.png SetHappinessPerTradeRoute(int value)
Check.png Check.png Star.png Speech.png SetHasPolicy(PolicyType index, bool newValue)
Check.png Check.png Star.png Speech.png SetJONSCulture(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png SetLoyalMember(PlayerID minor, bool newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNavalCombatExperience
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumFaithGreatPeople
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumFreeGreatPeople
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumFreePolicies
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumFreeTechs
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumGoldenAges
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumMayaBoosts
CheckButZero.png CheckButZero.png Star.png Speech.png SetNumPlotsBought(int value)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumWondersBeatenTo
CheckButZero.png CheckButZero.png Star.png Speech.png SetOption(PlayerOptionType index, bool newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png SetPersonalityType(MinorCivPersonalityType newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png SetPlayable(bool newValue)
Check.png Check.png Star.png Speech.png SetPolicyBranchUnlocked(PolicyBranchType arg0, bool arg1)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetReplayDataValue
CheckButZero.png CheckButZero.png Star.png Speech.png SetResearchingTech(TechType index, bool newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png SetScriptData(string newValue)
Check.png Check.png Star.png Speech.png SetStartingPlot(Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int SpecialistYield(SpecialistType specialist, YieldType yield)
CheckButZero.png CheckButZero.png Star.png Speech.png StopTradingWithTeam(TeamID team)

U

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png iterator(Unit) Units()
CheckButZero.png CheckButZero.png Star.png Speech.png int UnitsGoldenAgeCapable()
CheckButZero.png CheckButZero.png Star.png Speech.png int UnitsGoldenAgeReady()
CheckButZero.png CheckButZero.png Star.png Speech.png int UnitsRequiredForGoldenAge()

W

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png WasResurrectedBy
Check.png Check.png Star.png Speech.png bool WasResurrectedThisTurnBy(PlayerID player)


Used by

string GetCityStateStatus(Player player, PlayerID forPlayer, int war)
string GameplayUtilities.GetLocalizedLeaderTitle(Player player)
unknown Player:GetPlayerVisiblePlot(Player player)



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.