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