Lua API
On this page

Inventory_UseEvent_C2S

Inherits from

Attempt to use an item.

Fields:

ObjectId number

The item being used

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