Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NewTickPacket

Received to notify the player of a new game tick.

Hierarchy

  • NewTickPacket

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

propagate

propagate: boolean = true

statuses

statuses: ObjectStatusData[]

An array of statuses for objects which are currently visible to the player.

"visible" objects can include objects which would normally be off screen, such as players, which are always at least visible on the minimap.

tickId

tickId: number

The id of the tick.

tickTime

tickTime: number

The time between the last tick and this tick, in milliseconds.

This is not always accurate, so it is better to calculate it manually if millisecond-level accuracy is required.

type

type: PacketType = PacketType.NEWTICK

Methods

read

write

Generated using TypeDoc