Interface RestockHost


public interface RestockHost
What a plugin tells RestockRunner and GroundLoot about itself: when to give up, where the player is, what counts as "back at the activity", and where capture rows go. Every method is called on the script worker.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The player is back where the activity happens (the return teleport landed).
    void
    event(String name, Map<String,Object> row)
    A capture row.
    net.runelite.api.coords.WorldPoint
    The player's tile on the last sample, or null.
    boolean
    HP and prayer are full (the Healing font step is done, or not needed).
    boolean
    Stop, disconnect or death invalidated the work: every wait ends and nothing more is clicked.
    void
    stopped(String reason)
    The cycle stopped for good with this reason: the plugin stops automation.
  • Method Details

    • shouldAbort

      boolean shouldAbort()
      Stop, disconnect or death invalidated the work: every wait ends and nothing more is clicked.
    • player

      net.runelite.api.coords.WorldPoint player()
      The player's tile on the last sample, or null.
    • restored

      boolean restored()
      HP and prayer are full (the Healing font step is done, or not needed).
    • atDestination

      boolean atDestination()
      The player is back where the activity happens (the return teleport landed).
    • event

      void event(String name, Map<String,Object> row)
      A capture row.
    • stopped

      void stopped(String reason)
      The cycle stopped for good with this reason: the plugin stops automation.