Simulator::cCity class

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

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

void SetIsPlayerCity(bool value) 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 AddRef() -> int pure virtual
auto Release() -> int pure virtual
auto Cast() 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
int 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
int mTurrets
int field_358
int field_35C
int field_360
int field_364
int field_368
char _field_36C
UnkCityClass field_3EC
UnkCityClass field_450
UnkCityClass field_4B4
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<int> mCultureTargetInfo
eastl::vector<int> 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<int> mDeferredEvents
bool field_80C
int field_810