final case class VehicleStateMessage(vehicle_guid: PlanetSideGUID, unk1: Int, pos: Vector3, ang: Vector3, vel: Option[Vector3], flying: Option[Int], unk3: Int, unk4: Int, wheel_direction: Int, is_decelerating: Boolean, is_cloaked: Boolean) extends PlanetSideGamePacket with Product with Serializable
Dispatched to report and update the operational condition of a given vehicle.
- vehicle_guid
the vehicle
- unk1
na
- pos
the xyz-coordinate location in the world
- ang
the orientation of the vehicle
- vel
optional movement data
- flying
flight information, valid only for a vehicle that can fly when in flight;
Some(7)
, when in a flying state (vertical thrust unnecessary to unlock movement);Some(10) - Some(15)
, used by the HART during landing and take-off, in repeating order: 13, 14, 10, 11, 12, 15;None
, when landed and for all vehicles that do not fly- unk3
na
- unk4
na; 0 by default; for mosquito, can become various numbers during collision damage
- wheel_direction
for ground vehicles, whether and how much the wheels are being turned; 15 for straight; 0 for hard right; 30 for hard left; values in between are possible; vehicles that hover also influence this field as expected
- is_decelerating
If the vehicle is decelerating (in any direction), i.e. if the brake lights are on.
- is_cloaked
vehicle is cloaked by virtue of being a Wraith or a Phantasm
- Source
- VehicleStateMessage.scala
- See also
PlacementData
- Alphabetic
- By Inheritance
- VehicleStateMessage
- Product
- Equals
- PlanetSideGamePacket
- PlanetSidePacket
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VehicleStateMessage(vehicle_guid: PlanetSideGUID, unk1: Int, pos: Vector3, ang: Vector3, vel: Option[Vector3], flying: Option[Int], unk3: Int, unk4: Int, wheel_direction: Int, is_decelerating: Boolean, is_cloaked: Boolean)
- vehicle_guid
the vehicle
- unk1
na
- pos
the xyz-coordinate location in the world
- ang
the orientation of the vehicle
- vel
optional movement data
- flying
flight information, valid only for a vehicle that can fly when in flight;
Some(7)
, when in a flying state (vertical thrust unnecessary to unlock movement);Some(10) - Some(15)
, used by the HART during landing and take-off, in repeating order: 13, 14, 10, 11, 12, 15;None
, when landed and for all vehicles that do not fly- unk3
na
- unk4
na; 0 by default; for mosquito, can become various numbers during collision damage
- wheel_direction
for ground vehicles, whether and how much the wheels are being turned; 15 for straight; 0 for hard right; 30 for hard left; values in between are possible; vehicles that hover also influence this field as expected
- is_decelerating
If the vehicle is decelerating (in any direction), i.e. if the brake lights are on.
- is_cloaked
vehicle is cloaked by virtue of being a Wraith or a Phantasm
Type Members
- type Packet = VehicleStateMessage
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ang: Vector3
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encode: Attempt[BitVector]
- Definition Classes
- VehicleStateMessage → PlanetSidePacket
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flying: Option[Int]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val is_cloaked: Boolean
- val is_decelerating: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def opcode: GamePacketOpcode.Value
- Definition Classes
- VehicleStateMessage → PlanetSideGamePacket → PlanetSidePacket
- val pos: Vector3
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val unk1: Int
- val unk3: Int
- val unk4: Int
- val vehicle_guid: PlanetSideGUID
- val vel: Option[Vector3]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val wheel_direction: Int