final case class WeaponFireMessage(seq_time: Int, weapon_guid: PlanetSideGUID, projectile_guid: PlanetSideGUID, shot_origin: Vector3, unk1: Int, spread_a: Int, spread_b: Int, max_distance: Int, unk5: Int, projectile_type: ProjectileCharacteristics, thrown_projectile_vel: Option[Option[Vector3]]) extends PlanetSideGamePacket with Product with Serializable
Dispatched form the client each time a weapon discharges.
- seq_time
see PlayerStateMessageUpstream for explanation of seq_time
- weapon_guid
the weapon of discharge; when dispatched to a client, an unreferenced entity results in the projectile not being rendered
- projectile_guid
the (client-local) projectile unique identifier; when dispatched to a client, can be unreferenced (or blanked)
- shot_origin
the position where the projectile is first spawned
- unk1
na; always 0?
- spread_a
related to the spread of the discharge; works with
spread_b
field in unknown way; the unmodified value is high (65535) when accurate, low (0) when not- spread_b
related to the spread of the discharge; works with
spread_a
field in unknown way- max_distance
maximum travel distance (m), with exceptions, e.g., decimator rockets are always 0
- unk5
na; always 255?
- projectile_type
the sort of projectile produced
- thrown_projectile_vel
if a thrown projectile, its velocity
- Source
- WeaponFireMessage.scala
- Alphabetic
- By Inheritance
- WeaponFireMessage
- Product
- Equals
- PlanetSideGamePacket
- PlanetSidePacket
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WeaponFireMessage(seq_time: Int, weapon_guid: PlanetSideGUID, projectile_guid: PlanetSideGUID, shot_origin: Vector3, unk1: Int, spread_a: Int, spread_b: Int, max_distance: Int, unk5: Int, projectile_type: ProjectileCharacteristics, thrown_projectile_vel: Option[Option[Vector3]])
- seq_time
see PlayerStateMessageUpstream for explanation of seq_time
- weapon_guid
the weapon of discharge; when dispatched to a client, an unreferenced entity results in the projectile not being rendered
- projectile_guid
the (client-local) projectile unique identifier; when dispatched to a client, can be unreferenced (or blanked)
- shot_origin
the position where the projectile is first spawned
- unk1
na; always 0?
- spread_a
related to the spread of the discharge; works with
spread_b
field in unknown way; the unmodified value is high (65535) when accurate, low (0) when not- spread_b
related to the spread of the discharge; works with
spread_a
field in unknown way- max_distance
maximum travel distance (m), with exceptions, e.g., decimator rockets are always 0
- unk5
na; always 255?
- projectile_type
the sort of projectile produced
- thrown_projectile_vel
if a thrown projectile, its velocity
Type Members
- type Packet = WeaponFireMessage
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encode: Attempt[BitVector]
- Definition Classes
- WeaponFireMessage → 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val max_distance: Int
- 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
- WeaponFireMessage → PlanetSideGamePacket → PlanetSidePacket
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val projectile_guid: PlanetSideGUID
- val projectile_type: ProjectileCharacteristics
- val seq_time: Int
- val shot_origin: Vector3
- val spread_a: Int
- val spread_b: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thrown_projectile_vel: Option[Option[Vector3]]
- val unk1: Int
- val unk5: Int
- 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 weapon_guid: PlanetSideGUID