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 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, 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, String profile)
boolean
updateData(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()
-
-