Class Quests

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

public class Quests extends Object
Quest progress accessors backed by live varp and varbit values.

Use state(Quest) when partial progress matters, and started(Quest) or complete(Quest) for coarse status checks.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    complete(Quest quest)
    Returns whether quest has reached its configured completion step.
    static int
    Returns the player's current quest point total.
    static boolean
    started(Quest quest)
    Returns whether quest has been started but not completed.
    static int
    state(Quest quest)
    Returns the raw progress value for quest.

    Methods inherited from class java.lang.Object

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

    • Quests

      public Quests()
  • Method Details

    • points

      public static int points()
      Returns the player's current quest point total.
    • state

      public static int state(Quest quest)
      Returns the raw progress value for quest.

      The value is read from either a varbit or varp depending on the quest's metadata.

    • started

      public static boolean started(Quest quest)
      Returns whether quest has been started but not completed.
    • complete

      public static boolean complete(Quest quest)
      Returns whether quest has reached its configured completion step.