Lua API
On this page

Trade

Inherits from

Information related to a secure trade.

Fields:

Accepted boolean

Whether you accepted this trade

InitiatorId number

ID of person who initiated the trade

PartnerAccepted boolean

Whether the partner accepted this trade

PartnerId number

ID of other participant in the trade

Stamp number

Some kind of sequence

Status number

Some kind of status for the trade TODO

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string