new Item()
Represents an item.
Name | Type | Description |
---|---|---|
id | number | The ID of the item. |
name | string | The name of the item. |
description | string | | The description of the item, or null if none. |
cost | number | The cost of the item in PokeDollars. |
page | number | The page number in the bag where the item is found. |
action | string | The action that is performed when the item is used. |
inline | boolean | Whether the item is used inline (without opening the bag). |
emote | string | | The emote associated with using the item, or null if none. |
shard | boolean | Whether the item is a shard. |
instance | DataManagerBase | The DataManagerBase instance associated with this item. |