Class/Object

net.psforever.packet.game

WeaponFireMessage

Related Docs: object WeaponFireMessage | package game

Permalink

final case class WeaponFireMessage(seq_time: Int, weapon_guid: PlanetSideGUID, projectile_guid: PlanetSideGUID, shot_origin: Vector3, unk1: Int, unk2: Int, unk3: Int, unk4: Int, unk5: Int, unk6: Int, unk7: Option[Option[Vector3]]) extends PlanetSideGamePacket with Product with Serializable

WeaponFireMessage seems to be sent each time a weapon actually shoots.

seq_time

See PlayerStateMessageUpstream for explanation of seq_time.

unk1

Always zero from testing so far

unk2

Seems semi-random

unk3

Seems semi-random

unk4

Maximum travel distance in meters - seems to be zero for decimator rockets

unk5

Possibly always 255 from testing

unk6

0 for bullet 1 for possibly delayed explosion (thumper alt fire) or thresher/leviathan flux cannon 2 for vs starfire (lockon type?) 3 for thrown (e.g. grenades)

unk7

Seems to be thrown weapon velocity/direction

Source
WeaponFireMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WeaponFireMessage
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. Serializable
  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 WeaponFireMessage(seq_time: Int, weapon_guid: PlanetSideGUID, projectile_guid: PlanetSideGUID, shot_origin: Vector3, unk1: Int, unk2: Int, unk3: Int, unk4: Int, unk5: Int, unk6: Int, unk7: Option[Option[Vector3]])

    Permalink

    seq_time

    See PlayerStateMessageUpstream for explanation of seq_time.

    unk1

    Always zero from testing so far

    unk2

    Seems semi-random

    unk3

    Seems semi-random

    unk4

    Maximum travel distance in meters - seems to be zero for decimator rockets

    unk5

    Possibly always 255 from testing

    unk6

    0 for bullet 1 for possibly delayed explosion (thumper alt fire) or thresher/leviathan flux cannon 2 for vs starfire (lockon type?) 3 for thrown (e.g. grenades)

    unk7

    Seems to be thrown weapon velocity/direction

Type Members

  1. type Packet = WeaponFireMessage

    Permalink

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 WeaponFireMessage to any2stringadd[WeaponFireMessage] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (WeaponFireMessage, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from WeaponFireMessage to ArrowAssoc[WeaponFireMessage] 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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def encode: Attempt[BitVector]

    Permalink
    Definition Classes
    WeaponFireMessagePlanetSidePacket
  9. def ensuring(cond: (WeaponFireMessage) ⇒ Boolean, msg: ⇒ Any): WeaponFireMessage

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. def opcode: GamePacketOpcode.Value

    Permalink
  22. val projectile_guid: PlanetSideGUID

    Permalink
  23. val seq_time: Int

    Permalink

    See PlayerStateMessageUpstream for explanation of seq_time.

  24. val shot_origin: Vector3

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

    Permalink
    Definition Classes
    AnyRef
  26. val unk1: Int

    Permalink

    Always zero from testing so far

  27. val unk2: Int

    Permalink

    Seems semi-random

  28. val unk3: Int

    Permalink

    Seems semi-random

  29. val unk4: Int

    Permalink

    Maximum travel distance in meters - seems to be zero for decimator rockets

  30. val unk5: Int

    Permalink

    Possibly always 255 from testing

  31. val unk6: Int

    Permalink

    0 for bullet 1 for possibly delayed explosion (thumper alt fire) or thresher/leviathan flux cannon 2 for vs starfire (lockon type?) 3 for thrown (e.g.

    0 for bullet 1 for possibly delayed explosion (thumper alt fire) or thresher/leviathan flux cannon 2 for vs starfire (lockon type?) 3 for thrown (e.g. grenades)

  32. val unk7: Option[Option[Vector3]]

    Permalink

    Seems to be thrown weapon velocity/direction

  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. val weapon_guid: PlanetSideGUID

    Permalink
  37. def [B](y: B): (WeaponFireMessage, B)

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

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped