Package net.storm.api.items.loadouts
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:
- Navigating to a bank
- Opening the bank interface
- Depositing unnecessary items
- Withdrawing required items
- Equipping items as needed
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidfetchEquipment(Loadout loadout, net.runelite.api.coords.WorldArea worldArea) Fetches only equipment items for a loadout from the bank.voidfetchFromBank(Loadout loadout, net.runelite.api.coords.WorldArea worldArea) Fetches all items for a loadout from the bank.voidfetchInventory(Loadout loadout, net.runelite.api.coords.WorldArea worldArea) Fetches only inventory items for a loadout from the bank.voidfetchRunePouch(Loadout loadout, net.runelite.api.coords.WorldArea worldArea) Fetches only rune pouch items for a loadout from the bank.booleanisEquipmentCompleted(Loadout loadout) Checks if the equipment portion of a loadout is completed.booleanisInventoryCompleted(Loadout loadout) Checks if the inventory portion of a loadout is completed.booleanisLoadoutCompleted(Loadout loadout) Checks if the entire loadout is completed.booleanisRunePouchCompleted(Loadout loadout) Checks if the rune pouch portion of a loadout is completed.
-
Method Details
-
fetchFromBank
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 forworldArea- the world area containing a bank to use
-
isLoadoutCompleted
Checks if the entire loadout is completed.Returns
trueonly if all enabled sections of the loadout (inventory, equipment, and rune pouch) match their requirements.- Parameters:
loadout- the loadout to check- Returns:
trueif all loadout requirements are met
-
isEquipmentCompleted
Checks if the equipment portion of a loadout is completed.- Parameters:
loadout- the loadout to check- Returns:
trueif all required equipment is worn
-
isInventoryCompleted
Checks if the inventory portion of a loadout is completed.- Parameters:
loadout- the loadout to check- Returns:
trueif all required inventory items are present
-
isRunePouchCompleted
Checks if the rune pouch portion of a loadout is completed.- Parameters:
loadout- the loadout to check- Returns:
trueif all required runes are in the rune pouch
-
fetchEquipment
Fetches only equipment items for a loadout from the bank.- Parameters:
loadout- the loadout containing equipment requirementsworldArea- the world area containing a bank to use
-
fetchInventory
Fetches only inventory items for a loadout from the bank.- Parameters:
loadout- the loadout containing inventory requirementsworldArea- the world area containing a bank to use
-
fetchRunePouch
Fetches only rune pouch items for a loadout from the bank.- Parameters:
loadout- the loadout containing rune pouch requirementsworldArea- the world area containing a bank to use
-