Class/Object

net.psforever.packet.game

DestroyDisplayMessage

Related Docs: object DestroyDisplayMessage | package game

Permalink

final case class DestroyDisplayMessage(killer: String, killer_charId: Long, killer_empire: types.PlanetSideEmpire.Value, killer_in_vehicle: Boolean, unk: Int, method: Int, victim: String, victim_charId: Long, victim_empire: types.PlanetSideEmpire.Value, victim_in_vehicle: Boolean) extends PlanetSideGamePacket with Product with Serializable

Display a message in the event window that informs of a player death.

The message is composed of three parts:
1) killer information
2) method information
3) victim information
In the case of a player kill, the player's name will be attributed directly. In the case of an absentee kill, a description of the method of death will be attributed. In the case of a suicide, the player attributed is the player who was killed (message format displays only the victim).

The four bytes that follow each name seems to be important to the identification of the associated player. The same value will be seen in every DestroyDisplayMessage that includes that player, with respect to whether they are listed as the "killer" or as the "victim." This holds true for every entry within the same login session, at least. Blanking either of these values out does not change anything about the format of the event message. If the two ids match, the packet will interpreted as the "suicide" format, even if the names do not match. In the case of absentee kills where there is no killer listed, this field is zero'd.

When marked as being in a vehicle or a turret, the player's name will be enclosed within square brackets. The length of the player's name found at the start of the character string does not reflect whether or not there will be square brackets (fortunately). The color of the resulting icon is borrowed from the attributed killer's faction affiliation if it can be determined and the type of icon is the same as an object id. An unidentified method or a missing icon defaults to a skull and crossbones.

killer

the name of the player who did the killing

killer_charId

same as CharacterInfoMessage

killer_empire

the empire affiliation of the killer

killer_in_vehicle

true, if the killer was in a vehicle at the time of the kill; false, otherwise

unk

na; but does not like being set to 0

method

modifies the icon in the message, related to the way the victim was killed

victim

the name of the player who was killed

victim_charId

same as CharacterInfoMessage

victim_empire

the empire affiliation of the victim

victim_in_vehicle

true, if the victim was in a vehicle when he was killed; false, otherwise

Source
DestroyDisplayMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DestroyDisplayMessage
  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 DestroyDisplayMessage(killer: String, killer_charId: Long, killer_empire: types.PlanetSideEmpire.Value, killer_in_vehicle: Boolean, unk: Int, method: Int, victim: String, victim_charId: Long, victim_empire: types.PlanetSideEmpire.Value, victim_in_vehicle: Boolean)

    Permalink

    killer

    the name of the player who did the killing

    killer_charId

    same as CharacterInfoMessage

    killer_empire

    the empire affiliation of the killer

    killer_in_vehicle

    true, if the killer was in a vehicle at the time of the kill; false, otherwise

    unk

    na; but does not like being set to 0

    method

    modifies the icon in the message, related to the way the victim was killed

    victim

    the name of the player who was killed

    victim_charId

    same as CharacterInfoMessage

    victim_empire

    the empire affiliation of the victim

    victim_in_vehicle

    true, if the victim was in a vehicle when he was killed; false, otherwise

Type Members

  1. type Packet = DestroyDisplayMessage

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from DestroyDisplayMessage to ArrowAssoc[DestroyDisplayMessage] 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
  9. def ensuring(cond: (DestroyDisplayMessage) ⇒ Boolean, msg: ⇒ Any): DestroyDisplayMessage

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from DestroyDisplayMessage to Ensuring[DestroyDisplayMessage] 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 DestroyDisplayMessage to StringFormat[DestroyDisplayMessage] 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. val killer: String

    Permalink

    the name of the player who did the killing

  19. val killer_charId: Long

    Permalink

    same as CharacterInfoMessage

  20. val killer_empire: types.PlanetSideEmpire.Value

    Permalink

    the empire affiliation of the killer

  21. val killer_in_vehicle: Boolean

    Permalink

    true, if the killer was in a vehicle at the time of the kill; false, otherwise

  22. val method: Int

    Permalink

    modifies the icon in the message, related to the way the victim was killed

  23. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. val unk: Int

    Permalink

    na; but does not like being set to 0

  29. val victim: String

    Permalink

    the name of the player who was killed

  30. val victim_charId: Long

    Permalink

    same as CharacterInfoMessage

  31. val victim_empire: types.PlanetSideEmpire.Value

    Permalink

    the empire affiliation of the victim

  32. val victim_in_vehicle: Boolean

    Permalink

    true, if the victim was in a vehicle when he was killed; false, otherwise

  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. def [B](y: B): (DestroyDisplayMessage, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DestroyDisplayMessage to ArrowAssoc[DestroyDisplayMessage] 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 DestroyDisplayMessage to any2stringadd[DestroyDisplayMessage]

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

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

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

Ungrouped