/** * @module net/packets/incoming */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; /** * Received to instruct the client to connect to a new host. */ export declare class ReconnectPacket implements Packet { type: PacketType; propagate: boolean; /** * The name of the new host. */ name: string; /** * The address of the new host. */ host: string; /** * > Unknown. */ stats: string; /** * The port of the new host. */ port: number; /** * The `gameId` to send in the next `HelloPacket`. */ gameId: number; /** * The `keyTime` to send in the next `HelloPacket`. */ keyTime: number; /** * The `key` to send in the next `HelloPacket`. */ key: number[]; /** * Whether or not the new host is from the arena. */ isFromArena: boolean; read(reader: Reader): void; write(writer: Writer): void; } //# sourceMappingURL=reconnect-packet.d.ts.map