Class/Object

net.psforever.packet.game

TargetingInfoMessage

Related Docs: object TargetingInfoMessage | package game

Permalink

final case class TargetingInfoMessage(target_list: List[TargetInfo]) extends PlanetSideGamePacket with Product with Serializable

Dispatched by the server to update status information regarding the listed targets.

This packet is often in response to a client-sent TargetingImplantRequest packet, when related to the implant's operation. It can also arrive independent of a formal request and will operate even without the implant. The enumerated targets report their status as two "progress bars" that can be empty (0f) or filled (1f). When this packet is received, the client will actually update the current fields associated with those values for the target. For example, for 0x17 player characters, the values are assigned to their health points and armor points respectively. Allied player characters will have their "progress bar" visuals updated immediately; the implant is still necessary to view enemy target progress bars, if they will be visible.

This function can be used to update fields properly. The value between 0 and 255 (0f to 1f) can be inserted directly into ObjectCreateMessage creations as it matches the scale. The target will be killed or destroyed as expected when health is set to zero.

target_list

a list of targets

Source
TargetingInfoMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TargetingInfoMessage
  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 TargetingInfoMessage(target_list: List[TargetInfo])

    Permalink

    target_list

    a list of targets

Type Members

  1. type Packet = TargetingInfoMessage

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

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

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from TargetingInfoMessage to Ensuring[TargetingInfoMessage] 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 TargetingInfoMessage to StringFormat[TargetingInfoMessage] 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. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. val target_list: List[TargetInfo]

    Permalink

    a list of targets

  24. final def wait(): Unit

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

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

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

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

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

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

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

Ungrouped