InventoryItem
Represents an item in the inventory.
Properties
Section titled “Properties”Data about this item
Type: ItemData
category Getter
Section titled “category ”The category of the item.
Type: string
charItemId Getter
Section titled “charItemId ”The character ID of this item.
Type: number
description Getter
Section titled “description ”The description of the item.
Type: string
enhancementLevel Getter
Section titled “enhancementLevel ”The enhancement level of the item.
Type: number
enhancementPatternId Getter
Section titled “enhancementPatternId ”The enhancement pattern ID of the item.
Type: number
fileLink Getter
Section titled “fileLink ”The link to the source file of the item
Type: string
fileName Getter
Section titled “fileName ”The name of the source file of the item.
Type: string
id Getter
Section titled “id ”The ID of the item.
Type: number
itemGroup Getter
Section titled “itemGroup ”The group of the item.
Type: string
level Getter
Section titled “level ”The level of the item.
Type: number
maxStack Getter
Section titled “maxStack ”The maximum stack size this item can exist in.
Type: number
meta Getter
Section titled “meta ”The meta value of the item.
Type: Record<string, number> | null
name Getter
Section titled “name ”The name of the item.
Type: string
quantity Getter
Section titled “quantity ”The quantity of the item in this stack.
Type: number
Methods
Section titled “Methods”Whether the item is AC tagged.
Returns: boolean
isArmor
Section titled “isArmor”Whether the item is type Armor.
Returns: boolean
isCape
Section titled “isCape”Whether the item is type Cape.
Returns: boolean
isEquipped
Section titled “isEquipped”Whether the item is equipped.
Returns: boolean
isHelm
Section titled “isHelm”Whether the item is type Helm.
Returns: boolean
isMaxed
Section titled “isMaxed”Whether the item is at its maximum stack size.
Returns: boolean
Whether the item is type Pet.
Returns: boolean
isTemp
Section titled “isTemp”Whether the item belongs to the temp inventory.
Returns: boolean
isUpgrade
Section titled “isUpgrade”Whether the item is member-only.
Returns: boolean
isWeapon
Section titled “isWeapon”Whether the item is type Weapon.
Returns: boolean
isWearing
Section titled “isWearing”Whether the item is currently being worn.
Returns: boolean