Uses of Class
privbot.query.ObjectQuery
Packages that use ObjectQuery
Package
Description
ctx.* facades: inventory, bank, NPCs, widgets, and the other one-liners.Fluent queries behind
ctx.npcs.query(), objects, ground items, and widgets.-
Uses of ObjectQuery in privbot.hooks
Methods in privbot.hooks that return ObjectQueryModifier and TypeMethodDescriptionGameObjects.query()A query over the scene's objects, read once per game tick on the client thread and reused within the tick.GameObjects.withAction(String... actions) Start a query filtered to objects with at least one of the given actions.GameObjects.withId(int... ids) Start a query filtered to objects matching the given ID(s).Start a query filtered to objects matching the given name(s). -
Uses of ObjectQuery in privbot.query
Methods in privbot.query that return ObjectQueryModifier and TypeMethodDescriptionObjectQuery.atTile(net.runelite.api.coords.WorldPoint tile) Keeps objects whose world location equalstile(same x, y, plane).ObjectQuery.filter(Predicate<PrivObject> pred) Narrows this query in place and returns it.ObjectQuery.nearTile(net.runelite.api.coords.WorldPoint tile, int radius) Chebyshev radius aroundtileon the same plane.ObjectQuery.playerEastOf()Keeps objects the local player stands east of (player X > object X).ObjectQuery.playerNorthOf()Keeps objects whose tile the local player stands strictly north of (player Y > object Y, same plane).ObjectQuery.playerSouthOf()Keeps objects the local player stands south of (player Y < object Y).ObjectQuery.playerWestOf()Keeps objects the local player stands west of (player X < object X).ObjectQuery.where(Predicate<PrivObject> pred) Alias offilter(Predicate).ObjectQuery.withAction(String... actions) Keeps objects whose definition has at least one of the given actions (case-insensitive substring).ObjectQuery.withId(int... ids) Keeps objects whose scene id is one ofids; no ids leaves the query unchanged.ObjectQuery.withinTiles(int maxTiles) Chebyshev distance on the current plane (OSRS tile steps).Name substring match (seePrivObject.getName()).