class
cCity
Base classes
- class cCommunity
- The following attributes are saved:
- class cSpatialObject
- A 3D model in the Simulator.
- class cBehaviorList
- class App::IMessageListener
- An interface that can receive messages sent through the app.
Public static variables
Public static functions
- static auto ProcessBuildingUpdate(cCity* city, int = 0, int = 0) -> void
Public functions
- auto SetIsPlayerCity(bool value) -> void virtual
- auto IsAboveCity(const Vector3& position) -> bool
- Returns true if the given position is over this city.
- auto GetWallsPosition() -> Vector3
- auto SpawnVehicle(VehiclePurpose speciality, VehicleLocomotion locomotion, struct ResourceKey key, bool isSpaceStage) -> cVehicle*
- auto AddBuilding(cBuilding* building, bool = false) -> void
- auto RemoveBuilding(cBuilding* building) -> bool
- auto AddRef() -> int pure virtual
- auto Release() -> int pure virtual
-
auto Cast(uint32_
t typeID) const -> void* pure virtual
Public variables
- eastl::string16 field_210
- float field_220
- int field_224
- int field_228
- cGonzagoTimer field_230
- cGonzagoTimer field_250
- cGonzagoTimer field_270
- int field_290
- int field_294
- int field_298
- int field_29C
- int field_2A0
- eastl::vector<int> field_2A4
- eastl::vector<int> field_2B8
- int field_2CC
- int field_2D0
- char _padding_2D4
- bool field_2E0
- bool field_2E1
- bool field_2E2
- bool field_2E3
- bool field_2E4
- bool field_2E5
- bool field_2E6
-
uint32_
t mModificationHandleLevel -
uint32_
t mModificationHandleTexture - int field_2F0
- int field_2F4
- int field_2F8
- bool field_2FC
- int field_300
- float field_304
- eastl::vector<cOrnamentPtr> mCivicObjects
- int mHousingAmount
- cBuildingPtr mpCityHall
- cCityWallsPtr mpCityWalls
- cCityTerritoryPtr mpCityTerritory
-
Math::
Vector3 field_32C - float mFrameRate
- bool mbIsPlayerCity
- eastl::vector<cBuildingPtr> mBuildings
- eastl::fixed_vector<cTurretPtr, 32> mTurrets
- cCommunityLayout mBuildingsLayout
- cCommunityLayout mDecorationsLayout
- cCommunityLayout mTurretsLayout
- bool mbSmallCity
- bool field_519
- int field_51C
- int field_520
- int field_524
- eastl::vector<int> field_528
- float mWaterFraction
- int mVehicleSpecialty
- int field_544
- eastl::vector<int> field_548
- eastl::vector<cCityPartner> mTradePartners
- eastl::map<int, int> field_570
- bool field_58C
- eastl::intrusive_ptr<cCivilization> mpCivilization
- int mBuildingPlacementAngleDelta
- float mBuildingPlacementRadius
- int mAngle
- eastl::map<int, int> mAllegianceBucket
- eastl::map<int, int> mAllegianceConversionDeltas
- eastl::map<int, int> mAllegianceUnconversionDeltas
- cGonzagoTimer field_5F8
- eastl::vector<tCultureTargetInfo> mCultureTargetInfo
- eastl::vector<cCulturalTargetPtr> mCulturalTargets
- int field_640
- int field_644
- int field_648
- int mRoboPopulation
- int field_650
- int field_654
- ResourceKey mSpeciesKey
- int mMoneyCount
- int mHappyCount
- int mUnhappyCount
- int mNewBuildings
- int mUnused2
- int mFinalIncome
- int mUnused3
- int mUnused4
- eastl::vector<int> field_684
- bool mbPartyOn
- cGonzagoTimer field_6A0
- bool mbRiotOn
- cGonzagoTimer field_6C8
- cGonzagoTimer field_6E8
- cGonzagoTimer field_708
- cGonzagoTimer field_728
- float mCapturePercent
-
uint32_
t mCaptureID - float mConvertPercent
-
uint32_
t mConvertID - float mBuyPercent
-
uint32_
t mBuyID - bool mbFirstHarvester
- bool field_761
- bool mbSkipCaptureCinematic
- int field_764
- int field_768
- cGonzagoTimer mMessiahTimer
- cGonzagoTimer field_790
- int field_7B0
- int field_7B4
- eastl::map<int, int> field_7B8
- int field_7D4
- char _padding_7D8
- int field_7F0
- int mNpcBuildingAlignment
- eastl::vector<tDeferredEvent> mDeferredEvents
- bool field_80C
- int field_810