Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TradeStartPacket

Received when a new active trade has been initiated.

Hierarchy

  • TradeStartPacket

Implements

Index

Constructors

constructor

Properties

clientItems

clientItems: TradeItem[]

A description of the player's inventory. Items 0-3 are the hotbar items, and 4-12 are the 8 inventory slots.

partnerItems

partnerItems: TradeItem[]

A description of the trade partner's inventory. Items 0-3 are the hotbar items, and 4-12 are the 8 inventory slots.

partnerName

partnerName: string

The trade partner's name.

propagate

propagate: boolean = true

type

type: PacketType = PacketType.TRADESTART

Methods

read

write

Generated using TypeDoc