Class DepositBox

java.lang.Object
net.storm.sdk.items.DepositBox

public class DepositBox extends Object
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Closes the deposit box interface.
    static void
    Deposits all equipped items into the bank.
    static void
    Deposits all items from the player's inventory into the bank.
    static void
    Deposits all items from the looting bag into the bank.
    static boolean
    Checks if the deposit box interface is currently open.
    static void
    Sets the deposit quantity to All for individual item deposits.
    static void
    Sets the deposit quantity to 5 for individual item deposits.
    static void
    Sets the deposit quantity to 1 for individual item deposits.
    static void
    Sets the deposit quantity to 10 for individual item deposits.
    static void
    Sets the deposit quantity to X (custom amount) for individual item deposits.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.