Packages

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

Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VehicleStateMessage
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. type Packet = VehicleStateMessage

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ang: Vector3
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def encode: Attempt[BitVector]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. val flying: Option[Int]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val is_cloaked: Boolean
  14. val is_decelerating: Boolean
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def opcode: GamePacketOpcode.Value
  19. val pos: Vector3
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. val unk1: Int
  23. val unk3: Int
  24. val unk4: Int
  25. val vehicle_guid: PlanetSideGUID
  26. val vel: Option[Vector3]
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. val wheel_direction: Int

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped