Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AcceptTradePacket

Sent to accept the current active trade.

Hierarchy

  • AcceptTradePacket

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

clientOffer

clientOffer: 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.

partnerOffer

partnerOffer: 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.

propagate

propagate: boolean = true

type

type: PacketType = PacketType.ACCEPTTRADE

Methods

read

write

Generated using TypeDoc