Class FarmingTracker
- java.lang.Object
-
- net.runelite.client.plugins.timetracking.farming.FarmingTracker
-
public class FarmingTracker extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckCompletion()FarmingTabPanelcreateTabPanel(Tab tab, FarmingContractManager farmingContractManager)longgetCompletionTime(Tab patchType)Gets the overall completion time for the given patch type.SummaryStategetSummary(Tab patchType)longgetTickTime(int tickRate, int ticks)longgetTickTime(int tickRate, int ticks, long requestedTime, String profile)voidloadCompletionTimes()net.runelite.client.plugins.timetracking.farming.PatchPredictionpredictPatch(net.runelite.client.plugins.timetracking.farming.FarmingPatch patch)net.runelite.client.plugins.timetracking.farming.PatchPredictionpredictPatch(net.runelite.client.plugins.timetracking.farming.FarmingPatch patch, String profile)booleanupdateData(WorldPoint location, int timeSinceModalClose)Updates tracker data for the current region.
-
-
-
Method Detail
-
createTabPanel
public FarmingTabPanel createTabPanel(Tab tab, FarmingContractManager farmingContractManager)
-
updateData
public boolean updateData(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, String profile)
-
getTickTime
public long getTickTime(int tickRate, int ticks)
-
getTickTime
public long getTickTime(int tickRate, int ticks, long requestedTime, String profile)
-
loadCompletionTimes
public void loadCompletionTimes()
-
getSummary
public SummaryState getSummary(Tab patchType)
-
getCompletionTime
public long getCompletionTime(Tab patchType)
Gets the overall completion time for the given patch type.- See Also:
completionTimes
-
checkCompletion
public void checkCompletion()
-
-