Class Bank


  • public class Bank
    extends java.lang.Object
    • Field Detail

      • DEPOSIT_ALL_MIN_DELAY

        public static int DEPOSIT_ALL_MIN_DELAY
      • DEPOSIT_ALL_MAX_DELAY

        public static int DEPOSIT_ALL_MAX_DELAY
      • WITHDRAW_ALL_MIN_DELAY

        public static int WITHDRAW_ALL_MIN_DELAY
      • WITHDRAW_ALL_MAX_DELAY

        public static int WITHDRAW_ALL_MAX_DELAY
      • USE_NPC_PREFERENCE_SEED

        public static int USE_NPC_PREFERENCE_SEED
    • Constructor Detail

      • Bank

        public Bank()
    • Method Detail

      • initSeeds

        public static void initSeeds()
      • isOpen

        public static boolean isOpen()
      • getAmountValue

        public static int getAmountValue()
      • setCustomAmount

        public static void setCustomAmount​(int amount)
      • openCustomAmountDialog

        public static boolean openCustomAmountDialog()
      • close

        public static boolean close()
      • setAmount

        public static boolean setAmount​(Bank.Amount amount)
      • depositEquipment

        public static boolean depositEquipment()
      • depositEquipment

        public static boolean depositEquipment​(boolean moveMouse)
      • depositInventory

        public static boolean depositInventory()
      • depositInventory

        public static boolean depositInventory​(boolean moveMouse)
      • withdrawAllFilter

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAllFilter​(@Nonnull
                                                                    java.util.Map<java.util.function.Predicate<RSItem>,​java.lang.Integer> items)
      • withdrawAllFilter

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAllFilter​(@Nonnull
                                                                    java.util.Map<java.util.function.Predicate<RSItem>,​java.lang.Integer> items,
                                                                    boolean moveMouse)
      • withdrawAll

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAll​(@Nonnull
                                                              java.util.HashMap<RSItem,​java.lang.Integer> items)
      • withdrawAll

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAll​(@Nonnull
                                                              java.util.Map<RSWidget,​java.lang.Integer> items)
      • withdrawAll

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAll​(@Nonnull
                                                              java.util.Map<RSWidget,​java.lang.Integer> items,
                                                              boolean moveMouse)
      • withdrawAll

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAll​(@Nonnull
                                                              java.util.HashMap<java.lang.String,​java.lang.Integer> items,
                                                              boolean ignoreCase)
      • withdrawAll

        @Nullable
        public static @Nullable java.lang.Boolean withdrawAll​(@Nonnull
                                                              java.util.HashMap<java.lang.String,​java.lang.Integer> items,
                                                              boolean ignoreCase,
                                                              boolean moveMouse)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           java.util.function.Predicate<RSItem> itemFilter,
                                                           int amount)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           java.util.function.Predicate<RSItem> itemFilter,
                                                           int amount,
                                                           boolean moveMouse)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           java.lang.String name,
                                                           int amount)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           java.lang.String name,
                                                           int amount,
                                                           boolean moveMouse)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           RSItem item,
                                                           int amount)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           RSItem item,
                                                           int amount,
                                                           boolean moveMouse)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           RSWidget widget,
                                                           int amount)
      • withdraw

        @Nullable
        public static @Nullable java.lang.Boolean withdraw​(@Nonnull
                                                           RSWidget widget,
                                                           int amount,
                                                           boolean moveMouse)
      • depositAll

        public static boolean depositAll​(@Nonnull
                                         java.util.function.Predicate<RSItem> itemFilter)
      • depositAll

        public static boolean depositAll​(@Nonnull
                                         java.util.function.Predicate<RSItem> itemFilter,
                                         boolean moveMouse)
      • depositAllExcept

        public static boolean depositAllExcept​(@Nonnull
                                               java.util.function.Predicate<RSItem> itemFilter)
      • depositAllExcept

        public static boolean depositAllExcept​(@Nonnull
                                               java.util.function.Predicate<RSItem> itemFilter,
                                               boolean moveMouse)
      • depositAllExcept

        public static boolean depositAllExcept​(@Nonnull
                                               java.lang.String... names)
      • depositAllExcept

        public static boolean depositAllExcept​(@Nonnull
                                               java.util.List<java.lang.String> names,
                                               boolean moveMouse)
      • deposit

        public static boolean deposit​(@Nonnull
                                      java.lang.String name,
                                      int amount)
      • deposit

        public static boolean deposit​(@Nonnull
                                      java.lang.String name,
                                      int amount,
                                      boolean moveMouse)
      • deposit

        public static boolean deposit​(@Nonnull
                                      RSItem item,
                                      int amount)
      • deposit

        public static boolean deposit​(@Nonnull
                                      RSItem item,
                                      int amount,
                                      boolean moveMouse)
      • deposit

        public static boolean deposit​(@Nonnull
                                      RSWidget widget,
                                      int amount)
      • deposit

        public static boolean deposit​(@Nonnull
                                      RSWidget widget,
                                      int amount,
                                      boolean moveMouse)
      • openWithBanker

        public static boolean openWithBanker​(boolean random)
      • openWithBanker

        public static boolean openWithBanker​(boolean random,
                                             boolean moveMouse)
      • openWithBanker

        public static boolean openWithBanker​(@Nonnull
                                             RSNpc banker)
      • openWithBanker

        public static boolean openWithBanker​(@Nonnull
                                             RSNpc banker,
                                             boolean moveMouse)
      • openWithBoothOrChest

        public static boolean openWithBoothOrChest​(boolean random,
                                                   boolean moveMouse)
      • openWithBoothOrChest

        public static boolean openWithBoothOrChest​(@Nonnull
                                                   RSObject bank)
      • openWithBoothOrChest

        public static boolean openWithBoothOrChest​(@Nonnull
                                                   RSObject bank,
                                                   boolean moveMouse)
      • getBoothOrChest

        @Nullable
        public static @Nullable RSObject getBoothOrChest​(boolean random)
      • getNPCBanker

        @Nullable
        public static @Nullable RSNpc getNPCBanker​(boolean random)
      • shouldOpenWithNpc

        public static boolean shouldOpenWithNpc()
      • openRandom

        public static boolean openRandom()
      • openRandom

        public static boolean openRandom​(boolean moveMouse)
      • openNearest

        public static boolean openNearest()
      • openNearest

        public static boolean openNearest​(boolean moveMouse)