Uses of Class
dev.twilite.game.loadout.Restocker
Packages that use Restocker
-
Uses of Restocker in dev.twilite.game.loadout
Methods in dev.twilite.game.loadout that return RestockerModifier and TypeMethodDescriptionRestocker.allowWithdrawTeleports()Allows the restocker to withdraw a Grand Exchange teleport from a nearby bank before walking there.Restocker.allowWithdrawTeleports(boolean allowWithdrawTeleports) Sets whether the restocker may withdraw a Grand Exchange teleport from a nearby bank before walking there.static RestockerRestocker.create()Creates an empty restocker.Restocker.defaultAmount(int amount) Sets the fallback amount for depleted items that do not have an explicit restock entry.Restocker.defaultBuyPrice(GrandExchange.Price price) Sets the default price resolver for newly registered restock entries.Restocker.defaultCollectionMode(GrandExchange.CollectionMode collectionMode) Sets where completed restock offers should be collected.Restocker.defaultMaxRetries(int retries) Sets how many times a stale active offer may be aborted and repriced.Restocker.defaultRetryAfterTicks(int ticks) Sets how long an active offer may sit before it is aborted and retried.Restocker.defaultSellPrice(GrandExchange.Price sellPrice) Sets the default price resolver for sell requests.Restocker.request(int itemId) Queues a restock request for an item id.Restocker.request(int itemId, int amount) Queues a restock request for an item id and amount.Restocker.request(LoadoutItem item) Queues the configured restock entry for a depleted loadout item.Restocker.requestSell(int itemId) Queues a configured sell request.Restocker.requestSell(int itemId, int amount) Queues a sell request for an item id and amount.