Class/Object

net.psforever.packet.game.objectcreate

VehicleData

Related Docs: object VehicleData | package objectcreate

Permalink

final case class VehicleData(pos: PlacementData, data: CommonFieldData, unk3: Boolean, health: Int, unk4: Boolean, no_mount_points: Boolean, driveState: types.DriveState.Value, unk5: Boolean, unk6: Boolean, cloak: Boolean, vehicle_format_data: Option[SpecificVehicleData], inventory: Option[InventoryData] = None)(vehicle_type: VehicleFormat.Value = VehicleFormat.Normal) extends ConstructorData with Product with Serializable

A representation of a generic vehicle.

pos

where the vehicle is and how it is oriented in the game world

data

common vehicle field data:
-bops - this vehicle belongs to the Black Ops, regardless of the faction field; activates the green camo and adjusts permissions
-destroyed - this vehicle has ben destroyed; health should be less than 3/255, or 0%
-jammered - vehicles will not be jammered by setting this field
-player_guid the vehicle's (official) owner; a living player in the game world on the same continent as the vehicle who may mount the driver seat

unk3

na

health

the amount of health the vehicle has, as a percentage of a filled bar (255)

unk4

na

no_mount_points

do not display entry points for the seats

driveState

a representation for the current mobility state; various vehicles also use this field to indicate "deployment," e.g., the advanced mobile spawn

unk5

na

unk6

na

cloak

if a vehicle (that can cloak) is cloaked

vehicle_format_data

extra information necessary to implement special-type vehicles; see vehicle_type

inventory

the seats, mounted weapons, and utilities (such as terminals) that are currently included; will also include trunk contents; the driver is the only valid seat entry (more will cause the access permissions to act up)

vehicle_type

a modifier for parsing the vehicle data format differently; see vehicle_format_data; defaults to Normal

Source
VehicleData.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, ConstructorData, StreamBitSize, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VehicleData
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ConstructorData
  7. StreamBitSize
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VehicleData(pos: PlacementData, data: CommonFieldData, unk3: Boolean, health: Int, unk4: Boolean, no_mount_points: Boolean, driveState: types.DriveState.Value, unk5: Boolean, unk6: Boolean, cloak: Boolean, vehicle_format_data: Option[SpecificVehicleData], inventory: Option[InventoryData] = None)(vehicle_type: VehicleFormat.Value = VehicleFormat.Normal)

    Permalink

    pos

    where the vehicle is and how it is oriented in the game world

    data

    common vehicle field data:
    -bops - this vehicle belongs to the Black Ops, regardless of the faction field; activates the green camo and adjusts permissions
    -destroyed - this vehicle has ben destroyed; health should be less than 3/255, or 0%
    -jammered - vehicles will not be jammered by setting this field
    -player_guid the vehicle's (official) owner; a living player in the game world on the same continent as the vehicle who may mount the driver seat

    unk3

    na

    health

    the amount of health the vehicle has, as a percentage of a filled bar (255)

    unk4

    na

    no_mount_points

    do not display entry points for the seats

    driveState

    a representation for the current mobility state; various vehicles also use this field to indicate "deployment," e.g., the advanced mobile spawn

    unk5

    na

    unk6

    na

    cloak

    if a vehicle (that can cloak) is cloaked

    vehicle_format_data

    extra information necessary to implement special-type vehicles; see vehicle_type

    inventory

    the seats, mounted weapons, and utilities (such as terminals) that are currently included; will also include trunk contents; the driver is the only valid seat entry (more will cause the access permissions to act up)

    vehicle_type

    a modifier for parsing the vehicle data format differently; see vehicle_format_data; defaults to Normal

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to any2stringadd[VehicleData] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (VehicleData, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to ArrowAssoc[VehicleData] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def bitsize: Long

    Permalink

    Performs a "sizeof()" analysis of the given object.

    The calculation reflects the scodec Codec definition rather than the explicit parameter fields.

    Performs a "sizeof()" analysis of the given object.

    The calculation reflects the scodec Codec definition rather than the explicit parameter fields. For example, a traditional Int is normally a 32-bit number, often rendered as a 32u number. When parsed with a uintL(7), it's length will be considered 7 bits (7u). (Note: being permanently signed, an scodec value of 32u or longer must fit into a Long type.)

    returns

    the number of bits necessary to measure an object of this class; defaults to 0L

    Definition Classes
    VehicleDataStreamBitSize
  8. val cloak: Boolean

    Permalink

    if a vehicle (that can cloak) is cloaked

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val data: CommonFieldData

    Permalink

    common vehicle field data:
    -bops - this vehicle belongs to the Black Ops, regardless of the faction field; activates the green camo and adjusts permissions
    -destroyed - this vehicle has ben destroyed; health should be less than 3/255, or 0%
    -jammered - vehicles will not be jammered by setting this field
    -player_guid the vehicle's (official) owner; a living player in the game world on the same continent as the vehicle who may mount the driver seat

  11. val driveState: types.DriveState.Value

    Permalink

    a representation for the current mobility state; various vehicles also use this field to indicate "deployment," e.g., the advanced mobile spawn

  12. def ensuring(cond: (VehicleData) ⇒ Boolean, msg: ⇒ Any): VehicleData

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to Ensuring[VehicleData] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (VehicleData) ⇒ Boolean): VehicleData

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to Ensuring[VehicleData] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): VehicleData

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to Ensuring[VehicleData] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): VehicleData

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to Ensuring[VehicleData] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to StringFormat[VehicleData] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. val health: Int

    Permalink

    the amount of health the vehicle has, as a percentage of a filled bar (255)

  21. val inventory: Option[InventoryData]

    Permalink

    the seats, mounted weapons, and utilities (such as terminals) that are currently included; will also include trunk contents; the driver is the only valid seat entry (more will cause the access permissions to act up)

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. val no_mount_points: Boolean

    Permalink

    do not display entry points for the seats

  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. val pos: PlacementData

    Permalink

    where the vehicle is and how it is oriented in the game world

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val unk3: Boolean

    Permalink

    na

  30. val unk4: Boolean

    Permalink

    na

  31. val unk5: Boolean

    Permalink

    na

  32. val unk6: Boolean

    Permalink

    na

  33. val vehicle_format_data: Option[SpecificVehicleData]

    Permalink

    extra information necessary to implement special-type vehicles; see vehicle_type

  34. val vehicle_type: VehicleFormat.Value

    Permalink

    a modifier for parsing the vehicle data format differently; see vehicle_format_data; defaults to Normal

  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (VehicleData, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from VehicleData to ArrowAssoc[VehicleData] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ConstructorData

Inherited from StreamBitSize

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from VehicleData to any2stringadd[VehicleData]

Inherited by implicit conversion StringFormat from VehicleData to StringFormat[VehicleData]

Inherited by implicit conversion Ensuring from VehicleData to Ensuring[VehicleData]

Inherited by implicit conversion ArrowAssoc from VehicleData to ArrowAssoc[VehicleData]

Ungrouped