/** * @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 { SlotObjectData } from '../../data/slot-object-data'; /** * Sent to swap the items of two slots. */ export declare class InvSwapPacket implements Packet { type: PacketType; propagate: boolean; /** * The current client time. */ time: number; /** * The current client position. */ position: WorldPosData; /** * The slot to swap from. */ slotObject1: SlotObjectData; /** * The slot to swap to. */ slotObject2: SlotObjectData; write(writer: Writer): void; read(reader: Reader): void; } //# sourceMappingURL=inv-swap-packet.d.ts.map