Interface Item.UsableItem

All Known Implementing Classes:
CaseKeyItem, DoubleGainShardItem, LootBoostItem, PrestigeTokenItem, RarityBoostItem, ResearchTokenItem
Enclosing class:
Item

public static interface Item.UsableItem
  • Method Details

    • autoUseWhenAdded

      boolean autoUseWhenAdded()
      Returns:
      true if item should be automatically used when added to the inventory
    • useItem

      boolean useItem()
      Returns:
      true if item can be used and consumed
    • useItemNeedsConfirmation

      boolean useItemNeedsConfirmation()
      Returns:
      true if player should be asked before item can be used (misclick protection)