Item

constructor(amount: UByte, itemId: UInt, skinId: UInt? = null, firstUpgradeSlot: UInt? = null, secondUpgradeSlot: UInt? = null)(source)

Parameters

amount

the amount of items

itemId

the ID of the item. (Must be in unsigned 24bit range.)

skinId

the ID of the item's skin. (Must be in unsigned 24bit range.)

firstUpgradeSlot

the ID of the item's first upgrade slot's content. (Must be in unsigned 24bit range.)

secondUpgradeSlot

the ID of the item's second upgrade slot's content. (Must be in unsigned 24bit range.)