Civilization IV Python Documentation
CombatDetails
CvActionInfo
CvAssetInfoBase
CvArtInfoAsset
CvArtInfoCivilization
CvArtInfoInterface
CvArtInfoLeaderhead
CvArtInfoMisc
CvArtInfoMovie
CvArtInfoScalableAsset
CvArtInfoBonus
CvArtInfoBuilding
CvArtInfoFeature
CvArtInfoImprovement
CvArtInfoUnit
CvArtInfoTerrain
CvInfoBase
CvAutomateInfo
CvBonusClassInfo
CvBonusInfo
CvBuildInfo
CvBuildingClassInfo
CvBuildingInfo
CvCivicInfo
CvCivicOptionInfo
CvCivilizationInfo
CvClimateInfo
CvColorInfo
CvCommandInfo
CvCommerceInfo
CvControlInfo
CvCultureLevelInfo
CvDiplomacyInfo
CvDiplomacyTextInfo
CvEffectInfo
CvEmphasizeInfo
CvEraInfo
CvFeatureInfo
CvForceControlInfo
CvGameOptionInfo
CvGameSpeedInfo
CvGameText
CvGoodyInfo
CvGraphicOptionInfo
CvHandicapInfo
CvHurryInfo
CvImprovementBonusInfo
CvImprovementInfo
CvLeaderHeadInfo
CvMPOptionInfo
CvMissionInfo
CvPlayerColorInfo
CvPlayerOptionInfo
CvProcessInfo
CvProjectInfo
CvPromotionInfo
CvQuestInfo
CvReligionInfo
CvRouteInfo
CvRouteModelInfo
CvSeaLevelInfo
CvSpecialBuildingInfo
CvSpecialUnitInfo
CvSpecialistInfo
CvTechInfo
CvTerrainInfo
CvTraitInfo
CvTurnTimerInfo
CvTutorialInfo
CvUnitClassInfo
CvUnitInfo
CvUpkeepInfo
CvVictoryInfo
CvVoteInfo
CvWorldInfo
CvYieldInfo
CvScalableInfo
CvTutorialMessage
CyArea
CyArtFileMgr
CyAudioGame
CyCamera
CyCity
CyDeal
CyDiplomacy
CyEngine
CyFractal
CyGFlyoutMenu
CyGInterfaceScreen
CyGTabCtrl
CyGame
CyGameTextMgr
CyGlobalContext
CyGlobeLayer
CyGlobeLayerManager
CyHallOfFameInfo
CyInterface
CyInterfaceScreen
CyMap
CyMapGenerator
CyMessageControl
CyPitboss
CyPlayer
CyPlot
CyPopup
CyPopupInfo
CyPopupReturn
CyPythonMgr
CyRandom
CyReplayInfo
CySelectionGroup
CySign
CyStatistics
CyTeam
CyTranslator
CyUnit
CyUnitEntity
CyUnitSubEntity
CyUserProfile
CyVariableSystem
EventMessage
FOWInfo
FOWVis
GameTurnInfo
IDInfo
MissionData
NiColorA
NiMatrix3
NiPoint2
NiPoint3
OrderData
PBGameSetupData
PBPlayerAdminData
PBPlayerSetupData
POINT
TradeData
XYCoords
CyGame
Method Resolution Order
CyGame
Boost.Python.instance
__builtin__.object
Methods defined in this class
GetWorldBuilder2Mode(...)
__init__(...)
addDeal(...)
calculateReligionPercent(...)
calculateSyncChecksum(...)
changeFreeTradeCount(...)
changeMaxTurns(...)
changeNoNukesCount(...)
changeNukesExploded(...)
changeTradeRoutes(...)
clearHolyCity(...)
- void (int eIndex) - clears the holy city for religion eIndex
countCivPlayersAlive(...)
countCivPlayersEverAlive(...)
countCivTeamsAlive(...)
countCivTeamsEverAlive(...)
countKnownTechNumTeams(...)
countNumHumanGameTurnActive(...)
countPossibleVote(...)
countReligionLevels(...)
countVote(...)
findHighestVoteTeam(...)
getActiveCivilizationType(...)
- int () - returns CivilizationID
getActivePlayer(...)
- returns index of the active player
getActiveTeam(...)
- int () - returns ID for the group
getAdjustedLandPercent(...)
getAdjustedPopulationPercent(...)
getBestLandUnit(...)
- returns index of the best unit
getBestLandUnitCombat(...)
- int ()
getBuildingClassCreatedCount(...)
- int (BuildingClassType) - building Class count
getCalendar(...)
- CalendarType ()
getCurrentLanguage(...)
getDeal(...)
getElapsedGameTurns(...)
- int () - Elapsed turns thus far
getEstimateEndTurn(...)
getFreeTradeCount(...)
getGameSpeedType(...)
getGameTurn(...)
- int () - current game turn
getGameTurnYear(...)
getHandicapType(...)
- HandicapType () - difficulty level settings
getHolyCity(...)
- CyCity getHolyCity()
getIndexAfterLastDeal(...)
getInitLand(...)
getInitPopulation(...)
getInitTech(...)
getInitWonders(...)
getMapRand(...)
getMapRandNum(...)
getMaxCityElimination(...)
getMaxLand(...)
getMaxPopulation(...)
getMaxTech(...)
getMaxTurns(...)
getMaxWonders(...)
getMinutesPlayed(...)
- Returns the number of minutes since the game began
getName(...)
getNoNukesCount(...)
getNukesExploded(...)
getNumCities(...)
- int () - total cities in Game
getNumCivCities(...)
- int () - total non-barbarian cities in Game
getNumFreeBonuses(...)
- int (int eBonus)
getNumGameTurnActive(...)
getNumHumanPlayers(...)
- int () - # of human players in-game
getNumReplayMessages(...)
getPausePlayer(...)
- int () - will get who paused us
getPlayerRank(...)
getPlayerScore(...)
getRankPlayer(...)
getRankTeam(...)
getReligionGameTurnFounded(...)
getReplayInfo(...)
getReplayMessageColor(...)
getReplayMessagePlayer(...)
getReplayMessagePlotX(...)
getReplayMessagePlotY(...)
getReplayMessageText(...)
getReplayMessageTurn(...)
getReplayMessageType(...)
getScriptData(...)
- str () - Returns ScriptData member (used to store custom data)
getSecretaryGeneral(...)
getSecretaryGeneralTimer(...)
getSorenRand(...)
getSorenRandNum(...)
getStartEra(...)
getStartTurn(...)
- int () - Returns the starting Turn (0 unless a scenario or advanced era start)
getStartYear(...)
- int () - Returns the starting year (e.g. -4000)
getSymbolID(...)
getTargetScore(...)
getTeamRank(...)
getTeamScore(...)
getTotalPopulation(...)
- int () - total game population
getTradeRoutes(...)
getTurnSlice(...)
getTurnYear(...)
- int (iGameTurn) - turn Time
getUnitClassCreatedCount(...)
- int (eIndex) - returns number of this unit class type created (?)
getUnitCreatedCount(...)
- int (eIndex) - returns number of this unit type created (?)
getVictory(...)
getVoteRequired(...)
getWinner(...)
isBuildingClassMaxedOut(...)
- bool (BuildingClassType) - max # reached?
isChooseElection(...)
isCircumnavigated(...)
- bool () - is the globe circumnavigated?
isDebugMode(...)
- bool () - is the game in Debug Mode?
isDiploVote(...)
- bool ()
isFinalInitialized(...)
- bool () - Returns whether or not the game initialization process has ended (game has started)
isForcedControl(...)
- bool (eIndex) - returns whether Control should be forced
isFreeTrade(...)
isGameMultiPlayer(...)
- bool () - GameMultiplayer()?
isMPOption(...)
- bool (eIndex) - returns whether MP Option is valid
isModem(...)
- bool () - Using a modem?
isNetworkMultiPlayer(...)
- bool () - NetworkMultiplayer()?
isNoNukes(...)
isNone(...)
- CyGame* () - is the instance valid?
isOption(...)
- bool (eIndex) - returns whether Game Option is valid
isPaused(...)
- bool () - will say if the game is paused
isPitbossHost(...)
isReligionFounded(...)
- bool (ReligionID) - is religion founded?
isScoreDirty(...)
- bool ()
isSpecialUnitValid(...)
isTeamGame(...)
isTeamVote(...)
isTeamVoteEligible(...)
isUnitClassMaxedOut(...)
- bool (eIndex, iExtra) - returns whether or not this unit class is maxed out (e.g. spies)
isVictoryValid(...)
isVotePassed(...)
makeCircumnavigated(...)
makeDiploVote(...)
makeSpecialUnitValid(...)
setActivePlayer(...)
setCurrentLanguage(...)
setEstimateEndTurn(...)
setGameTurn(...)
- void (iNewValue) - set current game turn
setHolyCity(...)
- void (int eIndex, CyCity *pNewValue, bAnnounce) - Sets holy city for religion eIndex to pNewValue
setMaxCityElimination(...)
setMaxTurns(...)
setModem(...)
- void () - Use a modem!
setName(...)
setScoreDirty(...)
setScriptData(...)
- void (str) - Sets ScriptData member (used to store custom data)
setStartYear(...)
- void () - Sets the starting year (e.g. -4000)
setTargetScore(...)
setWinner(...)
toggleDebugMode(...)
Other Attributes
__instance_size__ = 12
Inherited Attributes
__dict__ = <dictproxy object>
__new__ = <built-in method __new__ of Boost.Python.class object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__weakref__ = <member '__weakref__' of 'Boost.Python.instance' objects...