Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeathPacket

Received when a player has died.

Hierarchy

  • DeathPacket

Implements

Index

Properties

accountId

accountId: string

The account id of the player who died.

charId

charId: number

The character id of the player who died.

isZombie

isZombie: boolean

Whether or not a zombie was spawned.

This is a derived property, and is the result of zombieId !== -1.

killedBy

killedBy: string

The cause of death.

propagate

propagate: boolean = true

type

type: PacketType = PacketType.DEATH

zombieId

zombieId: number

The object id of the zombie, if the player died wearing a cursed amulet.

zombieType

zombieType: number

The type of zombie, if the player died wearing a cursed amulet.

Methods

read

write

Generated using TypeDoc