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

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
vector<int> field_2A4
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
vector<cOrnamentPtr> mCivicObjects
int mHousingAmount
cBuildingPtr mpCityHall
cCityWallsPtr mpCityWalls
cCityTerritoryPtr mpCityTerritory
Math::Vector3 field_32C
float mFrameRate
bool mbIsPlayerCity
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
vector<int> field_528
float mWaterFraction
int mVehicleSpecialty
int field_544
vector<int> field_548
vector<cCityPartner> mTradePartners
map<int, int> field_570
bool field_58C
intrusive_ptr<cCivilization> mpCivilization
int mBuildingPlacementAngleDelta
float mBuildingPlacementRadius
int mAngle
map<int, int> mAllegianceBucket
map<int, int> mAllegianceConversionDeltas
map<int, int> mAllegianceUnconversionDeltas
cGonzagoTimer field_5F8
vector<int> mCultureTargetInfo
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
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
map<int, int> field_7B8
int field_7D4
char _padding_7D8
int field_7F0
int mNpcBuildingAlignment
vector<int> mDeferredEvents
bool field_80C
int field_810