Item
interface Item
Defined in item.ts:138
Properties
armor
readonly armor: boolean
banked
readonly banked: boolean
cape
readonly cape: boolean
category
readonly category: string
charItemId
readonly charItemId: number | undefined
classItem
readonly classItem: boolean
classRank
Rank derived from class points, or null for a non-class item.
readonly classRank: number | null
coins
readonly coins: boolean
context
readonly context: ItemContext
cost
readonly cost: number
description
readonly description: string
enhancement
readonly enhancement: Enhancement | undefined
equipmentSlot
readonly equipmentSlot: string
equipped
readonly equipped: boolean
file
readonly file: string
helm
readonly helm: boolean
houseItem
readonly houseItem: boolean
itemId
readonly itemId: number
link
readonly link: string
maxStack
readonly maxStack: number | undefined
memberOnly
readonly memberOnly: boolean
meta
readonly meta: string
name
readonly name: string
pet
readonly pet: boolean
quantity
readonly quantity: number
requirements
Items consumed per merge for this shop offer.
readonly requirements: readonly ItemRequirement[]
shopItemId
readonly shopItemId: number | undefined
temporaryItem
readonly temporaryItem: boolean
weapon
readonly weapon: boolean
wearable
readonly wearable: boolean
worn
readonly worn: boolean
Methods
matches()
matches(selector: string | number | ItemSelectorById | ItemSelectorByName | ShopItemSelectorById): boolean
toJSON()
toJSON(): ItemSnapshot