Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerPlayerShootPacket

Received when another player shoots.

Hierarchy

  • ServerPlayerShootPacket

Implements

Index

Properties

angle

angle: number

The angle at which the projectile was fired.

bulletId

bulletId: number

The id of the bullet that was produced.

containerType

containerType: number

The item id of the weapon used to fire the projectile.

damage

damage: number

The damage which will be dealt by the projectile.

ownerId

ownerId: number

The object id of the player who fired the projectile.

propagate

propagate: boolean = true

startingPos

startingPos: WorldPosData

The starting position of the projectile.

type

type: PacketType = PacketType.SERVERPLAYERSHOOT

Methods

read

write

Generated using TypeDoc