Lua API
On this page

Inventory_GiveObjectRequest_C2S

Inherits from

Give an item to someone.

Fields:

Amount number

The amount from a stack being given

ObjectID number

The item being given

TargetId number

The recipient of the item

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