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 = 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 mount- 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 mount 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 toNormal
- Source
- VehicleData.scala
- Alphabetic
- By Inheritance
- VehicleData
- Serializable
- Product
- Equals
- ConstructorData
- StreamBitSize
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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 = VehicleFormat.Normal)
- 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 mount- 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 mount 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 toNormal
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bitsize: Long
Performs a "sizeof()" analysis of the given object.
The calculation reflects thescodec Codec
definition rather than the explicit parameter fields.Performs a "sizeof()" analysis of the given object.
The calculation reflects thescodec Codec
definition rather than the explicit parameter fields. For example, a traditionalInt
is normally a 32-bit number, often rendered as a32u
number. When parsed with auintL(7)
, it's length will be considered 7 bits (7u
). (Note: being permanently signed, anscodec
value of32u
or longer must fit into aLong
type.)- returns
the number of bits necessary to measure an object of this class; defaults to
0L
- Definition Classes
- VehicleData → StreamBitSize
- val cloak: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val data: CommonFieldData
- val driveState: types.DriveState.Value
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val health: Int
- val inventory: Option[InventoryData]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val no_mount_points: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pos: PlacementData
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val unk3: Boolean
- val unk4: Boolean
- val unk5: Boolean
- val unk6: Boolean
- val vehicle_format_data: Option[SpecificVehicleData]
- val vehicle_type: VehicleFormat
- 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()