/** * @module net/packets/outgoing */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; import { WorldPosData } from '../../data/world-pos-data'; import { MoveRecord } from '../../data/move-record'; /** * Sent to acknowledge a `NewTickPacket`, and to notify the * server of the client's current position and time. */ export declare class MovePacket implements Packet { type: PacketType; propagate: boolean; /** * The tick id of the `NewTickPacket` which this is acknowledging. */ tickId: number; /** * The current client time. */ time: number; /** * The current client position. */ newPosition: WorldPosData; /** * The move records of the client. * * This property can be an empty array. */ records: MoveRecord[]; constructor(); write(writer: Writer): void; read(reader: Reader): void; } //# sourceMappingURL=move-packet.d.ts.map