Lua API
On this page

Inventory_GetAndWieldItem_C2S

Inherits from

Gets and weilds an item.

Fields:

ObjectId number

The item being equipped

Slot EquipMask

The position in the container where the item is being placed

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