Lua API
On this page

ObjectFailedToAddToTradeEventArgs

eventargsbase
Inherits from

Info

For more information about events, see the Using Events section of the scripting docs.

This event args class is used by the following events:

Fields:

Empty EventArgs

staticread only

Provides a value to use with events that do not have event data.

ObjectId number

read only

The id of the object you attempted to add to the trade window

Reason WeenieError

read only

The reason the item could not be added to the trade window

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