Item
data class Item(val amount: UByte, val itemId: UInt, val skinId: UInt? = null, val firstUpgradeSlot: UInt? = null, val secondUpgradeSlot: UInt? = null) : ChatLink(source)
A link to a stack of items.
Only the shape of the parameters (e.g. list sizes) is validated and not the actual data (e.g. ID validity).
Since
0.1.0
Parameters
amount
the amount of items
item Id
the ID of the item. (Must be in unsigned 24bit range.)
skin Id
the ID of the item's skin. (Must be in unsigned 24bit range.)
first Upgrade Slot
the ID of the item's first upgrade slot's content. (Must be in unsigned 24bit range.)
second Upgrade Slot
the ID of the item's second upgrade slot's content. (Must be in unsigned 24bit range.)
Throws
if any parameter value does not match its expected shape