GrandExchangeOfferQuery

Functions

Link copied to clipboard
protected fun asQueryType(): QueryType
Link copied to clipboard
open fun bank(): BankQuery
Creates a new BankQuery
Link copied to clipboard
open fun count(): Int
Executes this query and gets the number of results
Link copied to clipboard
Link copied to clipboard
Creates a new EquipmentQuery
Link copied to clipboard
open fun filter(filter: Predicate<EntityType>): QueryType
Applies the specified filter to this query.
Link copied to clipboard
Executes this query, and gets the first result if it exists
Link copied to clipboard
Executes this query, and selects a random result based on a uniform distribution
Link copied to clipboard
open fun forEach(consumer: Consumer<EntityType>)
Executes this query and passes each result to the specified consumer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a new InventoryQuery
Link copied to clipboard
open fun isAny(): Boolean
Executes this query and checks if any result exists
Link copied to clipboard
Only match offer slots that are enabled
Link copied to clipboard
Link copied to clipboard
Only match offers with the specified item id
Link copied to clipboard
Only match offers who do not have the specified item id
Link copied to clipboard
Only matches offers whose item name contains any of the specified names
Link copied to clipboard
Only matches offers whose item name equals any of the specified names
Link copied to clipboard
Only matches offers whose item name does not contain any of the specified names
Link copied to clipboard
Only matches offers whose item name does not equal any of the specified names
Link copied to clipboard
Only match offers whose collectable gold quantity is at most the specified max value
Link copied to clipboard
Only match offers whose collectable item quantity is at most the specified max value
Link copied to clipboard
open fun maxPercentComplete(completionPercent: Double): GrandExchangeOfferQuery
Only match offers that have at most the specified completion percent
Link copied to clipboard
open fun maxPrice(maxPrice: Int): GrandExchangeOfferQuery
Only match offers whose price is at most the specified max price
Link copied to clipboard
Only match offers whose total quantity is at most the specified max total quantity
Link copied to clipboard
Only match offers whose transferred gold quantity is at most the specified max value
Link copied to clipboard
Only match offers whose transferred item quantity is at most the specified max value
Link copied to clipboard
Only match offers whose collectable gold quantity is at least the specified min value
Link copied to clipboard
Only match offers whose collectable item quantity is at least the specified min value
Link copied to clipboard
open fun minPercentComplete(completionPercent: Double): GrandExchangeOfferQuery
Only match offers that have at least the specified completion percent
Link copied to clipboard
open fun minPrice(minPrice: Int): GrandExchangeOfferQuery
Only match offers whose price is at least the specified min price
Link copied to clipboard
Only match offers whose total quantity is at least the specified min total quantity
Link copied to clipboard
Only match offers whose transferred gold quantity is at least the specified min value
Link copied to clipboard
Only match offers whose transferred item quantity is at least the specified min value
Link copied to clipboard
open fun npcs(): NpcQuery
Creates a new NpcQuery
Link copied to clipboard
open fun players(): PlayerQuery
Creates a new PlayerQuery
Link copied to clipboard
Only match offers whose price equals the specified price
Link copied to clipboard
Only match offers whose price does not equal the specified price
Link copied to clipboard
Link copied to clipboard
open fun shop(): ShopItemQuery
Creates a new ShopItemQuery
Link copied to clipboard
Only match offers that are in the specified slots
Link copied to clipboard
Only match offers that are not in the specified slots
Link copied to clipboard
open fun sorted(comparator: Comparator<EntityType>): QueryType
Orders the query by the specified comparator.
Link copied to clipboard
Only match offers with the specified grand exchange offer status
Link copied to clipboard
Only match offers that do not have the specified grand exchange offer status
Link copied to clipboard
open fun stream(): Stream<EntityType>
Returns this query as a stream.
Link copied to clipboard
open fun tiles(): TileQuery
Creates a new TileQuery
Link copied to clipboard
open fun toList(): List<EntityType>
Executes this query, and gets the results
Link copied to clipboard
Only match offers whose total quantity equals the specified max total quantity
Link copied to clipboard
Only match offers whose total quantity does not equal the specified max total quantity
Link copied to clipboard
open fun trade(): TradeQuery
Creates a new TradeQuery
Link copied to clipboard
Only match offers with the specified grand exchange offer type
Link copied to clipboard
Only match offers that do not haev the specified grand exchange offer type
Link copied to clipboard
open fun widgets(): WidgetQuery
Creates a new WidgetQuery
Link copied to clipboard
open fun worlds(): WorldQuery
Creates a new WorldQuery