Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MovePacket

Sent to acknowledge a NewTickPacket, and to notify the server of the client's current position and time.

Hierarchy

  • MovePacket

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

newPosition

newPosition: WorldPosData

The current client position.

propagate

propagate: boolean = true

records

records: MoveRecord[]

The move records of the client.

This property can be an empty array.

tickId

tickId: number

The tick id of the NewTickPacket which this is acknowledging.

time

time: number

The current client time.

type

type: PacketType = PacketType.MOVE

Methods

read

write

Generated using TypeDoc