/** * @module net/packets/incoming */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; /** * Received in response to a `ChooseNamePacket`. */ export declare class NameResultPacket implements Packet { type: PacketType; propagate: boolean; /** * Whether or not the name change was successful. */ success: boolean; /** * The error which occurred, if the result was not successful. */ errorText: string; read(reader: Reader): void; write(writer: Writer): void; } //# sourceMappingURL=name-result-packet.d.ts.map