CyTeam
bool isNone ()
bool () - is this instance valid?
void addTeam (TeamType eTeam)
void (int /*TeamTypes*/ eTeam)
bool canChangeWarPeace (TeamType eTeam)
bool (int /*TeamTypes*/ eTeam)
bool canDeclareWar (TeamType eTeam)
bool (int /*TeamTypes*/ eTeam)
void declareWar (TeamType eTeam, bool bNewDiplo)
void (int /*TeamTypes*/ eTeam, bool bNewDiplo) - Forces your team to declare War on iTeam
void makePeace (TeamType eTeam)
void (int /*TeamTypes*/ eTeam) - Forces peace between your team and iTeam
bool canContact (TeamType eTeam)
bool (int /*TeamTypes*/ eTeam)
void meet (TeamType eTeam, bool bNewDiplo)
void (int /*TeamTypes*/ eTeam, bool bNewDiplo) - forces team to meet iTeam
void signOpenBorders (TeamType eTeam)
void (int /*TeamTypes*/ eTeam)
void signDefensivePact (TeamType eTeam)
void (int /*TeamTypes*/ eTeam)
int getAssets ()
int ()
int getPower (bool bIncludeVassal)
int (bool bIncludeVassals)
int getDefensivePower ()
int ()
int getNumNukeUnits ()
int ()
int getAtWarCount (bool bIgnoreMinor)
int (bool bIgnoreMinors)
int getWarPlanCount (WarPlanType eWarPlan, bool bIgnoreMinor)
int (int /*WarPlanTypes*/ eWarPlan, bool bIgnoreMinors)
int getAnyWarPlanCount (bool bIgnoreMinor)
int (bool bIgnoreMinors)
int getChosenWarCount (bool bIgnoreMinor)
int (bool bIgnoreMinors)
int getHasMetCivCount (bool bIgnoreMinor)
int (bool bIgnoreMinors)
bool hasMetHuman ()
bool ()
int getDefensivePactCount ()
int ()
bool isAVassal ()
bool ()
int getUnitClassMaking (UnitClassType eUnitClas)
int (int (UnitClassTypes) eUnitClass)
int getUnitClassCountPlusMaking (UnitClassType eUnitClas)
int (int (UnitClassTypes) eUnitClass)
int getBuildingClassMaking (BuildingClassType eBuildingClas)
int (int (BuildingClassTypes) eBuildingClass)
int getBuildingClassCountPlusMaking (BuildingClassType eBuildingClas)
int (int (BuildingClassTypes) eBuildingClass)
int getHasReligionCount (ReligionType eReligion)
int (int (ReligionTypes) eReligion)
int getHasCorporationCount (CorporationType eReligion) BtS Only
int (int (CorporationTypes) eReligion)
int countTotalCulture ()
int ()
int countNumUnitsByArea (CyArea pArea)
int (CyArea* pArea)
int countNumCitiesByArea (CyArea pArea)
int (CyArea* pArea)
int countTotalPopulationByArea (CyArea pArea)
int (CyArea* pArea)
int countPowerByArea (CyArea pArea)
int (CyArea* pArea)
int countEnemyPowerByArea (CyArea pArea)
int (CyArea* pArea)
int countNumAIUnitsByArea (CyArea pArea, UnitAIType eUnitAI)
int (CyArea* pArea, int /*UnitAITypes*/ eUnitAI)
int countEnemyDangerByArea (CyArea pArea)
int (CyArea* pArea)
int getResearchCost (TechID eTech)
int (TechID) - total cost of Tech
int getResearchLeft (TechID eTech)
int (TechID) - Amount of remaining research necessary
bool hasHolyCity (ReligionType eReligion)
bool (int (ReligionTypes) eReligion) - does this team have eReligion's holy city?
bool hasHeadquarters (CorporationType eCorporation) BtS Only
bool (int (CorporationTypes) eCorporation) - does this team have eCorporation's headquarters?
bool isHuman ()
bool () - is human team?
bool isBarbarian ()
bool () - is barbarian team?
int getLeaderID (PlayerType iPlayer)
int (PlayerTypes) ()
int getSecretaryID (PlayerType iPlayer)
int (PlayerTypes) ()
int getHandicapType (HandicapType eIndex)
int (HandicapTypes) ()
string getName ()
str ()
int getNumMembers ()
int (); # of people on team
bool isAlive ()
bool ()
bool isEverAlive ()
bool ()
int getNumCities ()
int (); # of cities controlled by team
int getTotalPopulation ()
int (); # of citizens controlled by team
int getTotalLand ()
int ()
int getNukeInterception ()
int ()
void changeNukeInterception (int iChange)
void (iChange)
int getForceTeamVoteEligibilityCount (VoteSourceType eVoteSource)
int (int /*VoteSourceTypes*/ eVoteSource)
bool isForceTeamVoteEligible (VoteSourceType eVoteSource)
bool (int /*VoteSourceTypes*/ eVoteSource)
void changeForceTeamVoteEligibilityCount (VoteSourceType eVoteSource, int iChange)
void (int /*VoteSourceTypes*/ eVoteSource, iChange)
int getExtraWaterSeeFromCount ()
int ()
bool isExtraWaterSeeFrom ()
bool ()
void changeExtraWaterSeeFromCount (int iChange)
void (iChange)
int getMapTradingCount ()
int ()
bool isMapTrading ()
bool () - map is ready
void changeMapTradingCount (int iChange)
void (iChange)
int getTechTradingCount ()
int ()
bool isTechTrading ()
bool () - tech trading?
void changeTechTradingCount (int iChange)
void (iChange)
int getGoldTradingCount ()
int ()
bool isGoldTrading ()
bool () - gold trading?
void changeGoldTradingCount (int iChange)
void (iChange)
int getOpenBordersTradingCount ()
int ()
bool isOpenBordersTrading ()
bool ()
void changeOpenBordersTradingCount (int iChange)
void (iChange)
int getDefensivePactTradingCount ()
int ()
bool isDefensivePactTrading ()
bool ()
void changeDefensivePactTradingCount (int iChange)
void (iChange)
int getPermanentAllianceTradingCount ()
int ()
bool isPermanentAllianceTrading ()
bool ()
void changePermanentAllianceTradingCount (int iChange)
void (iChange)
int getVassalTradingCount ()
int ()
bool isVassalStateTrading ()
bool ()
void changeVassalTradingCount (int iChange)
void (iChange)
int getBridgeBuildingCount ()
int ()
bool isBridgeBuilding ()
bool ()
void changeBridgeBuildingCount (int iChange)
void (iChange)
int getIrrigationCount ()
int ()
bool isIrrigation ()
bool ()
void changeIrrigationCount (int iChange)
void (iChange)
int getIgnoreIrrigationCount ()
int ()
bool isIgnoreIrrigation ()
bool ()
void changeIgnoreIrrigationCount (int iChange)
void (iChange)
int getWaterWorkCount ()
int ()
bool isWaterWork ()
bool ()
void changeWaterWorkCount (int iChange)
void (iChange)
int getVassalPower ()
int ()
void setVassalPower (int)
void (int)
int getMasterPower ()
int ()
void setMasterPower (int)
void (int)
bool isMapCentering ()
bool () - map is centered
void setMapCentering (bool bNewValue)
void (bNewValue)
int getEnemyWarWearinessModifier () BtS Only
int ()
void changeEnemyWarWearinessModifier (int iChange) BtS Only
void (iChange)
int getID ()
int () - team ID
int isStolenVisibility (TeamType eIndex)
int (int /*TeamTypes*/ eIndex)
int getWarWeariness (TeamType eIndex)
int (int /*TeamTypes*/ eIndex)
void setWarWeariness (TeamType eIndex, int iNewValue)
void (int /*TeamTypes*/ eIndex, iNewValue)
void changeWarWeariness (TeamType eIndex, int iChange)
void (int /*TeamTypes*/ eIndex, iChange)
int getTechShareCount (int iIndex)
int (int iIndex)
bool isTechShare (int iIndex)
bool (int iIndex)
void changeTechShareCount (int iIndex, int iChange)
void (int iIndex, iChange)
int getCommerceFlexibleCount (CommerceType eIndex)
int (int /*CommerceTypes*/ eIndex)
bool isCommerceFlexible (CommerceType eIndex)
bool (int /*CommerceTypes*/ eIndex)
void changeCommerceFlexibleCount (CommerceType eIndex, int iChange)
void (int /*CommerceTypes*/ eIndex, iChange)
int getExtraMoves (DomainType eIndex)
int (int /*DomainTypes*/ eIndex)
void changeExtraMoves (DomainType eIndex, int iChange)
void (int /*DomainTypes*/ eIndex, int iChange)
bool isHasMet (TeamType eIndex)
bool (int /*TeamTypes*/ eIndex)
bool isAtWar (TeamType eIndex)
bool (int /*TeamTypes*/ eIndex)
bool isPermanentWarPeace (TeamType eIndex)
bool (int /*TeamTypes*/ eIndex)
void setPermanentWarPeace (TeamType eIndex, bool bNewValue)
void (int /*TeamTypes*/ eIndex, bool bNewValue)
bool isFreeTrade (TeamType eIndex)
bool (TeamTypes)
bool isOpenBorders (TeamType eIndex)
bool (TeamTypes)
bool isForcePeace (TeamType eIndex)
bool (TeamTypes)
bool isVassal (TeamType eIndex)
bool (TeamTypes)
void setVassal (TeamType eIndex, bool bNewValue)
void (TeamTypes, bool)
void assignVassal (TeamType eIndex, bool bNewValue)
void (TeamTypes, bool)
void freeVassal (TeamType eIndex)
void (TeamTypes)
bool isDefensivePact (TeamType eIndex)
bool (TeamTypes)
int getRouteChange (RouteType eIndex)
"int (RouteType) - Route Change caused by RouteType
void changeRouteChange (RouteType eIndex, int iChange)
void (int /*RouteType*/ eIndex, int iChange)
bool getProjectCount (ProjectType eIndex)
bool (int /*ProjectTypes*/ eIndex)
bool getProjectDefaultArtType (ProjectType eIndex) BtS Only
bool (int /*ProjectTypes*/ eIndex)
void setProjectDefaultArtType (ProjectType eIndex, int value) BtS Only
void (int /*ProjectTypes*/ eIndex, int value)
int getProjectArtType (ProjectType eIndex, int number) BtS Only
int (int /*ProjectTypes*/ eIndex, int number)
void setProjectArtType (ProjectType eIndex, int number, int value) BtS Only
void (int /*ProjectTypes*/ eIndex, int number, int value)
bool isProjectMaxedOut (ProjectType eIndex, int iExtra)
bool (int /*ProjectTypes*/ eIndex, int iExtra)
bool isProjectAndArtMaxedOut (ProjectType eIndex) BtS Only
bool (int /*ProjectTypes*/ eIndex)
void changeProjectCount (ProjectType eIndex, int iChange)
void (int /*ProjectTypes*/ eIndex, int iChange)
bool getProjectMaking (ProjectType eIndex)
bool (int /*ProjectTypes*/ eIndex)
int getUnitClassCount (UnitClassType eIndex)
int (int (UnitClassTypes) eIndex)
bool isUnitClassMaxedOut (UnitClassType eIndex, int iExtra)
bool (int (UnitClassTypes) eIndex, int iExtra)
bool getBuildingClassCount (BuildingClassType eIndex)
bool (int /*BuildingClassTypes*/ eIndex)
bool isBuildingClassMaxedOut (BuildingClassTypes eIndex, int iExtra)
bool (BuildingClassTypes, iExtra)
bool isObsoleteBuilding ()
bool (BuildingID - is BuildingID obsolete?
int getResearchProgress (TechID eIndex)
int (TechID) - progress towards finishing research on TechID
void setResearchProgress (TechID eIndex, int iNewValue, PlayerTypes iPlayer)
void (TechID, iNewValue, iPlayer ) - sets progress towards TechID
void changeResearchProgress (TechID eIndex, int iChange, PlayerTypes iPlayer)
void (TechID, iChange, iPlayer ) - edits progress towards TechID
bool isTerrainTrade (int iTerrainType)
bool (int iTerrainType) - will let us know if this terrain type allows trade
bool isRiverTrade () BtS Only
bool () - will let us know if rivers allow trade
int getTechCount (TechID eIndex)
int (TechID)
bool isHasTech (TechID eIndex)
bool (TechID) - has the team researched techID
void setHasTech (TechID eIndex, bool bNewValue, PlayerTypes iPlayer, bool bFirst, bool bAnnounce)
void (TechID, bNewValue, iPlayer, bFirst, bAnnounce)
bool isNoTradeTech (TechID eIndex)
bool (TechID)
void setNoTradeTech (TechID eIndex, bool bNewValue)
void (TechID, bNewValue)
int getImprovementYieldChange (ImprovementType eIndex1, YieldType eIndex2)
"int (int /*ImprovementTypes*/ eIndex1, int /*YieldTypes*/ eIndex2)
void changeImprovementYieldChange (ImprovementType eIndex1, YieldType eIndex2, int iChange)
void (int /*ImprovementTypes*/ eIndex1, int /*YieldTypes*/ eIndex2, iChange)
int getVictoryCountdown (VictoryType eIndex) BtS Only
int (int /*VictoryTypes*/)
int getVictoryDelay (VictoryType eIndex) BtS Only
int (int /*VictoryTypes*/)
bool canLaunch () BtS Only
bool ()
int getLaunchSuccessRate (VictoryType eIndex) BtS Only
int (int /*VictoryTypes*/)
int getEspionagePointsAgainstTeam (TeamTypes eIndex) BtS Only
int (TeamTypes eIndex)
void setEspionagePointsAgainstTeam (TeamTypes eIndex, int iValue) BtS Only
void (TeamTypes eIndex, int iValue)
void changeEspionagePointsAgainstTeam (TeamTypes eIndex, int iChange) BtS Only
void (TeamTypes eIndex, int iChange)
int getEspionagePointsEver () BtS Only
int ()
void setEspionagePointsEver (int iValue) BtS Only
void (int iValue)
void changeEspionagePointsEver (int iChange) BtS Only
void (int iChange)
int getCounterespionageTurnsLeftAgainstTeam (TeamTypes eIndex) BtS Only
int (TeamTypes eIndex)
void setCounterespionageTurnsLeftAgainstTeam (TeamTypes eIndex, int iValue) BtS Only
void (TeamTypes eIndex, int iValue)
void changeCounterespionageTurnsLeftAgainstTeam (TeamTypes eIndex, int iChange) BtS Only
void (TeamTypes eIndex, int iChange)
int getCounterespionageModAgainstTeam (TeamTypes eIndex) BtS Only
int (TeamTypes eIndex)
void setCounterespionageModAgainstTeam (TeamTypes eIndex, int iValue) BtS Only
void (TeamTypes eIndex, int iValue)
void changeCounterespionageModAgainstTeam (TeamTypes eIndex, int iChange) BtS Only
void (TeamTypes eIndex, int iChange)
bool AI_shareWar (TeamTypes eIndex)
bool (TeamTypes)
void AI_setWarPlan (TeamTypes eIndex, WarPlanType eNewValue) BtS Only
void (int /*TeamTypes*/ eIndex, int /*WarPlanTypes*/ eNewValue)
int AI_getAtWarCounter (TeamTypes eIndex) BtS Only
int (TeamTypes)
int AI_getAtPeaceCounter (TeamTypes eIndex) BtS Only
int (TeamTypes)
int AI_getWarSuccess (TeamTypes eIndex) BtS Only
int (TeamTypes)