Legend - Type List - Updates
Note: This is the API documentation for the Beyond the Sword expansion pack; some functions listed here are not available in the original game or Warlords expansion. Apolyton has documentation for the previous games available online:
This documentation was created using a modified version of the python script written by Locutus. It was updated for BTS by EmperorFool and Dresden and is now a project on Google Code.
2008-10-10 - Updated for BTS (3.17) including most non-SDK changes.
Changes in non-SDK classes from Warlords v2.00 to BTS v3.17 (legend: (a) = added, (r) = removed, (m) = modified):
- In CyEngine:
(a) void clearAreaBorderPlots(int)
(a) void fillAreaBorderPlot(...)
(a) void fillAreaBorderPlotAlt(...)
(a) bool getCultureVisibility()
(a) void setCultureVisibility(bool)
- In CyGInterfaceScreen:
(r) void addBonusGraphic(...)
(r) void addBorderedPane(...)
(r) void addBuildingGraphic(...)
(m) void addCheckBoxGFCAt(...)
(r) void addDDS(...)
(r) void addDropDownBox(...)
(r) void addEditBox(...)
(r) void addFlagWidget(...)
(m) void addFlagWidgetGFC(...)
(r) void addGraphic(...)
(r) void addImprovementGraphic(...)
(r) void addLeaderhead(...)
(r) void addLine(...)
(r) void addListBox(...)
(r) void addListBoxString(...)
(a) void addModelGraphicGFC(...)
(r) void addPane(...)
(r) void addPlotGraphic(...)
(r) void addProjectGraphic(...)
(m) void addPullDownString(...)
(a) void addSpaceShipWidgetGFC(...)
(a) void addSpecificUnitGraphicGFC(...)
(r) void addStackedBar(...)
(a) void addStackedBarGFCAt(...)
(a) void addTableControlGFCWithHelp(...)
(a) void addToModelGraphicGFC(...)
(r) void addUnitGraphic(...)
(r) void addWorldWidget(...)
(r) void appendText(...)
(a) void appendListBoxStringNoUpdate(...)
(r) void attachScrollbarToDropDown(...)
(r) void attachScrollbarToListBox(...)
(a) void attachSeparator(...)
(r) void attachText(...)
(a) void changeModelGraphicTextureGFC(...)
(r) int findXPoint(...)
(r) int findYPoint(...)
(r) void getScrollableAreaCurrentX(...)
(r) void getScrollableAreaCurrentY(...)
(r) void getScrollbarCurrentStop(...)
(r) void getSelectedListBoxID(...)
(r) void getSelectedListBoxString(...)
(r) void getTextRightEdge(...)
(r) void groupRadioButton(...)
(r) void hasExitButton(...)
(r) void hiderange(...)
(r) void highlightDDS(...)
(a) void leaderheadKeyInput(...)
(r) void modifyWidgetData(...)
(r) void parentClick(...)
(r) void resizeBorderedPane(...)
(r) void resizePane(...)
(r) void scrollableAreaScrollDown(...)
(r) void scrollableAreaScrollLeft(...)
(r) void scrollableAreaScrollRight(...)
(r) void scrollableAreaScrollToBottom(...)
(r) void scrollableAreaScrollToTop(...)
(r) void scrollableAreaScrollUp(...)
(r) void setAnimation(...)
(r) void setBackgroundBorderedPane(...)
(r) void setBackgroundWidget(...)
(r) void setButton(...)
(r) void setButtonText(...)
(r) void setCheckBox(...)
(r) void setDataElement(...)
(r) void setDropDownColors(...)
(r) void setExitButton(...)
(r) void setFittedText(...)
(r) void setLeftText(...)
(r) void setListBoxColors(...)
(a) void setMinimapSectionOverride(...)
(a) void setModelGraphicRotationRateGFC(...)
(r) void setNamedScrollableAreaHorizontalScrollbar(...)
(r) void setNamedScrollableAreaVerticalScrollbar(...)
(r) void setPaneColor(...)
(r) void setPassThru(...)
(r) void setPulsing(...)
(r) void setRadioButton(...)
(r) void setRadioButtonState(...)
(r) void setRightText(...)
(r) void setScale(...)
(r) void setScrollableArea(...)
(r) void setScrollableAreaDimensions(...)
(r) void setScrollableAreaHorizontalScrollbar(...)
(r) void setScrollableAreaPaneColor(...)
(r) void setScrollableAreaVerticalScrollbar(...)
(r) void setScrollbar(...)
(r) void setScrollbarNumStops(...)
(r) void setScrollbarToStop(...)
(r) void setSelectedListBoxString(...)
(a) void setSpaceShip(ProjectType)
(a) bool spaceShipCanChangeType(ProjectTypes)
(a) void spaceShipChangeType(ProjectTypes)
(a) void spaceShipFinalize()
(a) void spaceShipLaunch()
(a) void spaceShipZoom(ProjectTypes)
(r) void setTextBackgroundPane(...)
(r) void setTextColor(...)
(r) void setTextHighlightColor(...)
(a) void updateListBox(...)
- In CyInterface:
(m) void DoSoundtrack(string)
(a) void addQuestMessage(PlayerTypes, string)
(a) void cacheInterfacePlotUnits(CyPlot)
(a) void exitingToMainMenu(string)
(a) CyUnit getCachedInterfacePlotUnit(int)
(a) CyPlot getGotoPlot()
(a) int getNumCachedInterfacePlotUnits()
(r) CyUnit getSelectionPlotUnit()
(a) bool isFocusedWidget()
(a) bool isInAdvancedStart()
(a) bool isScoresMinimized()
(a) void playGeneralSoundAtPlot(int, CyPlot)
(a) void setBusy(bool)
(a) void setInterfaceMode(InterfaceModeTypes)
(a) void toggleScoresMinimized()
- In CyInterfaceScreen:
Entire class has been removed
- In CyMessageControl:
(a) void sendAdvancedStartAction(...)
(a) void sendDoTask(...)
(a) void sendEmpireSplit(PlayerTypes, int)
(a) void sendEspionageSpendingWeightChange(TeamTypes, int)
(a) void sendModNetMessage(int, int, int, int, int)
(a) void sendTurnComplete()
- In CyPopupInfo:
(a) string getPythonModule()
(a) void setPythonModule(string)
- In CyUnitEntity:
(r) float GetFacingDirection()
(r) void SetFacingDirection(...)
- In CyUserProfile:
(a) int getGlobeLayer()
(a) bool getGrid()
(a) int getMainMenu()
(a) bool getMap()
(a) int getMovieQualityLevel()
(a) bool getScores()
(a) bool getYields()
(a) void setMainMenu(int)
(a) void setMovieQualityLevel(int)
2006-08-12 - Updated with non-SDK Warlords changes.
Changes in non-SDK classes from original game v1.61 to Warlords v2.00 (legend: (a) = added, (r) = removed, (m) = modified):
- In CyDiplomacy:
(a) bool theirVassalTribute()
- In CyGInterfaceScreen:
(a) void markRenderTexturesDirty()
(a) void setHelpLabel(string, string, string, int, float, float, float, FontType, string)
- In CyInterface:
(a) int getPlotListOffset()
(a) bool isOneCitySelected()
(a) void setSoundSelectionReady(bool)
- CyInterfaceScreen:
(a) ??? markRenderTexturesDirty(???)
2006-08-08 - Added index.
I expanded the functionality of this site to include an alphabetical index of methods, attributes and constructors, which is available from the class frame (top left corner). Everything (methods, attributes, constructors and classes) is clickable and doing so takes you to the item in question.
2006-07-31 - Updated to Warlords v2.00.
Changes from original game v1.61 (legend: (a) = added, (r) = removed, (m) = modified):
- In CombatDetails:
(a) int iHillsAttackModifier
(a) int iKamikazeModifier
- In CvBonusInfo:
(a) int getAIObjective()
- In CvBuildingClassInfo:
(a) bool isMonument()
- In CvBuildingInfo:
(a) int getBombardDefenseModifier()
(a) int getDomesticGreatGeneralRateModifier()
(r) int getFreeBuilding()
(a) int getFreeBuildingClass()
(a) int getGreatGeneralRateModifier()
(a) int getHappinessTraits(int)
(a) int getHurryAngerModifier()
(a) bool isAreaBorderObstacle()
- In CvCivicInfo:
(a) int getDomesticGreatGeneralRateModifier()
(a) int getExpInBorderModifier()
(a) int getGreatGeneralRateModifier()
- In CvEraInfo:
(a) int isFirstSoundtrackFirst()
- In CvImprovementInfo:
(a) int isActsAsCity()
- In CvLeaderHeadInfo:
(a) int getVassalRefuseAttitudeThreshold()
- In CvPromotionInfo:
(a) int getCollateralDamageProtection()
(a) int getExperiencePercent()
(a) int getHillsAttackPercent()
(a) int getKamikazePercent()
(a) int getPillageChange()
(a) int getPrereqPromotion()
(a) int getRevoltProtection()
(a) int getUnitCombatModifierPercent(int)
(a) int getUpgradeDiscount()
(a) bool isLeader()
- In CvSpecialistInfo:
(a) int getExperience()
- In CvTechInfo:
(a) int isVassalStateTrading()
- In CvTraitInfo:
(a) int getDomesticGreatGeneralRateModifier()
(a) int getGreatGeneralRateModifier()
(a) int getHappiness()
(a) int getLevelExperienceModifier()
- In CvUnitInfo:
(m) CvArtInfoUnit getArtInfo(int, EraType): changed bool argument to EraType
(a) bool getDefenderUnitClass(int)
(a) bool getDefenderUnitCombat(int)
(a) int getHillsAttackModifier()
(a) int getLeaderExperience()
(a) int getLeaderPromotion()
(a) string getMiddleArtDefineTag(int)
(a) bool getTargetUnitClass(int)
(a) bool getTargetUnitCombat(int)
(a) void setCombat(int)
(a) void setInvisible(bool)
- In CyArea:
(a) bool isBorderObstacle(TeamType)
- In CyCity:
(a) int calculateDistanceMaintenanceTimes100()
(a) int calculateNumCitiesMaintenanceTimes100()
(a) void changeCultureTimes100(PlayerType, int, bool)
(r) int countTotalCulture()
(a) int countTotalCultureTimes100()
(m) void createGreatPeople(UnitType, bool, bool): added bool argument (bIncrementExperience)
(a) int getBaseCommerceRateTimes100(CommerceType)
(a) int getBuildingBombardDefense()
(a) int getCommerceRateTimes100(CommerceType)
(a) int getCultureTimes100(PlayerType)
(a) int getFeatureProduction()
(a) int getHurryAngerModifier()
(a) int getMaintenanceTimes100()
(a) int getSpecialistFreeExperience()
(m) bool isCoastal(int): added int argument (iMinWaterSize)
(a) void setCultureTimes100(PlayerType, int, bool)
(a) void setFeatureProduction(int)
- In CyGame:
(a) int getAIAutoPlay()
(a) void setAIAutoPlay(int)
(a) void setOption(GameOptionType, bool)
(a) void updateScore(bool)
- In CyGameTextMgr:
(a) string setVassalRevoltHelp(int, int)
- In CyPlayer:
(a) int calculateBaseNetResearch()
(a) void changeCombatExperience(int)
(a) void createGreatPeople(int, bool, bool, int, int)
(a) int getCombatExperience()
(a) int getDomesticGreatGeneralRateModifier()
(a) bool getExpInBorderModifier()
(a) int getGreatGeneralRateModifier()
(a) int getGreatGeneralsCreated()
(a) int getGreatGeneralsThresholdModifier()
(a) int getLevelExperienceModifier()
(m) int greatPeopleThreshold(bool): added bool argument (bMilitary)
(r) bool isLateEra()
(a) void setCombatExperience(int)
- In CyPlot:
(m) int defenseModifier(TeamType, bool, bool): added TeamType argument (iDefendTeam)
- In CySelectionGroup:
(a) bool canEnterArea(TeamType, CyArea, bool)
(a) int getMissionData2(int)
- In CyTeam:
(a) void assignVassal(TeamType, bool)
(a) void changeVassalTradingCount(int)
(a) void freeVassal(TeamType)
(a) int getMasterPower()
(m) int getPower(bool): added bool argument (bIncludeVassals)
(a) int getVassalPower()
(a) int getVassalTradingCount()
(a) bool isAVassal()
(a) bool isVassal(TeamType)
(a) bool isVassalStateTrading()
(a) void setMasterPower(int)
(a) void setVassal(TeamType, bool, bool)
(a) void setVassalPower(int)
- In CyUnit:
(a) bool canEnterArea(TeamType, CyArea, bool)
(a) int canGiveExperience(CyPlot)
(a) int canLead(CyPlot, int)
(m) bool canPromote(PromotionType, int): added int argument (iLeaderUnitId)
(m) void changeExperience(int, int, bool, bool): added two bool arguments (bFromCombat, bInBorders)
(a) int getCollateralDamageProtection()
(a) int getExperiencePercent()
(a) int getExtraHillsAttackPercent()
(a) int getKamikazePercent()
(a) UnitType getLeaderUnitType()
(a) int getPillageChange()
(a) int getRevoltProtection()
(a) int getUpgradeDiscount()
(a) bool giveExperience()
(a) int hillsAttackModifier()
(a) bool isPromotionValid(PromotionType)
(a) bool lead(int)
(m) void promote(PromotionType, int): added int argument (iLeaderUnitId)
(a) void setLeaderUnitType(UnitType)
Disclaimer: this list may not be 100% complete, any changes outside the SDK (compared to v1.61) are not reflected here (the auto-doc for those functions no longer works). These changes should be minital to non-existant so this shouldn't be a big issue. I will try to confirm if any changes were made and update this site if needed.
2006-03-17 - Updated to v1.61.
Many thanks to Solver; without his help this update would not have been possible.
Changes from v1.52 (legend: (a) = added, (r) = removed, (m) = modified):
- In CvGameText:
(a) int getNumLanguages()
- In CvProjectInfo:
(a) int getAnyoneProjectPrereq()
- In CvTechInfo:
(a) int getFeatureProductionModifier()
- In CyCamera:
(a) void ReleaseLockedCamera()
- In CyCity:
(a) void addProductionExperience(CyUnit, bool)
(m) bool canContinueProduction(Orderdata): added OrderData argument
(m) void chooseProduction(UnitType, BuildingType, ProjectType, bool, bool): added bool argument (bFront)
(a) int conscriptMinCityPopulation()
(a) int findPopulationRank()
(a) int flatConscriptAngerLength()
(a) ArtStyleType getArtStyleType()
(a) CitySizeType getCitySizeType()
(a) int getConscriptPopulation()
(a) int getCurrAirlift()
(a) int getDomainFreeExperience(Domaintype)
(a) int getDomainProductionModifier(Domaintype)
(a) int getExtraProductionDifference(int)
(a) int getFeatureBadHappiness()
(a) int getFeatureGoodHappiness()
(a) int getFoodKept()
(a) int getFreePromotionCount(PromotionType)
(a) int getLargestHappiness()
(a) int getMaxAirLift()
(a) int getMaxFoodKeptPercent()
(a) int getNumBuildings()
(a) int getNumNationalWonders()
(a) int getNumTeamWonders()
(a) int getNumWorldWonders()
(m) int getProduction(): now returns int (was bool)
(a) int getProductionExperience(UnitType)
(a) CyPlot getRallyPlot()
(a) int getTotalGreatPeopleRateModifier()
(a) getUnitCombatFreeExperience(UnitCombatType)
(r) int getVisibleDefenseModifier()
(a) bool isAirliftTargeted()
bool isBuildingsMaxed()
(a) bool isDrafted()
(a) bool isEverOwned()
(a) bool isFreePromotion(PromotionType)
(a) bool isNationalWondersMaxed()
(a) bool isProductionLimited()
(a) bool isSpecialistForced()
(a) bool isTeamWondersMaxed()
(a) bool isWorldWondersMaxed()
(a) void setAirliftTargeted(int)
(a) void setBombarded(int)
(a) void setDrafted(int)
(a) void setFood(int)
(a) void setNeverLost(int)
- In CyGame:
renamed bool GetWorldBuilderMode() from GetWorldBuilder2Mode()
(a) int calculateOptionsChecksum()
(a) bool canTrainNukes()
(a) void cityPushOrder(CyCity, OrderType, int, bool, bool, bool)
(a) int countHumanPlayersAlive()
(a) int countHumanPlayersEverAlive()
(a) int countTotalCivPower()
(a) int countTotalNukeUnits()
(a) void cycleCities(bool, bool)
(a) bool cyclePlotUnits(CyPlot, bool, bool, int)
(a) void cycleSelectionGroups(bool, bool, bool)
(a) int getForceCivicCount(CivicType)
(a) GameStateType getGameState()
(a) int getImprovementUpgradeTime(ImprovementType)
(a) int getNumDeals()
(a) int getPitbossTurnTime()
(a) int getPlayerVote(PlayerType)
(a) int getProductionPerPopulation(HurryType)
(a) int getProjectCreatedCount(ProjectType)
(a) int getVoteOutcome(VoteType)
(a) int goldenAgeLength()
(a) bool hasSkippedSaveChecksum()
(a) bool isForceCivic(CivicType)
(a) bool isFOrceCivicOption(CivicOptionType)
(a) bool isHotSeat()
(a) bool isPbem()
(a) bool isPitboss()
(a) bool isProjectMaxedOut(ProjectType)
(a) bool isSpecialBuildingValid(SpecialBuildingType)
(a) bool isVoteTriggered(VoteType)
(a) void makeSpecialBuildingValid(SpecialBuildingType)
(a) void reviveActivePlayer()
(a) void saveReplay(int)
(a) void selectedCitiesGameNetMessage(int, int, int, int, bool, bool, bool, bool)
(a) void selectionlistMove(CyPlot, bool, bool, bool)
(a) void selectionlistMove(CyPlot, bool, bool, bool)
- In Cyinterface:
(a) void clearSelectionlist()
(a) void insertintoSelectionlist(CyUnit, bool, bool, bool, bool)
(r) bool noMovies()
(a) void removeFromSelectionUnit(CyUnit)
(r) void removeSelectedCity(CyCity)
(a) int selectionHotKeyUnit(int)
- In CyMap:
(a) void resetPathDistance()
- In CyMessageControl:
(r) void sendEmphasize(list, list, list, int)
- In CyPlayer:
(a) int calculateResearchModifier(TechType)
(m) void chooseTech(int, string, bool): added bool argument (bFront)
(a) int getBuildingClassCountPlusMaking(BuildingClassType)
(a) int getCapitalCommerceRateModifier(CommerceType)
(a) int getFeatureHappiness(FeatureType)
(a) int getFeatureProductionModifier()
(a) int getGoldPerTurnByPlayer(PlayerType)
(a) int getImprovementUpgradeRateModifier()
(a) int getLargestCityHappiness()
(a) int getMilitaryProductionModifier()
(a) string getNewCityName()
(r) CivicType getNextCivics(CivicOptionType)
(a) int getNumNukeUnits()
(a) int getPersonalityType()
(a) int getSingleCivicUpkeep(CivicType, bool)
(a) int getSpecialBuildingNotRequiredCount(SpecialBuildingType)
(a) int getStateReligionFreeExperience()
(a) int getTotalLandScored()
(a) int getUnitClassCountPlusMaking(UnitClassType)
(a) int getWinsVsBarbs()
(a) bool isCurrentResearchOption()
(a) bool isExtendedGame()
(a) bool isLateEra()
(a) bool isNoForeignTrade()
(a) bool isNonStateReligionSpread()
(a) bool isNoResearchAvailable()
(a) bool isSpecialBuildingNotRequired(SpecialBuildingType)
(a) bool isSpecialistValid(SpecialistType)
(a) void popResearch(TechType)
(a) void setPersonalityType(LeaderHeadType)
- In CyPlot:
(m) int calculateImprovementYieldChange(ImprovementType, YieldType, PlayerType, bool): PlayerType was TeamType
(a) int calculateTeamCulturePercent(TeamType)
(a) int calculateYield(YieldType, bool)
(a) bool canHavePotentialIrrigation()
(a) void changeForceUnownedTimer(int)
(a) int changeImprovementDuration(int)
(a) int changeOwnershipDuration(int)
(m) int defenseModifier(bool, bool): added bool argument (bHelp)
(a) int getCityRadiusCOunt()
(a) int getForceUnownedTimer()
(a) int getImprovementDuration()
(a) int getNonObsoleteBonusType(TeamType)
(a) int getOwnershipDuration()
(a) int getPlayerCityRadiusCount(PlayerType)
(a) int getStolenVisibilityCount(TeamType)
(a) int getUpgradeTimeLeft(ImprovementType, PlayerType
(a) bool isActiveVisible(bool)
(a) bool isBestAdjacentFound(PlayerType)
(a) int isCityRadius()
(a) bool isFlagDirty()
(a) int isForceUnowned()
(a) int isOwnershipScore()
(a) bool isPlayerCityRadius(PlayerType)
(a) bool isPotentialCityWork()
(a) bool isRiverConnection(DirectionType)
(a) bool isWithinteamCityRadius(TeamType, PlayerType)
(a) void nukeExplosion(int, CyUnit)
(a) void setFlagDirty(bool)
(a) void setForceUnowned(int)
(a) int setImprovementDuration(int)
(a) int setOwnershipDuration(int)
- In CySelectionGroup:
(a) bool alwaysInvisible()
(a) bool canDointerfaceMod(interfaceModeType, CyPlot)
(a) bool canEnterTerritory(TeamType, bool)
(m) ActivityType getActivityType(): was int getActivityType(ActivityType)
(m) AutomateType getAutomateType(): was int getAutomateType(AutomateType)
(a) bool hasCargo()
(a) bool isAmphibPlot(CyPlot)
(a) bool isFull()
(a) bool isWaiting()
(a) void setActivityType(ActivityType)
- In CyTeam:
(a) int countEnemyDangerByArea(CyArea)
(a) int countEnemyPowerByArea(CyArea)
(a) int countNumAIUnitsByArea(CyArea, UnitAIType)
(a) int countNumUnitsByArea(CyArea)
(a) int countTotalPopulationByArea(CyArea)
(a) int getBuildingClassCountPlusMaking(BuildingClassType)
(a) int getChosenWarCount(bool)
(a) int getDefensivePactCount()
(a) int getDefensivePower()
(a) int getHasReligionCount(ReligionType)
(a) int getNumNukeUnits()
(a) int getResearchLeft(TechType)
(a) int getSecretaryID(PlayerType)
(a) int getUnitClassCountPlusMaking(UnitClassTypes)
(a) int getWarPlanCount(WarPlanType, bool)
- In CyTranslator:
(a) string stripHTML(string)
- In CyUnit:
(a) int airBombBaseRate()
(a) int airBombardCurrRate()
(a) int airCombatDamage(CyUnit)
(a) int airCombatLimit()
(a) FLOAT airCurrCombatStrFloat()
(a) FLOAT airMaxCombatStrFloat()
(a) int animalCombatModifier()
(a) CyUnit bestinterceptor(CyPlot)
(a) bool canAirBomb()
(a) bool canAirBombAt(CyPlot, int, int)
(a) bool canAirlift(CyPlot)
(a) bool canAirliftAt(CyPlot, int, int)
(a) bool canBuildRoute()
(a) bool canCargoAllMove()
(a) bool canDefend(CyPlot)
(m) bool canHeal(CyPlot): added CyPlot argument
(a) bool
(m) bool canPatrol(CyPlot): added CyPlot argument
(a) bool canRecon()
(a) bool canReconAt(CyPlot, int, int)
(m) bool canSentry(CyPlot): added CyPlot argument
(a) bool canSiege(TeamType)
(a) bool canStealPlans(CyPlot, bool)
(a) int cityAttackModifier()
(a) int cityDefenseModifier
(a) int collateralDamageMaxUnits()
(a) void convert(CyUnit)
(a) int currFirepower(CyPlot, CyUnit)
(a) int domainModifier(Domaintype)
(a) int featureDefenseModifier(FeatureType)
(a) bool generatePath(CyPlot, int, bool, int)
(a) int getDiscoverResearch(TechType)
(a) int getExtraCityAttackPercent()
(a) int getExtraCityDefensePercent()
(a) int getExtraCombatPercent()
(a) int getExtraDomainModifier()
(a) int getExtraFeatureDefensePercent()
(a) int getExtraHillsDefensePercent()
(a) int getExtraTerrainDefensePercent()
(a) int getExtraUnitCombatModifier()
(a) int getGameTurnCreated()
(a) int getMaxHurryPopulation(CyCity)
(a) CyPlot getPathEndTurnPlot()
(a) int hillsDefenseModifier()
(a) bool ignoreTerrainCost()
(a) bool isAttacking()
(a) bool isAutomated()
(a) bool isCombat()
(a) bool isDefending()
(a) bool isFighting()
(a) bool isFortifyable()
(a) bool isFound()
(a) bool isInvestigate()
(a) bool isMadeinterception()
(a) bool isNeverInvisble()
(a) bool isNukeVictim(CyPlot, TeamType)
(a) void setMadeinterception
(a) int stealPlanCost(CyPlot)
(a) int stealPlanProb(CyPlot, ProbabilityType)
(a) int terrainDefenseModifier(Terraintype)
(a) int unitClassAttackModifier(UnitClassType)
(a) int unitClassDefenseModifier(UnitClassType)
(a) int unitCombatModifier(UnitCombatType)
- In PBGameSetupData:
(a) bool getVictory(int)
(a) int iCityElimination
(a) int iMaxTurns
(a) int iNumVictories
- In PBPlayerAdminData:
(a) bool bTurnActive
Note that the previous version of this API was v1.00. Changes from v1.00 to v1.52 are not listed above, only the ones from v1.52 to v1.61.
In addition, most functions which previously had no argument/return-type info (i.e. most non-SDK functions), do have this now.
Disclaimer: this list may not be 100% complete, specifically there may be some functions which in v1.52 were not documented that have had their arguments changed. If you suddenly get any 'Python argument types in {x} did not match C++ signature: {y}' on any of your pre-v1.61 scripts, you probably found a function of which the arguments changed ;-)