Lua API
On this page

Inventory_PickupEvent_S2C

Inherits from

Sent when picking up an object

Fields:

ObjectId number

The object being picked up

ObjectInstanceSequence number

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

objectOositionSequence 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