Represents the frontend for an item.

Implements

Constructors

Properties

Constructors

Properties

amount: Decimal

The default amount of the item. Automatically set to 0 if not provided.

This does not account for items that were bought on different tiers. You should use your own amount system.

id: string

The ID of the item. Used to retrieve the item later.