class
cSimPlanetHighLOD
Base classes
- class cGonzagoSimulator
Public types
- struct UnkClass
Public static variables
Constructors, destructors, conversion operators
- ASSERT_SIZE(UnkClass, 0x10)
Public functions
-
auto DestroyCity(cCity* pCity,
uint32_
t agressorEmpireID = -1) -> void - Completely destroys a city in this planet, removing all the walls and buildings and showing a fire effect.
Public variables
- int field_10
- bool field_14
- ObjectPtr field_18
- ObjectPtr field_1C
- int mSimulationStepTime
- int mColonyUpdateStepTime
- DefaultRefCountedPtr field_28
- ObjectPtr field_2C
- ObjectPtr field_30
- eastl::sp_fixed_list<UnkClass, 10> field_34
- bool field_158
-
Math::
Vector3 field_15C - int field_168
- int field_16C
- cGonzagoTimer field_170
- int field_190
- int field_194
- int field_198
- eastl::vector<int> field_19C
- DefaultRefCountedPtr field_1B0
- bool field_1B4
- int field_1B8
- ObjectPtr field_1BC
- eastl::map<int, ObjectPtr> field_1C0
- ObjectPtr field_1DC
- bool field_1E0
- void* field_1E4
Function documentation
void Simulator:: cSimPlanetHighLOD:: DestroyCity(cCity* pCity,
uint32_ t agressorEmpireID = -1)
Completely destroys a city in this planet, removing all the walls and buildings and showing a fire effect.
Parameters | |
---|---|
pCity | The city to be destroyed. |
agressorEmpireID |
You can optionally specifiy the empire ID of who destroyed the city, which will apply bad relations with the aggressed community.