/** * @module net/packets/outgoing */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; /** * Sent to accept the current active trade. */ export declare class AcceptTradePacket implements Packet { type: PacketType; propagate: boolean; /** * A description of which items in the client's inventory are selected. * Items 0-3 are the hotbar items, and 4-12 are the 8 inventory slots. * * If a value is `true`, then the item is selected. */ clientOffer: boolean[]; /** * A description of which items in the trade partner's inventory are selected. * Items 0-3 are the hotbar items, and 4-12 are the 8 inventory slots. * * If a value is `true`, then the item is selected. */ partnerOffer: boolean[]; constructor(); write(writer: Writer): void; read(reader: Reader): void; } //# sourceMappingURL=accept-trade-packet.d.ts.map