Class/Object

net.psforever.packet.game

AvatarDeadStateMessage

Related Docs: object AvatarDeadStateMessage | package game

Permalink

final case class AvatarDeadStateMessage(state: DeadState.Value, timer_max: Long, timer: Long, pos: Vector3, faction: types.PlanetSideEmpire.Value, unk5: Boolean) extends PlanetSideGamePacket with Product with Serializable

Dispatched by the server to manipulate the client's management of the Player object owned by the user as his "avatar."

The cycle of a player is generally Alive to Dead and Dead to Release and Release to RespawnTimer to Alive. When deconstructing oneself, the user makes a jump between Alive and Release; and, he may make a further jump from Release to Alive depending on spawning choices. Being Alive is the most common state. (Despite what anyone says.) Being Dead is just a technical requirement to initialize the revive timer. The player should be sufficiently "dead" by having his health points decreased to zero. If the timer is reduced to zero, the player is sent back to their faction-appropriate sanctuary continent.

Release causes a "dead" player to have its character model converted into a backpack or a form of pastry. This cancels the revival timer - the player may no longer be revived - and brings the user to the deployment map. From the deployment map, the user may select a place where they may respawn a new character. The options available form this spawn are not only related to the faction affinity of the bases compared to the user's player(s) but also to the field faction as is provided in the packet. If the player is converted to a state of Release while being alive, the deployment map is still displayed. Their character model is not replaced by a backpack or pastry.

RespawnTimer is like Dead as it is just a formal distinction to cause the client to display a timer. The state indicates that the player is being resurrected at a previously-selected location in the state Alive.

state

avatar's mortal relationship with the world; the following timers are applicable during Death and RespawnTimer; faction is applicable mainly during Release

timer_max

total length of respawn countdown, in milliseconds

timer

initial length of the respawn timer, in milliseconds

pos

player's last position

faction

spawn points available for this faction on redeployment map

unk5

na

Source
AvatarDeadStateMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvatarDeadStateMessage
  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 AvatarDeadStateMessage(state: DeadState.Value, timer_max: Long, timer: Long, pos: Vector3, faction: types.PlanetSideEmpire.Value, unk5: Boolean)

    Permalink

    state

    avatar's mortal relationship with the world; the following timers are applicable during Death and RespawnTimer; faction is applicable mainly during Release

    timer_max

    total length of respawn countdown, in milliseconds

    timer

    initial length of the respawn timer, in milliseconds

    pos

    player's last position

    faction

    spawn points available for this faction on redeployment map

    unk5

    na

Type Members

  1. type Packet = AvatarDeadStateMessage

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. val faction: types.PlanetSideEmpire.Value

    Permalink

    spawn points available for this faction on redeployment map

  15. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
  23. val pos: Vector3

    Permalink

    player's last position

  24. val state: DeadState.Value

    Permalink

    avatar's mortal relationship with the world; the following timers are applicable during Death and RespawnTimer; faction is applicable mainly during Release

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

    Permalink
    Definition Classes
    AnyRef
  26. val timer: Long

    Permalink

    initial length of the respawn timer, in milliseconds

  27. val timer_max: Long

    Permalink

    total length of respawn countdown, in milliseconds

  28. val unk5: Boolean

    Permalink

    na

  29. final def wait(): Unit

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

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

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

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

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

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

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

Ungrouped