file: ItemData.aus

class: ItemData

[17:7] extends: FxObj

Wraps FXGL's ItemData, the per-item metadata FXGL stores alongside the actual stacks. Exposes the item's display name, description, view Node, total quantity (across all stacks), per-stack cap, and the observable list of stacks. Obtain via Inventory.getData(item) or Inventory.getAllData(). Not user-constructed; FXGL builds ItemData when Inventory.add runs.

Methods