dist/models~ Item

new Item()

Represents an item.

Properties
NameTypeDescription
idnumber

The ID of the item.

namestring

The name of the item.

descriptionstring | null

The description of the item, or null if none.

costnumber

The cost of the item in PokeDollars.

pagenumber

The page number in the bag where the item is found.

actionstring

The action that is performed when the item is used.

inlineboolean

Whether the item is used inline (without opening the bag).

emotestring | null

The emote associated with using the item, or null if none.

shardboolean

Whether the item is a shard.

instanceDataManagerBase

The DataManagerBase instance associated with this item.