Interface LoadoutManager


public interface LoadoutManager
Manages loadout operations including fetching items and checking completion status.

This interface provides the core functionality for applying loadouts to the player's current setup. It handles:

  • Fetching items from the bank to match a loadout
  • Checking if loadout requirements are met
  • Managing individual sections (inventory, equipment, rune pouch)

The manager coordinates the complex process of:

  1. Navigating to a bank
  2. Opening the bank interface
  3. Depositing unnecessary items
  4. Withdrawing required items
  5. Equipping items as needed

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fetchEquipment(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
    Fetches only equipment items for a loadout from the bank.
    void
    fetchFromBank(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
    Fetches all items for a loadout from the bank.
    void
    fetchInventory(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
    Fetches only inventory items for a loadout from the bank.
    void
    fetchRunePouch(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
    Fetches only rune pouch items for a loadout from the bank.
    boolean
    Checks if the equipment portion of a loadout is completed.
    boolean
    Checks if the inventory portion of a loadout is completed.
    boolean
    Checks if the entire loadout is completed.
    boolean
    Checks if the rune pouch portion of a loadout is completed.
  • Method Details

    • fetchFromBank

      void fetchFromBank(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
      Fetches all items for a loadout from the bank.

      This method will navigate to the specified bank area if needed, open the bank, and withdraw all required items for the loadout. It handles inventory, equipment, and rune pouch items.

      Parameters:
      loadout - the loadout to fetch items for
      worldArea - the world area containing a bank to use
    • isLoadoutCompleted

      boolean isLoadoutCompleted(Loadout loadout)
      Checks if the entire loadout is completed.

      Returns true only if all enabled sections of the loadout (inventory, equipment, and rune pouch) match their requirements.

      Parameters:
      loadout - the loadout to check
      Returns:
      true if all loadout requirements are met
    • isEquipmentCompleted

      boolean isEquipmentCompleted(Loadout loadout)
      Checks if the equipment portion of a loadout is completed.
      Parameters:
      loadout - the loadout to check
      Returns:
      true if all required equipment is worn
    • isInventoryCompleted

      boolean isInventoryCompleted(Loadout loadout)
      Checks if the inventory portion of a loadout is completed.
      Parameters:
      loadout - the loadout to check
      Returns:
      true if all required inventory items are present
    • isRunePouchCompleted

      boolean isRunePouchCompleted(Loadout loadout)
      Checks if the rune pouch portion of a loadout is completed.
      Parameters:
      loadout - the loadout to check
      Returns:
      true if all required runes are in the rune pouch
    • fetchEquipment

      void fetchEquipment(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
      Fetches only equipment items for a loadout from the bank.
      Parameters:
      loadout - the loadout containing equipment requirements
      worldArea - the world area containing a bank to use
    • fetchInventory

      void fetchInventory(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
      Fetches only inventory items for a loadout from the bank.
      Parameters:
      loadout - the loadout containing inventory requirements
      worldArea - the world area containing a bank to use
    • fetchRunePouch

      void fetchRunePouch(Loadout loadout, net.runelite.api.coords.WorldArea worldArea)
      Fetches only rune pouch items for a loadout from the bank.
      Parameters:
      loadout - the loadout containing rune pouch requirements
      worldArea - the world area containing a bank to use