Simulator::cVehicle class

Base classes

class cGameData
class cLocomotiveObject
class cCombatant
Any object that has hit points and can combat other units.
class cBehaviorAgent
class cBehaviorList
class UnknownCreatureClass

Public static variables

static const uint32_t TYPE
static const uint32_t NOUN_ID

Public functions

void Load(VehicleLocomotion locomotion, VehiclePurpose purpose, struct ResourceKey name)
auto GetLocomotion() const -> VehicleLocomotion
auto GetPurpose() const -> VehiclePurpose
auto GetWeapon() const -> cSpaceToolData*
auto Cast() const -> void* pure virtual
auto AddRef() -> int pure virtual
auto Release() -> int pure virtual

Public variables

int field_AF0
bool field_AF4
uint32_t mLocomotionHint
bool field_AFC
int field_B00
int field_B04
int field_B08
float field_B0C
float field_B10
float field_B14
float field_B18
VehicleLocomotion mLocomotion
VehiclePurpose mPurpose
uint32_t mStance
uint32_t mCargoType
UnknownBehaviorContainer mEvents
float mCargoUnits
intrusive_ptr<cCity> mpNearestCity
intrusive_ptr<cSpaceToolData> mpWeapon
int field_B64
vector<int> mOrders
intrusive_ptr<cSpatialObject> mpChaseTarget
Vector3 mIdlePosition
vector<intrusive_ptr<cCombatant>> mHostileUnits
cGonzagoTimer mParkingTimer
int field_BC0
int field_BC4
int field_BC8
bool field_BCC
bool mbDead
bool mbDrone
bool field_BCF
bool field_BD0
bool field_BD1
cGonzagoTimer field_BD8
cGonzagoTimer field_BF8
cGonzagoTimer field_C18
uint32_t mUIState
Vector3 mAcceptableCenter
float mAcceptableMinDist
float mAcceptableMaxDist
float mPowerStat
float mDefenseStat
float mSpeedStat
float mDamageMultiplier
float field_C60
vector<int> mWeapons
int mActiveWeaponIndex
unsigned int mDefaultWeaponCycleTimeMS
int mTimeToCycleWeaponMS
unsigned int mTimeSinceLastWeaponFireMS
cGonzagoTimer mCombatStatusTimer
cGonzagoTimer mCombatVoxTimer
string16 field_CC8
cGonzagoTimer field_CD8
int field_CF8
int mpHitSphere
int field_D00
int field_D04
int field_D08
int field_D0C
bool field_D10
string field_D14
int field_D24
int field_D28
float field_D2C
int field_D30
Vector3 field_D34
Vector3 field_D40
Vector3 field_D4C
Vector3 field_D58
int field_D64
float field_D68
int field_D6C
int field_D70
int field_D74
int field_D78
int field_D7C
int field_D80
int field_D84
int field_D88
float field_D8C
float field_D90
int field_D94