Packages

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, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvatarDeadStateMessage
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AvatarDeadStateMessage(state: DeadState.Value, timer_max: Long, timer: Long, pos: Vector3, faction: types.PlanetSideEmpire.Value, unk5: Boolean)

    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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def encode: Attempt[BitVector]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val faction: types.PlanetSideEmpire.Value
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def opcode: GamePacketOpcode.Value
  16. val pos: Vector3
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val state: DeadState.Value
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. val timer: Long
  21. val timer_max: Long
  22. val unk5: Boolean
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped