CyArea
bool isNone ()
bool () - Returns whether the pointer points to a real Area
int calculateTotalBestNatureYield ()
int () - Returns the total tile yield from the area
int countNumUniqueBonusTypes ()
int () - Returns the number of unique bonus types in this area
int countHasReligion (ReligionType eReligion, PlayerType eOwner)
int (int /*ReligionTypes*/ eReligion, int /*PlayerTypes*/ eOwner)
int countHasCorporation (CorporationType eCorporation, PlayerType eOwner) BtS Only
int (int /*CorporationTypes*/ eCorporation, int /*PlayerTypes*/ eOwner)
int getID ()
int () - Return's the Areas ID
int getNumTiles ()
int () - Returns the number of tiles in this area
bool isLake ()
bool () - Returns whether the area is a fresh water lake
int getNumOwnedTiles ()
int () - Returns the number of owned tiles in this area
int getNumUnownedTiles ()
int () - Returns the number of unowned tiles in this area
int getNumRiverEdges ()
int () - Returns the number of River Edges in this area
int getNumCities ()
int () - Returns the total number of cities for all players in this area
int getNumUnits ()
int () - Returns the total number of units for all players in this area
int getTotalPopulation ()
int () - Returns the total population for all players in this area
int getNumStartingPlots ()
int () - total number of players that are starting on this area
bool isWater ()
bool () - Returns whether or not this area is water
int getUnitsPerPlayer (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns the number of units in this area for this player
int getAnimalsPerPlayer (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns the number of animal units in this area for this player
int getCitiesPerPlayer (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns the number of cities in this area for this player
int getPopulationPerPlayer (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns the total population of this area for this player
int getBuildingGoodHealth (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns ?
int getBuildingBadHealth (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns ?
int getBuildingHappiness (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns ?
int getFreeSpecialist (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns ?
int getPower (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns power of this area for this player
int getBestFoundValue (PlayerType iIndex)
int (int (PlayerTypes) iIndex) - Returns the best found value for a plot in this area
int getNumRevealedTiles (TeamType iIndex)
int (int (TeamTypes) iIndex) - Returns the number of revealed tiles for this team
int getNumUnrevealedTiles (TeamType iIndex)
int (int (TeamTypes) iIndex) - Returns the number of unrevealed tiles for this team
bool isCleanPower (TeamType iIndex)
bool (int (TeamTypes) iIndex)
bool isBorderObstacle (TeamType iIndex)
bool (int (TeamTypes) iIndex)
AreaAIType getAreaAIType (TeamType eIndex)
int (AreaAITypes) (int (TeamTypes) eIndex) - Returns the AreaAIType for this team in this area
CyCity getTargetCity (PlayerType eIndex)
CyCity* (int (PlayerTypes) eIndex) - Returns ?
int getYieldRateModifier (PlayerType iPlayer, YieldType iIndex)
int (int (PlayerTypes) iPlayer, int (YieldTypes) iIndex2 - Returns ?
int getNumTrainAIUnits (PlayerType iPlayer, UnitAIType iIndex2)
int (int (PlayerTypes) iPlayer, int (UnitAITypes) iIndex2) - Returns ?
int getNumAIUnits (PlayerType iPlayer, UnitAIType iIndex2)
int (int (PlayerTypes) iPlayer, int (UnitAITypes) iIndex2) - Returns the number of units for this AI which have this AI type
int getNumBonuses (BonusTypes BonusID)
int(BonusID) - total # of BonusID
int getNumTotalBonuses ()
int () - total number of bonuses, of all types
int getNumImprovements (ImprovementType ImprovementID)
int(ImprovementID) - total # of ImprovementID