Home › Lua API › CityGrowth

Available out of the box. Usable from Lua in the unmodified game.

CityGrowth

40 methods. Symbol/current columns are function addresses (RVA) of the native wrapper.

Community reference for this object: CityGrowth (Sukrit Tan, external).

Signatures are recovered from the game code. ⚠ = partly understood (arguments may be missing or approximate). ? after a name = optional argument. Types: integer/number are Lua numbers, enum-typed arguments show the C++ type in brackets. Two signatures mean the method is registered separately for the UI and the gameplay state and each wrapper was decoded on its own. "same code as" in the Symbol column means the compiler merged identical functions: those methods share one wrapper and cannot be told apart by address.

Method Signature Where Reference Symbol Current
GetAmenities UI state: CityGrowth:GetAmenities() → number
gameplay state: CityGrowth:GetAmenities() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x68f920 0x68ff00
GetAmenitiesFromCityStates CityGrowth:GetAmenitiesFromCityStates() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68f970 —
GetAmenitiesFromCivics CityGrowth:GetAmenitiesFromCivics() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x68f9c0 0x68ffa0
GetAmenitiesFromDistricts CityGrowth:GetAmenitiesFromDistricts() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fa10 —
GetAmenitiesFromEntertainment UI state: CityGrowth:GetAmenitiesFromEntertainment() → number
gameplay state: CityGrowth:GetAmenitiesFromEntertainment() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x68fa60 —
GetAmenitiesFromGovernors CityGrowth:GetAmenitiesFromGovernors() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x710960 0x7111d0
GetAmenitiesFromGreatPeople CityGrowth:GetAmenitiesFromGreatPeople() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fab0 —
GetAmenitiesFromImprovements CityGrowth:GetAmenitiesFromImprovements() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fb00 0x6900e0
GetAmenitiesFromLuxuries UI state: CityGrowth:GetAmenitiesFromLuxuries() → number
gameplay state: CityGrowth:GetAmenitiesFromLuxuries() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x68fb50 —
GetAmenitiesFromNationalParks CityGrowth:GetAmenitiesFromNationalParks() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fba0 —
GetAmenitiesFromNaturalWonders CityGrowth:GetAmenitiesFromNaturalWonders() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fbf0 —
GetAmenitiesFromReligion CityGrowth:GetAmenitiesFromReligion() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fc40 —
GetAmenitiesFromStartingEra CityGrowth:GetAmenitiesFromStartingEra() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fc90 —
GetAmenitiesFromTraits CityGrowth:GetAmenitiesFromTraits() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fce0 0x6902c0
GetAmenitiesLostFromBankruptcy CityGrowth:GetAmenitiesLostFromBankruptcy() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fd30 0x690310
GetAmenitiesLostFromWarWeariness CityGrowth:GetAmenitiesLostFromWarWeariness() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fd80 —
GetAmenitiesNeeded CityGrowth:GetAmenitiesNeeded() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fdd0 0x6903b0
GetCity CityGrowth:GetCity() → City
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fe20 0x690400
GetFood CityGrowth:GetFood() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68fe60 0x690440
GetFoodSurplus UI state: CityGrowth:GetFoodSurplus() → number
gameplay state: CityGrowth:GetFoodSurplus() → number (FixedPoint)
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x68fed0 0x6904b0
GetGrowthThreshold CityGrowth:GetGrowthThreshold() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68ff40 0x690520
GetHappiness UI state: CityGrowth:GetHappiness() → number
gameplay state: CityGrowth:GetHappiness() → number (HappinessTypes)
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x68ff90 —
GetHappinessGrowthModifier CityGrowth:GetHappinessGrowthModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68ffe0 0x6905c0
GetHappinessNonFoodYieldModifier CityGrowth:GetHappinessNonFoodYieldModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x690050 0x690630
GetHousing UI state: CityGrowth:GetHousing() → number
gameplay state: CityGrowth:GetHousing() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x6900c0 0x6906a0
GetHousingFromBuildings UI state: CityGrowth:GetHousingFromBuildings() → number
gameplay state: CityGrowth:GetHousingFromBuildings() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x690110 —
GetHousingFromCivics CityGrowth:GetHousingFromCivics() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x690160 0x690740
GetHousingFromDistricts UI state: CityGrowth:GetHousingFromDistricts() → number
gameplay state: CityGrowth:GetHousingFromDistricts() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x6901b0 —
GetHousingFromGreatPeople CityGrowth:GetHousingFromGreatPeople() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x690200 —
GetHousingFromGreatWorks CityGrowth:GetHousingFromGreatWorks() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x690250 —
GetHousingFromImprovements UI state: CityGrowth:GetHousingFromImprovements() → number
gameplay state: CityGrowth:GetHousingFromImprovements() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x6902a0 0x690880
GetHousingFromStartingEra CityGrowth:GetHousingFromStartingEra() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x6902f0 0x6908d0
GetHousingFromWater UI state: CityGrowth:GetHousingFromWater() → number
gameplay state: CityGrowth:GetHousingFromWater() → number
✓ called in the game: 1 value(s) as documented
ui-cache, gameplay yes ↗ 0x690340 0x690920
GetHousingGrowthModifier CityGrowth:GetHousingGrowthModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x690390 0x690970
GetLoyaltyGrowthModifier CityGrowth:GetLoyaltyGrowthModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x7109b0 0x711220
GetOccupationGrowthModifier CityGrowth:GetOccupationGrowthModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x690400 0x6909e0
GetOtherGrowthModifier CityGrowth:GetOtherGrowthModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x690470 0x690a50
GetOverallGrowthModifier CityGrowth:GetOverallGrowthModifier() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x6904e0 0x690ac0
GetTurnsUntilGrowth UI state: CityGrowth:GetTurnsUntilGrowth() → number
gameplay state: CityGrowth:GetTurnsUntilGrowth() → number
✓ called in the game: 1 value(s) as documented
returns: A turn number (the scripts name the result turn). (inferred)
ui-cache, gameplay yes ↗ 0x690550 0x690b30
GetTurnsUntilStarvation CityGrowth:GetTurnsUntilStarvation() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x6905a0 0x690b80