Uses of Interface
dev.twilite.game.facade.GrandExchange.Price
Packages that use GrandExchange.Price
-
Uses of GrandExchange.Price in dev.twilite.game.facade
Methods in dev.twilite.game.facade that return GrandExchange.PriceModifier and TypeMethodDescriptionstatic GrandExchange.PriceGrandExchange.Price.fixed(int value) Uses a fixed price regardless of the item or market guide price.static GrandExchange.PriceGrandExchange.Price.highest(GrandExchange.Price first, GrandExchange.Price second) Uses the greater value resolved by two price strategies.static GrandExchange.PriceGrandExchange.Price.live()Uses the latest real-time wiki high price when available, otherwise falls back to the market guide price.static GrandExchange.PriceGrandExchange.Price.lowest(GrandExchange.Price first, GrandExchange.Price second) Uses the lower value resolved by two price strategies.static GrandExchange.PriceGrandExchange.Price.market()Uses the market guide price shown by the Grand Exchange setup screen.default GrandExchange.PriceGrandExchange.Price.minus5()Lowers the resolved price by 5%.default GrandExchange.PriceGrandExchange.Price.minus5(int times) Lowers the resolved price by 5% once for each supplied step.default GrandExchange.PriceGrandExchange.Price.plus5()Raises the resolved price by 5%.default GrandExchange.PriceGrandExchange.Price.plus5(int times) Raises the resolved price by 5% once for each supplied step.Methods in dev.twilite.game.facade with parameters of type GrandExchange.PriceModifier and TypeMethodDescriptionstatic GrandExchange.PriceGrandExchange.Price.highest(GrandExchange.Price first, GrandExchange.Price second) Uses the greater value resolved by two price strategies.static GrandExchange.PriceGrandExchange.Price.lowest(GrandExchange.Price first, GrandExchange.Price second) Uses the lower value resolved by two price strategies.GrandExchange.Request.price(GrandExchange.Price price) Sets the price strategy used when the offer is created. -
Uses of GrandExchange.Price in dev.twilite.game.loadout
Methods in dev.twilite.game.loadout that return GrandExchange.PriceModifier and TypeMethodDescriptionRestocker.Request.offerPrice()Returns the retry-adjusted offer price resolver.Restocker.Request.price()Returns the price resolver for this item.Methods in dev.twilite.game.loadout with parameters of type GrandExchange.PriceModifier and TypeMethodDescriptionRestocker.defaultBuyPrice(GrandExchange.Price price) Sets the default price resolver for newly registered restock entries.Restocker.defaultSellPrice(GrandExchange.Price sellPrice) Sets the default price resolver for sell requests.Restocker.item(int itemId, int amount, GrandExchange.Price price) Registers a restock entry.Restocker.Request.price(GrandExchange.Price price) Sets the base price resolver for this request.Restocker.sell(int itemId, int amount, GrandExchange.Price price) Queues a sell request.