Package net.storm.api.domain.items
Interface IBankInventoryItem
- All Superinterfaces:
Identifiable,IItem,Interactable,Nameable,RuneLiteWrapper<net.runelite.api.Item>
Represents an inventory item as visible within the bank interface with deposit capabilities.
This interface extends IItem with methods specific to depositing items
into the bank. It represents items in the inventory panel that appears alongside
the bank interface when the bank is open.
Usage notes:
- The bank interface must be open to interact with these items
- Items are deposited from the player's inventory into the bank
- Depositing noted items will convert them to un-noted form in the bank
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeposit(int amount) Deposits a specific amount of this item into the bank.voidDeposits all of this item into the bank.Methods inherited from interface net.storm.api.domain.Identifiable
getIdMethods inherited from interface net.storm.api.domain.items.IItem
getComposition, getNotedId, getQuantity, getSlot, getSubOptionIndex, getSubOptions, getWidget, hasSubOption, isMembers, isNoted, isPlaceholder, isStackable, isTradable, setWidgetMethods inherited from interface net.storm.api.domain.Interactable
generateMenu, generateMenu, generateMenu, generateMenu, generateMenu, generateMenu, generateMenu, generateMenu, generateMenu, generateMenu, getActionIndex, getActions, getClickPoint, hasAction, hasAction, hasAction, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, interact, isInteractable, isInteractable, isInteractableMethods inherited from interface net.storm.api.domain.RuneLiteWrapper
getWrapped
-
Method Details
-
deposit
void deposit(int amount) Deposits a specific amount of this item into the bank.The specified quantity will be moved from the inventory to the bank. If the specified amount exceeds the quantity in inventory, only the available amount will be deposited.
- Parameters:
amount- the number of items to deposit
-
depositAll
void depositAll()Deposits all of this item into the bank.All items of this type in the inventory will be transferred to the bank.
-