Package net.storm.sdk.items
Class DepositBox
java.lang.Object
net.storm.sdk.items.DepositBox
Static utility class for interacting with deposit boxes.
Deposit boxes are bank-like containers found in certain locations that only allow depositing items, not withdrawing. They provide a quick way to store items in your bank without accessing the full bank interface.
Example usage:
// Check if deposit box is open
if (DepositBox.isOpen()) {
// Deposit all inventory items
DepositBox.depositInventory();
// Deposit worn equipment
DepositBox.depositEquipment();
// Deposit looting bag contents
DepositBox.depositLootingBag();
// Set quantity mode before depositing individual items
DepositBox.selectQuantityAll();
// Close when done
DepositBox.close();
}
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclose()Closes the deposit box interface.static voidDeposits all equipped items into the bank.static voidDeposits all items from the player's inventory into the bank.static voidDeposits all items from the looting bag into the bank.static booleanisOpen()Checks if the deposit box interface is currently open.static voidSets the deposit quantity to All for individual item deposits.static voidSets the deposit quantity to 5 for individual item deposits.static voidSets the deposit quantity to 1 for individual item deposits.static voidSets the deposit quantity to 10 for individual item deposits.static voidSets the deposit quantity to X (custom amount) for individual item deposits.
-
Constructor Details
-
DepositBox
public DepositBox()
-
-
Method Details
-
depositInventory
public static void depositInventory()Deposits all items from the player's inventory into the bank. -
depositEquipment
public static void depositEquipment()Deposits all equipped items into the bank. -
depositLootingBag
public static void depositLootingBag()Deposits all items from the looting bag into the bank. -
selectQuantityOne
public static void selectQuantityOne()Sets the deposit quantity to 1 for individual item deposits. -
selectQuantityFive
public static void selectQuantityFive()Sets the deposit quantity to 5 for individual item deposits. -
selectQuantityTen
public static void selectQuantityTen()Sets the deposit quantity to 10 for individual item deposits. -
selectQuantityX
public static void selectQuantityX()Sets the deposit quantity to X (custom amount) for individual item deposits. -
selectQuantityAll
public static void selectQuantityAll()Sets the deposit quantity to All for individual item deposits. -
isOpen
public static boolean isOpen()Checks if the deposit box interface is currently open.- Returns:
- true if a deposit box is open, false otherwise
-
close
public static void close()Closes the deposit box interface.
-