Lua API
On this page

Item_ObjDescEvent_S2C

Inherits from

Sent whenever a character changes their clothes. It contains the entire description of what their wearing (and possibly their facial features as well). This message is only sent for changes, when the character is first created, the body of this message is included inside the creation message.

Fields:

ObjectDesc ObjDesc

Set of visual description information for the object

ObjectId number

The ID of character whose visual description is changing.

ObjectInstanceSequence number

The instance sequence value for the object (number of logins for players)

ObjectVisualDescSequence number

The position sequence value for the object

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