Class RunePouch

java.lang.Object
dev.twilite.game.facade.RunePouch

public class RunePouch extends Object
Accesses the rune pouch contents tracked by client varbits.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Rune pouch storage slots backed by client varbits.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    count(Rune rune)
    Returns the amount of the requested rune currently stored in available pouch slots.
    static int
    count(Rune rune, boolean extraSlotsUnlocked)
    Returns the amount of the requested rune currently stored in currently unlocked pouch slots.
    static boolean
    Returns whether a divine rune pouch variant is present in the backpack.
    static boolean
    Returns whether a rune pouch variant is present in the backpack.
    static boolean
    Returns whether a regular rune pouch variant is present in the backpack.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RunePouch

      public RunePouch()
  • Method Details

    • present

      public static boolean present()
      Returns whether a rune pouch variant is present in the backpack.
    • regular

      public static boolean regular()
      Returns whether a regular rune pouch variant is present in the backpack.
    • divine

      public static boolean divine()
      Returns whether a divine rune pouch variant is present in the backpack.
    • count

      public static int count(Rune rune)
      Returns the amount of the requested rune currently stored in available pouch slots.
    • count

      public static int count(Rune rune, boolean extraSlotsUnlocked)
      Returns the amount of the requested rune currently stored in currently unlocked pouch slots.