CyPlayer
- VOID AI_changeAttitudeExtra (PlayerType eIndex, INT iChange)
void (int /*PlayerTypes*/ eIndex, int iChange) - Changes the extra attitude for this player - usually scenario specific
- VOID AI_changeMemoryCount (PlayerType eIndex1, MemoryType eIndex2, INT iChange)
void (/*PlayerTypes*/ eIndex1, /*MemoryTypes*/ eIndex2, int iChange)
- INT AI_civicValue (CivicType eCivic)
int (int /*CivicTypes*/ eCivic)
- BOOL AI_demandRebukedWar (PlayerType ePlayer)
bool (int /*PlayerTypes*/)
- INT AI_foundValue (INT iX, INT iY, INT iMinUnitRange, BOOL bStartingLoc)
int (int, int, int, bool)
- AttitudeType AI_getAttitude (PlayerType ePlayer)
AttitudeTypes (int /*PlayerTypes*/) - Gets the attitude of the player towards the player passed in
- INT AI_getAttitudeExtra (PlayerType eIndex)
int (int /*PlayerTypes*/ eIndex) - Returns the extra attitude for this player - usually scenario specific
- INT AI_getExtraGoldTarget ()
int ()
- INT AI_getMemoryCount (PlayerType eIndex1, MemoryType eIndex2)
int (/*PlayerTypes*/ eIndex1, /*MemoryTypes*/ eIndex2)
- INT AI_getNumAIUnits (UnitAIType eIndex)
int (UnitAIType) - Returns # of UnitAITypes the player current has of UnitAIType
- BOOL AI_isFinancialTrouble ()
bool ()
- INT AI_maxGoldPerTurnTrade (INT iPlayer)
int (int)
- INT AI_maxGoldTrade (INT iPlayer)
int (int)
- VOID AI_setAttitudeExtra (PlayerType eIndex, INT iNewValue)
void (int /*PlayerTypes*/ eIndex, int iNewValue) - Sets the extra attitude for this player - usually scenario specific
- VOID AI_setExtraGoldTarget (INT iNewValue)
void (int)
- INT AI_totalAreaUnitAIs (CyArea pArea, UnitAIType eUnitAI)
int (CyArea* pArea, int /*UnitAITypes*/ eUnitAI)
- INT AI_totalUnitAIs (UnitAIType eUnitAI)
int (int /*UnitAITypes*/ eUnitAI)
- INT AI_totalWaterAreaUnitAIs (CyArea pArea, UnitAIType eUnitAI)
int (CyArea* pArea, int /*UnitAITypes*/ eUnitAI)
- INT AI_unitValue (UnitType eUnit, UnitAIType eUnitAI, CyArea pArea)
int (int /*UnitTypes*/ eUnit, int /*UnitAITypes*/ eUnitAI, CyArea* pArea)
- VOID AI_updateFoundValues (BOOL bStartingLoc)
void (bool bStartingLoc)
- VOID acquireCity (CyCity pCity, BOOL bConquest, BOOL bTrade)
void (CyCity* pCity, bool bConquest, bool bTrade)
- VOID addCityName (STRING szName)
void (std::wstring szName)
- INT calculateBaseNetResearch ()
int ()
- INT calculateGoldRate ()
int ()
- INT calculateInflatedCosts ()
int ()
- INT calculateInflationRate ()
int ()
- INT calculatePreInflatedCosts ()
int ()
- INT calculateResearchModifier (TechType eTech)
int (int /*TechTypes*/ eTech)
- INT calculateResearchRate (TechType eTech)
int (int /*TechTypes*/ eTech)
- INT calculateTotalCityHappiness ()
int () - Returns the total sum of all city Happiness values
- INT calculateTotalCityHealthiness ()
int () - Returns the total sum of all city Healthiness values
- INT calculateTotalCityUnhappiness ()
int () - Returns the total sum of all city Unhappiness values
- INT calculateTotalCityUnhealthiness ()
int () - Returns the total sum of all city Unhealthiness values
- INT calculateTotalCommerce ()
int ()
- INT calculateTotalExports (YieldType eYield)
int (int /*YieldTypes*/ eYield) - Returns the total sum of all city gold generated for other civs via trade routes
- INT calculateTotalImports (YieldType eYield)
int (int /*YieldTypes*/ eYield) - Returns the total sum of all city gold generated for this civ via trade routes with others
- INT calculateTotalYield (YieldType eYield)
int (int /*YieldTypes*/ eYield) - Returns the total sum of all city yield
- INT calculateUnitCost ()
int ()
- INT calculateUnitSupply ()
int ()
- BOOL canBuild (CyPlot pPlot, BuildType eBuild, BOOL bTestEra, BOOL bTestVisible)
bool (CyPlot* pPlot, int (BuildTypes) eBuild, bool bTestEra, bool bTestVisible)
- BOOL canChangeReligion ()
bool ()
- BOOL canConstruct (BuildingType eBuilding, BOOL bContinue, BOOL bTestVisible, BOOL bIgnoreCost)
bool (int /*BuildingTypes*/eBuilding, bool bContinue, bool bTestVisible, bool bIgnoreCost)
- BOOL canContact (PlayerType ePlayer)
bool (int ePlayer)
- BOOL canConvert (ReligionType iIndex)
bool (int /*ReligionTypes*/ iIndex)
- BOOL canCreate (ProjectType eProject, BOOL bContinue, BOOL bTestVisible)
bool (int /*ProjectTypes*/ eProject, bool bContinue, bool bTestVisible)
- BOOL canDoCivics (CivicType eCivic)
bool (int (CivicTypes) eCivic)
- BOOL canDoEspionageMission (EspionageMissionType eMission, PlayerType eTargetPlayer, CyPlot pPlot, INT iExtraData)
bool (EspionageMissionTypes eMission, PlayerTypes eTargetPlayer, CyPlot* pPlot, int iExtraData)
- BOOL canDoReligion (ReligionType eReligion)
int (int /*ReligionTypes*/ eReligion)
- BOOL canEverResearch (TechType eTech)
bool (int /*TechTypes*/ iIndex)
- BOOL canFound (INT iX, INT iY)
bool (int iX, int iY)
- BOOL canHaveTradeRoutesWith (INT iPlayer)
bool (int)
- BOOL canHurry (HurryType eIndex)
int (int (HurryTypes) eIndex)
- BOOL canMaintain (ProcessType eProcess, BOOL bContinue)
bool (int /*ProcessTypes*/ eProcess, bool bContinue)
- BOOL canRaze (CyCity pCity)
bool (CyCity pCity)
- BOOL canReceiveGoody (CyPlot pPlot, GoodyType eGoody, CyUnit pUnit)
bool (CyPlot* pPlot, int /*GoodyTypes*/ eGoody, CyUnit* pUnit)
- BOOL canResearch (TechType eTech, BOOL bTrade)
bool (int /*TechTypes*/ iIndex, bool bTrade)
- BOOL canRevolution (INT paeNewCivics)
bool (int (CivicTypes*) paeNewCivics)
- BOOL canSplitArea (INT iAreaId)
bool (int)
- BOOL canSplitEmpire ()
bool ()
- BOOL canStopTradingWithTeam (TeamType eTeam)
int (int /*TeamTypes*/ eTeam)
- BOOL canTradeItem (PlayerType eWhoTo, TradeData item, BOOL bTestDenial)
bool (int ePlayer, bool bTestDenial)
- BOOL canTradeNetworkWith (PlayerType iPlayer)
bool (int (PlayerTypes) iPlayer)
- BOOL canTradeWith (PlayerType eWhoTo)
bool (int ePlayer)
- BOOL canTrain (UnitType eUnit, BOOL bContinue, BOOL bTestVisible)
bool (int eUnit, bool bContinue, bool bTestVisible)
- VOID changeAdvancedStartPoints (INT iChange)
void (int iChange)
- VOID changeAnarchyTurns (INT iChange)
void ()
- VOID changeAssets (INT iChange)
void (int iChange)
- VOID changeCoastalTradeRoutes (INT iChange)
void (int iChange)
- VOID changeCombatExperience (INT iChange)
void (int) - Combat experience used to produce Warlords
- VOID changeCommercePercent (CommerceType eIndex, INT iChange)
int (CommerceTypes eIndex, int iChange)
- VOID changeConscriptCount (INT iChange)
void (int iChange)
- VOID changeEspionageSpendingWeightAgainstTeam (TeamType eIndex, INT iChange)
void (TeamTypes eIndex, int iChange)
- VOID changeExtraHappiness (INT iChange)
void (int iChange)
- VOID changeGold (INT iChange)
void (int iChange)
- VOID changeGoldenAgeTurns (INT iChange)
void (int iChange)
- VOID changeNumUnitGoldenAges (INT iChange)
void (int iChange)
- VOID changeStateReligionBuildingProductionModifier (INT iChange)
void (int iChange)
- VOID changeStateReligionUnitProductionModifier (INT iChange)
void (int iChange)
- VOID chooseTech (INT iDiscover, STRING szText, BOOL bFront)
void (int iDiscover, wstring szText, bool bFront)
- VOID clearResearchQueue ()
void ()
- VOID contact (PlayerType ePlayer)
void (int ePlayer)
- VOID convert (ReligionType iIndex)
void (int /*ReligionTypes*/ iIndex)
- INT countCityFeatures (FeatureType eFeature)
int (int /*FeatureTypes*/ eFeature) - Returns ?
- INT countCorporations (CorporationType eCorporation)
int (CorporationTypes) - Counts the # of corporations this player has
- INT countHeadquarters ()
int () - Counts the # of headquarters this player has
- INT countHolyCities ()
int () - Counts the # of holy cities this player has
- INT countNumBuildings (BuildingType eBuilding)
int (int /*BuildingTypes*/ eBuilding) - Returns the number of buildings?
- INT countNumCoastalCities ()
int ()
- INT countNumCoastalCitiesByArea (CyArea pArea)
(int (CyArea* pArea)
- INT countOwnedBonuses (BonusType eBonus)
int (int (BonusTypes) eBonus) -
- INT countPotentialForeignTradeCities (CyArea pIgnoreArea)
int (CyArea* pIgnoreArea) - Returns the number of potential foreign trade cities
- INT countPotentialForeignTradeCitiesConnected ()
int () - Returns the number of potential foreign trade cities which are also connected to this player's capital
- INT countTotalCulture ()
int ()
- INT countTotalHasCorporation ()
int () -
- INT countTotalHasReligion ()
int () -
- INT countUnimprovedBonuses (CyArea pArea, CyPlot pFromPlot)
int (int (CyArea* pArea, CyPlot* pFromPlot) -
- VOID createGreatPeople (INT eGreatPersonUnit, BOOL bIncrementThreshold, BOOL bIncrementExperience, INT iX, INT iY)
void (int /*UnitTypes*/ eGreatPersonUnit, bool bIncrementThreshold, int iX, int iY)
- VOID disband (CyCity pCity)
void (CyCity pCity)
- VOID disbandUnit (BOOL bAnnounce)
void (bool bAnnounce)
- VOID doEspionageMission (EspionageMissionType eMission, PlayerType eTargetPlayer, CyPlot pPlot, INT iExtraData, CyUnit pUnit)
void (EspionageMissionTypes eMission, PlayerTypes eTargetPlayer, CyPlot* pPlot, int iExtraData, CyUnit* pUnit)
- VOID doGoody (CyPlot pPlot, CyUnit pUnit)
void (CyPlot* pPlot, CyUnit* pUnit)
- INT findBestFoundValue ()
int () - Finds best found value
- INT findHighestHasReligionCount ()
int () -
- VOID findNewCapital ()
void ()
- INT findPathLength (TechType eTech, BOOL bCost)
int (int (TechTypes) eTech, bool bCost)
- CyPlot findStartingPlot (BOOL bRandomize)
findStartingPlot(bool bRandomize) - Finds a starting plot for player
- TUPLE firstCity (BOOL bRev)
tuple(CyCity, int iterOut) (bool bReverse) - gets the first city
- TUPLE firstSelectionGroup (BOOL bRev)
tuple(CySelectionGroup, int iterOut) (bool bReverse) - gets the first selectionGroup
- TUPLE firstUnit (BOOL bRev)
tuple(CyUnit, int iterOut) (bool bReverse) - gets the first unit
- VOID forcePeace (INT iPlayer)
void (int)
- VOID found (INT iX, INT iY)
void (int iX, int iY)
- VOID foundCorporation (CorporationType eCorporation)
void (int /*CorporationTypes*/ eCorporation)
- VOID foundReligion (ReligionType eReligion, ReligionType iSlotReligion, BOOL bAward)
void (int /*ReligionTypes*/ eReligion, int /*ReligionTypes*/ iSlotReligion, bool)
- INT getAdvancedStartBuildingCost (BuildingType eBuilding, BOOL bAdd, CyCity pCity)
int (int (BuildingTypes) eUnit, bool bAdd, CyCity* pCity)
- INT getAdvancedStartCityCost (BOOL bAdd, CyPlot pPlot)
int (int (bool bAdd, CyPlot* pPlot)
- INT getAdvancedStartCultureCost (BOOL bAdd, CyCity pCity)
int (int (bool bAdd, CyCity* pCity)
- INT getAdvancedStartImprovementCost (ImprovementType eImprovement, BOOL bAdd, CyPlot pPlot)
int (int (ImprovementTypes) eImprovement, bool bAdd, CyPlot* pPlot)
- INT getAdvancedStartPoints ()
int ()
- INT getAdvancedStartPopCost (BOOL bAdd, CyCity pCity)
int (int (bool bAdd, CyCity* pCity)
- INT getAdvancedStartRouteCost (RouteType eRoute, BOOL bAdd, CyPlot pPlot)
int (int (RouteTypes) eUnit, bool bAdd, CyPlot* pPlot)
- INT getAdvancedStartTechCost (TechType eTech, BOOL bAdd)
int (int (TechTypes) eUnit, bool bAdd)
- INT getAdvancedStartUnitCost (UnitType eUnit, BOOL bAdd, CyPlot pPlot)
int (int (UnitTypes) eUnit, bool bAdd, CyPlot* pPlot)
- INT getAdvancedStartVisibilityCost (BOOL bAdd, CyPlot pPlot)
int (bool bAdd, CyPlot* pPlot)
- INT getAgricultureHistory (INT iTurn)
int (int iTurn)
- INT getAnarchyModifier ()
int ()
- INT getAnarchyTurns ()
int ()
- ArtStyleType getArtStyleType ()
int () - Returns the ArtStyleType for this player (e.g. European)
- INT getAssets ()
int ()
- INT getAveragePopulation ()
int ()
- INT getBaseFreeMilitaryUnits ()
int ()
- INT getBaseFreeUnits ()
int ()
- STRING getBestAttackUnitKey ()
str () - returns the name of the best attack unit
- STRING getBestAttackUnitName (INT iForm)
str () - returns the name of the best attack unit
- INT getBonusExport (BonusType iIndex)
int (CommerceTypes eIndex)
- INT getBonusImport (BonusType iIndex)
int (CommerceTypes eIndex)
- INT getBuildingBadHealth ()
int ()
- INT getBuildingClassCount (BuildingClassType iIndex)
int (int /*BuildingClassTypes*/ eIndex)
- INT getBuildingClassCountPlusMaking (BuildingClassType iIndex)
int (int /*BuildingClassTypes*/ iIndex)
- INT getBuildingClassMaking (BuildingClassType iIndex)
int (int /*BuildingClassTypes*/ iIndex)
- INT getBuildingClassPrereqBuilding (BuildingType eBuilding, BuildingClassType ePrereqBuildingClass, INT iExtra)
int (int /*BuildingTypes*/ eBuilding, int /*BuildingClassTypes*/ ePrereqBuildingClass, iExtra) -
- INT getBuildingGoodHealth ()
int ()
- INT getBuildingHappiness ()
int ()
- INT getBuildingProductionNeeded (BuildingType iIndex)
int (int /*BuildingTypes*/ iIndex)
- CyCity getCapitalCity ()
CyCity* (int iID)
- INT getCapitalCommerceRateModifier (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getCapitalYieldRateModifier (YieldType eIndex)
int (YieldTypes eIndex)
- INT getCitiesLost ()
int ()
- CyCity getCity (INT iID)
CyCity* (int iID)
- INT getCityDefenseModifier ()
int ()
- STRING getCityName (INT iIndex)
std::wstring (int iIndex)
- INT getCivicAnarchyLength (LIST paeNewCivics)
int (int (CivicTypes*) paeNewCivics)
- INT getCivicPercentAnger (CivicType eCivic)
int (int /*CivicTypes*/ eCivic)
- INT getCivicUpkeep (LIST paiCivics, BOOL bIgnoreAnarchy)
int (int* /*CivicTypes*/ paiCivics, bool bIgnoreAnarchy)
- CivicType getCivics (CivicOptionType iIndex)
int /*CivicTypes*/ (int /*CivicOptionTypes*/ iIndex)
- STRING getCivilizationAdjective (INT iForm)
str() - returns the Civilization name in adjective form
- STRING getCivilizationAdjectiveKey ()
str() - returns the Civilization name in adjective form
- STRING getCivilizationDescription (INT iForm)
str() - returns the Civilization Description String
- STRING getCivilizationDescriptionKey ()
str() - returns the Civilization Description String
- STRING getCivilizationShortDescription (INT iForm)
str() - returns the short Civilization Description
- STRING getCivilizationShortDescriptionKey ()
str() - returns the short Civilization Description
- CivilizationType getCivilizationType ()
int ()
- INT getCoastalTradeRoutes ()
int ()
- INT getCombatExperience ()
int () - Combat experience used to produce Warlords
- INT getCommercePercent (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getCommerceRate (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getCommerceRateModifier (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getConscriptCount ()
int ()
- INT getConversionTimer ()
int ()
- INT getCorporationMaintenanceModifier ()
int ()
- INT getCultureHistory (INT iTurn)
int (int iTurn)
- INT getCurrentEra ()
int ()
- TechType getCurrentResearch ()
int ()
- INT getDistanceMaintenanceModifier ()
int ()
- INT getDomesticGreatGeneralRateModifier ()
int ()
- INT getEconomyHistory (INT iTurn)
int (int iTurn)
- INT getEspionageHistory (INT iTurn)
int (int iTurn)
- INT getEspionageMissionCost (EspionageMissionType eMission, PlayerType eTargetPlayer, CyPlot pPlot, INT iExtraData)
int (EspionageMissionTypes eMission, PlayerTypes eTargetPlayer, CyPlot* pPlot, int iExtraData)
- INT getEspionageSpending (PlayerType ePlayer)
int (PlayerTypes eIndex)
- INT getEspionageSpendingWeightAgainstTeam (TeamType eIndex)
int (TeamTypes eIndex)
- EventTriggeredData getEventOccured (EventType eEvent)
EventTriggeredData* (int /*EventTypes*/ eEvent)
- INT getEventTriggerWeight (EventTriggerType eTrigger)
int getEventTriggerWeight(int eEventTrigger)
- EventTriggeredData getEventTriggered (INT iID)
EventTriggeredData* (int iID)
- BOOL getExpInBorderModifier ()
bool ()
- INT getExtraBuildingHappiness (BuildingType iIndex)
int (int /*BuildingTypes*/ eIndex)
- INT getExtraBuildingHealth (BuildingType iIndex)
int (int /*BuildingTypes*/ eIndex)
- INT getExtraHappiness ()
int ()
- INT getExtraHealth ()
int ()
- INT getExtraUnitCost ()
int ()
- INT getExtraYieldThreshold (YieldType eIndex)
int (YieldTypes eIndex)
- INT getFeatureHappiness (FeatureType iIndex)
int (int /*FeatureTypes*/ eIndex)
- INT getFeatureProductionModifier ()
int ()
- STRING getFlagDecal ()
str() - returns the Civilization flag decal
- INT getFreeCityCommerce (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getFreeExperience ()
int ()
- INT getFreeMilitaryUnitsPopulationPercent ()
int ()
- INT getFreeSpecialist ()
int ()
- INT getFreeUnitsPopulationPercent ()
int ()
- INT getGold ()
int ()
- INT getGoldPerMilitaryUnit ()
int ()
- INT getGoldPerTurn ()
int ()
- INT getGoldPerTurnByPlayer (PlayerType eIndex)
int (PlayerTypes eIndex)
- INT getGoldPerUnit ()
int ()
- INT getGoldenAgeLength ()
int ()
- INT getGoldenAgeModifier ()
int ()
- INT getGoldenAgeTurns ()
int ()
- INT getGreatGeneralRateModifier ()
int ()
- INT getGreatGeneralsCreated ()
int ()
- INT getGreatGeneralsThresholdModifier ()
int ()
- INT getGreatPeopleCreated ()
int ()
- INT getGreatPeopleRateModifier ()
int ()
- INT getGreatPeopleThresholdModifier ()
int ()
- HandicapType getHandicapType ()
int ()
- INT getHappyPerMilitaryUnit ()
int ()
- INT getHasCorporationCount (CorporationType eIndex)
- INT getHasReligionCount (ReligionType eIndex)
- INT getHighestUnitLevel ()
int ()
- INT getHurryCount (HurryType eIndex)
int (int (HurryTypes) eIndex)
- INT getHurryModifier ()
int ()
- INT getID ()
int ()
- INT getImprovementCount (ImprovementType iIndex)
int (int /*ImprovementTypes*/ iIndex)
- INT getImprovementUpgradeRateModifier ()
int ()
- INT getIndustryHistory (INT iTurn)
int (int iTurn)
- INT getLandScore ()
int ()
- INT getLargestCityHappiness ()
int ()
- LeaderHeadType getLeaderType ()
int ()
- INT getLengthResearchQueue ()
int ()
- INT getLevelExperienceModifier ()
int ()
- INT getMaxAnarchyTurns ()
int ()
- INT getMaxConscript ()
int ()
- INT getMaxGlobalBuildingProductionModifier ()
int ()
- INT getMaxPlayerBuildingProductionModifier ()
int ()
- INT getMaxTeamBuildingProductionModifier ()
int ()
- INT getMilitaryProductionModifier ()
int ()
- STRING getName ()
str ()
- STRING getNameForm (INT iForm)
str ()
- STRING getNameKey ()
str ()
- STRING getNewCityName ()
wstring ()
- INT getNonStateReligionHappiness ()
int ()
- INT getNumAvailableBonuses (BonusType eBonus)
int (int (BonusTypes) eBonus)
- INT getNumCities ()
int ()
- INT getNumCitiesMaintenanceModifier ()
int ()
- INT getNumCityNames ()
int ()
- INT getNumGovernmentCenters ()
int ()
- INT getNumMilitaryUnits ()
int ()
- INT getNumNukeUnits ()
int ()
- INT getNumOutsideUnits ()
int ()
- INT getNumSelectionGroups ()
int ()
- INT getNumTradeBonusImports (PlayerType ePlayer)
int (int /*PlayerTypes*/ ePlayer)
- INT getNumTradeableBonuses (BonusType eBonus)
int (int (BonusTypes) eBonus)
- INT getNumUnitGoldenAges ()
int ()
- INT getNumUnits ()
int ()
- INT getOverflowResearch ()
int ()
- LeaderHeadType getPersonalityType ()
int ()
- PlayerColorType getPlayerColor ()
int (PlayerColorTypes) () - returns the color ID of the player
- INT getPlayerTextColorA ()
int ()
- INT getPlayerTextColorB ()
int ()
- INT getPlayerTextColorG ()
int ()
- INT getPlayerTextColorR ()
int ()
- INT getPopScore ()
int ()
- INT getPower ()
int ()
- INT getPowerHistory (INT iTurn)
int (int iTurn)
- INT getProjectProductionNeeded (ProjectType iIndex)
bool (int /*ProjectTypes*/ eProject, bool bContinue, bool bTestVisible)
- INT getQueuePosition (TechType eTech)
int
- LONG getRealPopulation ()
long int ()
- INT getReligionAnarchyLength ()
int ()
- INT getResearchTurnsLeft (TechType eTech, BOOL bOverflow)
int (int /*TechTypes*/ eTech, bool bOverflow)
- INT getRevolutionTimer ()
int ()
- INT getScoreHistory (INT iTurn)
int (int iTurn)
- STRING getScriptData ()
str () - Get stored custom data (via pickle)
- INT getSeaPlotYield (YieldType eIndex)
int (YieldTypes eIndex)
- CySelectionGroup getSelectionGroup (INT iID)
CvSelectionGroup* (int iID)
- INT getSingleCivicUpkeep (CivicType eCivic, BOOL bIgnoreAnarchy)
int (int /*CivicTypes*/ eCivic, bool bIgnoreAnarchy)
- INT getSpaceProductionModifier ()
int ()
- INT getSpecialBuildingNotRequiredCount (SpecialBuildingType eIndex)
int (int (SpecialBuildingTypes) eIndex)
- INT getSpecialistExtraCommerce (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getSpecialistExtraYield (SpecialistType eIndex1, YieldType eIndex2)
int (int /*SpecialistTypes*/ eIndex1, int /*YieldTypes*/ eIndex2)
- CyPlot getStartingPlot ()
CyPlot* ()
- INT getStateReligion ()
int ()
- INT getStateReligionBuildingCommerce (CommerceType eIndex)
int (CommerceTypes eIndex)
- INT getStateReligionBuildingProductionModifier ()
int ()
- INT getStateReligionFreeExperience ()
int ()
- INT getStateReligionGreatPeopleRateModifier ()
int ()
- INT getStateReligionHappiness ()
int ()
- STRING getStateReligionKey ()
str() - returns the name of the Civilizations State Religion
- STRING getStateReligionName (INT iForm)
str() - returns the name of the Civilizations State Religion
- INT getStateReligionUnitProductionModifier ()
int ()
- INT getStrikeTurns ()
int ()
- INT getTeam ()
int ()
- INT getTechScore ()
int ()
- INT getTotalLand ()
int ()
- INT getTotalLandScored ()
int ()
- INT getTotalMaintenance ()
int ()
- INT getTotalPopulation ()
int ()
- INT getTotalTimePlayed ()
int ()
- DenialType getTradeDenial (PlayerType eWhoTo, TradeData item)
DenialTypes (int eWhoTo, TradeData item)
- INT getTradeRoutes ()
int ()
- INT getTradeYieldModifier (YieldType eIndex)
int (YieldTypes eIndex)
- CyUnit getUnit (INT iID)
CyUnit* (int iID)
- STRING getUnitButton (INT eUnit)
string (int eUnit) - Returns the unit button for this player
- INT getUnitClassCount (UnitClassType eIndex)
int (int (UnitClassTypes) eIndex)
- INT getUnitClassCountPlusMaking (UnitClassType eIndex)
int (int (UnitClassTypes) eIndex)
- INT getUnitClassMaking (UnitClassType eIndex)
int (int (UnitClassTypes) eIndex)
- INT getUnitProductionNeeded (UnitType iIndex)
int (int /*UnitTypes*/ iIndex)
- INT getUpkeepCount (UpkeepType eIndex)
int (int (UpkeepTypes) eIndex)
- INT getUpkeepModifier ()
int ()
- INT getVotes (VoteType eVote, VoteSourceType eVoteSource)
int (int /*VoteTypes*/ eVote, int /*VoteSourceTypes*/ eVoteSource)
- INT getWarWearinessModifier ()
int ()
- INT getWarWearinessPercentAnger ()
int ()
- INT getWinsVsBarbs ()
int ()
- INT getWondersScore ()
int ()
- INT getWorkerSpeedModifier ()
int ()
- STRING getWorstEnemyName ()
str () - returns the name of the worst enemy
- INT getYieldRateModifier (YieldType eIndex)
int (YieldTypes eIndex)
- INT greatPeopleThreshold (BOOL bMilitary)
int ()
- BOOL hasBonus (BonusType eBonus)
int (int /*BonusType*/ ePlayer)
- BOOL hasHeadquarters (CorporationType eCorporation)
bool (int (CorporationTypes) eCorporation)
- BOOL hasHolyCity (ReligionType eReligion)
bool (int (ReligionTypes) eReligion)
- BOOL hasTrait (TraitType iIndex)
bool hasTrait(int /*TraitTypes*/ iIndex) - returns True if player is the Trait Type.
- CyCity initCity (INT x, INT y)
initCity( plotX, plotY ) - spawns a city at x,y
- EventTriggeredData initTriggeredData (EventTriggerType eEventTrigger, BOOL bFire, INT iCityId, INT iPlotX, INT iPlotY, PlayerType eOtherPlayer, INT iOtherPlayerCityId, ReligionType eReligion, CorporationType eCorporation, INT iUnitId, BuildingType eBuilding)
EventTriggeredData* (int eEventTrigger, bool bFire, int iCityId, int iPlotX, int iPlotY, PlayerTypes eOtherPlayer, int iOtherPlayerCityId, ReligionTypes eReligion, CorporationTypes eCorporation, int iUnitId, BuildingTypes eBuilding)
- CyUnit initUnit (UnitType iIndex, INT iX, INT iY, UnitAIType eUnitAI, DirectionType eFacingDirection)
CyUnit* initUnit(UnitTypes iIndex, plotX, plotY, UnitAITypes iIndex) - place Unit at X,Y NOTE: Always use UnitAITypes.NO_UNITAI
- BOOL isAlive ()
bool ()
- BOOL isAnarchy ()
bool ()
- BOOL isBarbarian ()
bool () - returns True if player is a Barbarian
- BOOL isBuildingClassMaxedOut (BuildingClassType iIndex, INT iExtra)
bool (int /*BuildingClassTypes*/ iIndex, int iExtra)
- BOOL isBuildingFree (BuildingType iIndex)
bool (int /*BuildingTypes*/ eIndex)
- BOOL isBuildingOnlyHealthy ()
bool ()
- BOOL isCivic (CivicType eCivic)
bool (int (CivicTypes) eCivic)
- BOOL isCommerceFlexible (CommerceType eIndex)
bool (CommerceTypes eIndex)
- BOOL isCurrentResearchRepeat ()
bool ()
- BOOL isEverAlive ()
bool ()
- BOOL isExtendedGame ()
bool ()
- BOOL isFeatAccomplished (FeatType eIndex)
bool ()
- BOOL isFoundedFirstCity ()
bool ()
- BOOL isFullMember (VoteSourceType eVoteSource)
bool ()
- BOOL isGoldenAge ()
bool ()
- BOOL isHasCivicOption (CivicOptionType eIndex)
bool (int (CivicOptionTypes) eIndex)
- BOOL isHuman ()
bool ()
- BOOL isLoyalMember (VoteSourceType eIndex)
bool ()
- BOOL isMilitaryFoodProduction ()
bool ()
- BOOL isMinorCiv ()
bool ()
- BOOL isNoCivicUpkeep (CivicOptionType iIndex)
bool (int /*CivicOptionTypes*/ iIndex)
- BOOL isNoCorporations ()
bool ()
- BOOL isNoForeignCorporations ()
bool ()
- BOOL isNoForeignTrade ()
bool ()
- BOOL isNoNonStateReligionSpread ()
bool ()
- BOOL isNoResearchAvailable ()
bool ()
- BOOL isNoUnhealthyPopulation ()
bool ()
- BOOL isNone ()
checks for a null player
- BOOL isOption (PlayerOptionType eIndex)
bool ()
- BOOL isPlayable ()
bool ()
- BOOL isProductionMaxedBuildingClass (BuildingClassType eBuildingClass, BOOL bAcquireCity)
int (int /*BuildingClassTypes*/ eBuildingClass, bool bAcquireCity)
- BOOL isProductionMaxedProject (ProjectType eProject)
int (int /*ProjectTypes*/ eProject)
- BOOL isProductionMaxedUnitClass (UnitClassType eUnitClass)
int (int /*UnitClassTypes*/ eUnitClass)
- BOOL isResearch ()
bool ()
- BOOL isResearchingTech (TechType iIndex)
bool (int /*TechTypes*/ iIndex)
- BOOL isSpecialBuildingNotRequired (SpecialBuildingType eIndex)
int (int (SpecialBuildingTypes) eIndex)
- BOOL isSpecialistValid (SpecialistType iIndex)
bool (int /*SpecialistTypes*/ iIndex)
- BOOL isStateReligion ()
bool ()
- BOOL isStrike ()
bool ()
- BOOL isTurnActive ()
bool ()
- BOOL isUnitClassMaxedOut (UnitClassType eIndex, INT iExtra)
bool (int (UnitClassTypes) eIndex, int iExtra)
- BOOL isVotingMember (VoteSourceType eVoteSource)
bool ()
- BOOL isWhiteFlag ()
bool () - Whether or not this player is using a custom texture flag (set in WBS)
- VOID killAllDeals ()
void ()
- VOID killCities ()
void ()
- VOID killUnits ()
void ()
- TUPLE nextCity (INT iterIn, BOOL bRev)
tuple(CyCity, int iterOut) (int iterIn, bool bReverse) - gets the next city
- TUPLE nextSelectionGroup (INT iterIn, BOOL bRev)
tuple(CySelectionGroup, int iterOut) (int iterIn, bool bReverse) - gets the next selectionGroup
- TUPLE nextUnit (INT iterIn, BOOL bRev)
tuple(CyUnit, int iterOut) (int iterIn, bool bReverse) - gets the next unit
- VOID popResearch (TechType eTech)
void (int /*TechTypes*/ eTech)
- BOOL pushResearch (TechType iIndex, BOOL bClear)
void (int /*TechTypes*/ iIndex, bool bClear)
- VOID raze (CyCity pCity)
void (CyCity pCity)
- VOID receiveGoody (CyPlot pPlot, GoodyType eGoody, CyUnit pUnit)
void (CyPlot* pPlot, int /*GoodyTypes*/ eGoody, CyUnit* pUnit)
- VOID removeBuildingClass (BuildingClassType eBuildingClass)
void (int /*BuildingClassTypes*/ eBuildingClass)
- VOID resetEventOccured (INT eEvent)
void (int /*EventTypes*/ eEvent)
- VOID revolution (INT paeNewCivics, BOOL bForce)
void (int (CivicTypes*) paeNewCivics, bool bForce)
- VOID setAdvancedStartPoints (INT iNewValue)
void (int iNewValue)
- VOID setCivics (CivicOptionType eIndex, CivicType eNewValue)
void (int iCivicOptionType, int iCivicType) - Used to forcibly set civics with no anarchy
- VOID setCombatExperience (INT iExperience)
void (int) - Combat experience used to produce Warlords
- VOID setCommercePercent (CommerceType eIndex, INT iNewValue)
int (CommerceTypes eIndex, int iNewValue)
- VOID setConscriptCount (INT iNewValue)
void (int iNewValue)
- VOID setCurrentEra (EraType iNewValue)
void (int /*EraTypes*/ iNewValue)
- VOID setEspionageSpendingWeightAgainstTeam (TeamType eIndex, INT iValue)
void (TeamTypes eIndex, int iValue)
- VOID setFeatAccomplished (FeatType eIndex, BOOL bNewValue)
void ()
- VOID setGold (INT iNewValue)
void (int iNewValue)
- VOID setLastStateReligion (ReligionType iNewReligion)
void (int iReligionID) - Sets the player's state religion to iReligionID
- VOID setLoyalMember (VoteSourceType eIndex, BOOL bNewValue)
void ()
- VOID setOption (PlayerOptionType eIndex, BOOL bNewValue)
void ()
- VOID setPersonalityType (LeaderHeadType eNewValue)
void (int /*LeaderHeadTypes*/ eNewValue)
- VOID setPlayable (BOOL bNewValue)
void ()
- VOID setScriptData (STRING szNewValue)
void (str) - Set stored custom data (via pickle)
- VOID setStartingPlot (CyPlot pPlot, BOOL bUpdateStartDist)
void (CyPlot*, bool) - sets the player's starting plot
- INT specialistCommerce (SpecialistType eSpecialist, CommerceType eCommerce)
int (int (SpecialistTypes) eSpecialist, int (CommerceTypes) eCommerce)
- INT specialistYield (SpecialistType eSpecialist, YieldType eCommerce)
int (int (SpecialistTypes) eSpecialist, int (YieldTypes) eCommerce)
- BOOL splitEmpire (INT iAreaId)
bool (int iAreaId)
- INT startingPlotRange ()
int ()
- BOOL startingPlotWithinRange (CyPlot *pPlot, PlayerType ePlayer, INT iRange, INT iPass)
bool (CyPlot *pPlot, int /*PlayerTypes*/ ePlayer, int iRange, int iPass)
- VOID stopTradingWithTeam (TeamType eTeam)
int (int /*TeamTypes*/ eTeam)
- VOID trigger (INT eEventTrigger)
void (/*EventTriggerTypes*/int eEventTrigger)
- INT unitsGoldenAgeCapable ()
int ()
- INT unitsGoldenAgeReady ()
int ()
- INT unitsRequiredForGoldenAge ()
int ()