Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TradeChangedPacket

Received when the active trade is changed.

Hierarchy

  • TradeChangedPacket

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

offer

offer: 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.TRADECHANGED

Methods

read

write

Generated using TypeDoc