Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OtherHitPacket

Sent when an object or other player has been hit by an enemy projectile.

Hierarchy

  • OtherHitPacket

Implements

Index

Properties

bulletId

bulletId: number

The id of the bullet which hit the object.

objectId

objectId: number

The object id of player who fired the projectile which hit the object.

propagate

propagate: boolean = true

targetId

targetId: number

The object id of the object which was hit.

time

time: number

The current client time.

type

type: PacketType = PacketType.OTHERHIT

Methods

read

write

Generated using TypeDoc