CarStatusData class

Constructors

CarStatusData({required int m_tractionControl, required int m_antiLockBrakes, required int m_fuelMix, required int m_frontBrakeBias, required int m_pitLimiterStatus, required double m_fuelInTank, required double m_fuelCapacity, required double m_fuelRemainingLaps, required int m_maxRPM, required int m_idleRPM, required int m_maxGears, required int m_drsAllowed, required int m_drsActivationDistance, required int m_actualTyreCompound, required int m_visualTyreCompound, required int m_tyresAgeLaps, required int m_vehicleFiaFlags, required double m_ersStoreEnergy, required int m_ersDeployMode, required double m_ersHarvestedThisLapMGUK, required double m_ersHarvestedThisLapMGUH, required double m_ersDeployedThisLap, required int m_networkPaused})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
m_actualTyreCompound int
F1 Modern - 16 = C5, 17 = C4, 18 = C3, 19 = C2, 20 = C1 7 = inter, 8 = wet F1 Classic - 9 = dry, 10 = wet F2 – 11 = super soft, 12 = soft, 13 = medium, 14 = hard 15 = wet
final
m_antiLockBrakes int
0 (off) - 1 (on)
final
m_drsActivationDistance int
0 = DRS not available, non-zero - DRS will be available
final
m_drsAllowed int
0 = not allowed, 1 = allowed
final
m_ersDeployedThisLap double
ERS energy deployed this lap
final
m_ersDeployMode int
ERS deployment mode, 0 = none, 1 = medium 2 = hotlap, 3 = overtake
final
m_ersHarvestedThisLapMGUH double
ERS energy harvested this lap by MGU-H
final
m_ersHarvestedThisLapMGUK double
ERS energy harvested this lap by MGU-K
final
m_ersStoreEnergy double
ERS energy store in Joules
final
m_frontBrakeBias int
Front brake bias (percentage)
final
m_fuelCapacity double
Fuel capacity
final
m_fuelInTank double
Current fuel mass
final
m_fuelMix int
Fuel mix - 0 = lean, 1 = standard, 2 = rich, 3 = max
final
m_fuelRemainingLaps double
Fuel remaining in terms of laps (value on MFD)
final
m_idleRPM int
Cars idle RPM
final
m_maxGears int
Maximum number of gears
final
m_maxRPM int
Cars max RPM, point of rev limiter
final
m_networkPaused int
Whether the car is paused in a network game
final
m_pitLimiterStatus int
Pit limiter status - 0 = off, 1 = on
final
m_tractionControl int
Traction control - 0 = off, 1 = medium, 2 = full
final
m_tyresAgeLaps int
Age in laps of the current set of tyres
final
m_vehicleFiaFlags int
-1 = invalid/unknown, 0 = none, 1 = green 2 = blue, 3 = yellow, 4 = red
final
m_visualTyreCompound int
F1 visual (can be different from actual compound) 16 = soft, 17 = medium, 18 = hard, 7 = inter, 8 = wet F1 Classic – same as above F2 ‘19, 15 = wet, 19 – super soft, 20 = soft 21 = medium , 22 = hard Age in laps of the current set of tyres
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited