GrandExchangeOfferQuery

public class GrandExchangeOfferQuery extends StreamBackedQuery<GrandExchangeOffer, GrandExchangeOfferQuery>

A query to search over entities of type GrandExchangeOffer

See also

org.tribot.script.sdk.query.Query

Query#grandExchangeOffers()

Functions

bank
Link copied to clipboard
static BankQuery bank()
Creates a new BankQuery
count
Link copied to clipboard
int count()
Executes this query and gets the number of results
equipment
Link copied to clipboard
static EquipmentQuery equipment()
Creates a new EquipmentQuery
filter
Link copied to clipboard
QueryType filter(Predicate<EntityType> filter)
Applies the specified filter to this query.
findFirst
Link copied to clipboard
Optional<EntityTypefindFirst()
Executes this query, and gets the first result if it exists
findRandom
Link copied to clipboard
Optional<EntityTypefindRandom()
Executes this query, and selects a random result based on a uniform distribution
forEach
Link copied to clipboard
void forEach(Consumer<EntityType> consumer)
Executes this query and passes each result to the specified consumer
gameObjects
Link copied to clipboard
static GameObjectQuery gameObjects()
Creates a new GameObjectQuery
grandExchangeOffers
Link copied to clipboard
static GrandExchangeOfferQuery grandExchangeOffers()
graphicObjects
Link copied to clipboard
static GraphicObjectQuery graphicObjects()
Creates a new GraphicObjectQuery
groundItems
Link copied to clipboard
static GroundItemQuery groundItems()
Creates a new GroundItemQuery
inventory
Link copied to clipboard
static InventoryQuery inventory()
Creates a new InventoryQuery
isAny
Link copied to clipboard
boolean isAny()
Executes this query and checks if any result exists
isEnabled
Link copied to clipboard
GrandExchangeOfferQuery isEnabled()
Only match offer slots that are enabled
itemDefinitions
Link copied to clipboard
static ItemDefinitionQuery itemDefinitions()
Creates a new ItemDefinitionQuery
itemIdEquals
Link copied to clipboard
GrandExchangeOfferQuery itemIdEquals(Array<int> id)
Only match offers with the specified item id
itemIdNotEquals
Link copied to clipboard
GrandExchangeOfferQuery itemIdNotEquals(Array<int> id)
Only match offers who do not have the specified item id
itemNameContains
Link copied to clipboard
GrandExchangeOfferQuery itemNameContains(Array<String> itemName)
Only matches offers whose item name contains any of the specified names
itemNameEquals
Link copied to clipboard
GrandExchangeOfferQuery itemNameEquals(Array<String> itemName)
Only matches offers whose item name equals any of the specified names
itemNameNotContains
Link copied to clipboard
GrandExchangeOfferQuery itemNameNotContains(Array<String> itemName)
Only matches offers whose item name does not contain any of the specified names
itemNameNotEquals
Link copied to clipboard
GrandExchangeOfferQuery itemNameNotEquals(Array<String> itemName)
Only matches offers whose item name does not equal any of the specified names
maxCollectableGoldQuantity
Link copied to clipboard
GrandExchangeOfferQuery maxCollectableGoldQuantity(int max)
Only match offers whose collectable gold quantity is at most the specified max value
maxCollectableItemQuantity
Link copied to clipboard
GrandExchangeOfferQuery maxCollectableItemQuantity(int max)
Only match offers whose collectable item quantity is at most the specified max value
maxPercentComplete
Link copied to clipboard
GrandExchangeOfferQuery maxPercentComplete(double completionPercent)
Only match offers that have at most the specified completion percent
maxPrice
Link copied to clipboard
GrandExchangeOfferQuery maxPrice(int maxPrice)
Only match offers whose price is at most the specified max price
maxTotalQuantity
Link copied to clipboard
GrandExchangeOfferQuery maxTotalQuantity(int max)
Only match offers whose total quantity is at most the specified max total quantity
maxTransferredGoldQuantity
Link copied to clipboard
GrandExchangeOfferQuery maxTransferredGoldQuantity(int max)
Only match offers whose transferred gold quantity is at most the specified max value
maxTransferredItemQuantity
Link copied to clipboard
GrandExchangeOfferQuery maxTransferredItemQuantity(int max)
Only match offers whose transferred item quantity is at most the specified max value
minCollectableGoldQuantity
Link copied to clipboard
GrandExchangeOfferQuery minCollectableGoldQuantity(int min)
Only match offers whose collectable gold quantity is at least the specified min value
minCollectableItemQuantity
Link copied to clipboard
GrandExchangeOfferQuery minCollectableItemQuantity(int min)
Only match offers whose collectable item quantity is at least the specified min value
minPercentComplete
Link copied to clipboard
GrandExchangeOfferQuery minPercentComplete(double completionPercent)
Only match offers that have at least the specified completion percent
minPrice
Link copied to clipboard
GrandExchangeOfferQuery minPrice(int minPrice)
Only match offers whose price is at least the specified min price
minTotalQuantity
Link copied to clipboard
GrandExchangeOfferQuery minTotalQuantity(int min)
Only match offers whose total quantity is at least the specified min total quantity
minTransferredGoldQuantity
Link copied to clipboard
GrandExchangeOfferQuery minTransferredGoldQuantity(int min)
Only match offers whose transferred gold quantity is at least the specified min value
minTransferredItemQuantity
Link copied to clipboard
GrandExchangeOfferQuery minTransferredItemQuantity(int min)
Only match offers whose transferred item quantity is at least the specified min value
npcs
Link copied to clipboard
static NpcQuery npcs()
Creates a new NpcQuery
players
Link copied to clipboard
static PlayerQuery players()
Creates a new PlayerQuery
priceEquals
Link copied to clipboard
GrandExchangeOfferQuery priceEquals(Array<int> price)
Only match offers whose price equals the specified price
priceNotEquals
Link copied to clipboard
GrandExchangeOfferQuery priceNotEquals(Array<int> price)
Only match offers whose price does not equal the specified price
projectiles
Link copied to clipboard
static ProjectileQuery projectiles()
Creates a new ProjectileQuery
shop
Link copied to clipboard
static ShopItemQuery shop()
Creates a new ShopItemQuery
slotEquals
Link copied to clipboard
Only match offers that are in the specified slots
slotNotEquals
Link copied to clipboard
Only match offers that are not in the specified slots
sorted
Link copied to clipboard
QueryType sorted(Comparator<EntityType> comparator)
Orders the query by the specified comparator.
statusEquals
Link copied to clipboard
Only match offers with the specified grand exchange offer status
statusNotEquals
Link copied to clipboard
Only match offers that do not have the specified grand exchange offer status
stream
Link copied to clipboard
Stream<EntityTypestream()
Returns this query as a stream.
tiles
Link copied to clipboard
static TileQuery tiles()
Creates a new TileQuery
toList
Link copied to clipboard
List<EntityTypetoList()
Executes this query, and gets the results
totalQuantityEquals
Link copied to clipboard
GrandExchangeOfferQuery totalQuantityEquals(Array<int> totalQuantity)
Only match offers whose total quantity equals the specified max total quantity
totalQuantityNotEquals
Link copied to clipboard
GrandExchangeOfferQuery totalQuantityNotEquals(Array<int> totalQuantity)
Only match offers whose total quantity does not equal the specified max total quantity
trade
Link copied to clipboard
static TradeQuery trade()
Creates a new TradeQuery
typeEquals
Link copied to clipboard
Only match offers with the specified grand exchange offer type
typeNotEquals
Link copied to clipboard
Only match offers that do not haev the specified grand exchange offer type
widgets
Link copied to clipboard
static WidgetQuery widgets()
Creates a new WidgetQuery
worlds
Link copied to clipboard
static WorldQuery worlds()
Creates a new WorldQuery