Class FarmingTracker


  • public class FarmingTracker
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkCompletion()  
      FarmingTabPanel createTabPanel​(Tab tab, FarmingContractManager farmingContractManager)  
      long getCompletionTime​(Tab patchType)
      Gets the overall completion time for the given patch type.
      SummaryState getSummary​(Tab patchType)  
      long getTickTime​(int tickRate, int ticks)  
      long getTickTime​(int tickRate, int ticks, long requestedTime, java.lang.String profile)  
      void loadCompletionTimes()  
      net.runelite.client.plugins.timetracking.farming.PatchPrediction predictPatch​(net.runelite.client.plugins.timetracking.farming.FarmingPatch patch)  
      net.runelite.client.plugins.timetracking.farming.PatchPrediction predictPatch​(net.runelite.client.plugins.timetracking.farming.FarmingPatch patch, java.lang.String profile)  
      boolean updateData​(net.runelite.api.coords.WorldPoint location, int timeSinceModalClose)
      Updates tracker data for the current region.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • updateData

        public boolean updateData​(net.runelite.api.coords.WorldPoint location,
                                  int timeSinceModalClose)
        Updates tracker data for the current region. Returns true if any data was changed.
      • predictPatch

        @Nullable
        public net.runelite.client.plugins.timetracking.farming.PatchPrediction predictPatch​(net.runelite.client.plugins.timetracking.farming.FarmingPatch patch)
      • predictPatch

        @Nullable
        public net.runelite.client.plugins.timetracking.farming.PatchPrediction predictPatch​(net.runelite.client.plugins.timetracking.farming.FarmingPatch patch,
                                                                                             java.lang.String profile)
      • getTickTime

        public long getTickTime​(int tickRate,
                                int ticks)
      • getTickTime

        public long getTickTime​(int tickRate,
                                int ticks,
                                long requestedTime,
                                java.lang.String profile)
      • loadCompletionTimes

        public void loadCompletionTimes()
      • getCompletionTime

        public long getCompletionTime​(Tab patchType)
        Gets the overall completion time for the given patch type.
        See Also:
        completionTimes
      • checkCompletion

        public void checkCompletion()