Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlayerHitPacket

Sent when the player is hit.

Hierarchy

  • PlayerHitPacket

Implements

Index

Properties

Methods

Properties

bulletId

bulletId: number

The id of the bullet which hit the player.

objectId

objectId: number

The object id of the enemy that hit the player.

propagate

propagate: boolean = true

type

type: PacketType = PacketType.PLAYERHIT

Methods

read

write

Generated using TypeDoc