Skip to main content

trade.opened

Generated from spec/protocol.yaml. Do not edit by hand.

Overview

  • ID: 2505
  • Header: TRADE_OPEN
  • Direction: Server to Client (s2c)
  • Realm: Economy & Trading
  • Phase: session
  • Since: nitro-1.6.6
  • Summary: Notify that a trade session has been opened

Payload fields

FieldTypeRequiredDescription
userIdint32requiredRoom entity ID of the first trader.
userCanTradeint32requiredFirst user trade capability flag (1=can trade).
otherUserIdint32requiredRoom entity ID of the second trader.
otherUserCanTradeint32requiredSecond user trade capability flag.

Behavior

Sender

Sent to both participants when a trade is successfully initiated.

Receiver

The client opens the trade window showing both inventories.

Notes

  • No additional notes