Lua API
On this page

Item_UpdateStackSize_S2C

Inherits from

For stackable items, this changes the number of items in the stack.

Fields:

Amount number

New number of items in the stack.

NewValue number

New value for the item.

ObjectId number

Item getting its stack adjusted.

Sequence number

Sequence number for this message

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