Uses of Interface
net.runelite.api.Client
-
Packages that use Client Package Description net.runelite.api net.runelite.api.coords -
-
Uses of Client in net.runelite.api
Methods in net.runelite.api with parameters of type Client Modifier and Type Method Description static Point
Perspective. getCanvasImageLocation(Client client, LocalPoint localLocation, BufferedImage image, int zOffset)
Calculates image position and centers depending on image size.static Point
Perspective. getCanvasSpriteLocation(Client client, LocalPoint localLocation, SpritePixels sprite, int zOffset)
Calculates sprite position and centers depending on sprite size.static Point
Perspective. getCanvasTextLocation(Client client, Graphics2D graphics, LocalPoint localLocation, String text, int zOffset)
Calculates text position and centers depending on string length.static Point
Perspective. getCanvasTextMiniMapLocation(Client client, Graphics2D graphics, LocalPoint localLocation, String text)
Calculates text position and centers on minimap depending on string length.static Polygon
Perspective. getCanvasTileAreaPoly(Client client, LocalPoint localLocation, int size)
Returns a polygon representing an area.static Polygon
Perspective. getCanvasTileAreaPoly(Client client, LocalPoint localLocation, int sizeX, int sizeY, int plane, int zOffset)
Returns a polygon representing an area.static Polygon
Perspective. getCanvasTilePoly(Client client, LocalPoint localLocation)
Calculates a tile polygon from offset worldToScreen() points.static Polygon
Perspective. getCanvasTilePoly(Client client, LocalPoint localLocation, int zOffset)
Calculates a tile polygon from offset worldToScreen() points.static Shape
Perspective. getClickbox(Client client, Model model, int orientation, int x, int y, int z)
You don't want this.static Point
Perspective. getMiniMapImageLocation(Client client, LocalPoint localLocation, BufferedImage image)
Calculates image position and centers depending on image size.QuestState
Quest. getState(Client client)
static int
Perspective. getTileHeight(Client client, LocalPoint point, int plane)
Calculates the above ground height of a tile point.static Point
Perspective. localToCanvas(Client client, int x, int y, int z)
Translates three-dimensional local coordinates within the 3D world to their corresponding coordinates on the game screen.static Point
Perspective. localToCanvas(Client client, LocalPoint point, int plane)
Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the game screen.static Point
Perspective. localToCanvas(Client client, LocalPoint point, int plane, int zOffset)
Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the game screen.static Point
Perspective. localToMinimap(Client client, LocalPoint point)
Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the Minimap.static Point
Perspective. localToMinimap(Client client, LocalPoint point, int distance)
Translates two-dimensional ground coordinates within the 3D world to their corresponding coordinates on the Minimap.static void
Perspective. modelToCanvas(Client client, int end, int x3dCenter, int y3dCenter, int z3dCenter, int rotate, int[] x3d, int[] y3d, int[] z3d, int[] x2d, int[] y2d)
Translates a model's vertices into 2d space. -
Uses of Client in net.runelite.api.coords
Methods in net.runelite.api.coords with parameters of type Client Modifier and Type Method Description boolean
WorldArea. canTravelInDirection(Client client, int dx, int dy)
Determines if the area can travel in one of the 9 directions by using the standard collision detection algorithm.boolean
WorldArea. canTravelInDirection(Client client, int dx, int dy, Predicate<? super WorldPoint> extraCondition)
Determines if the area can travel in one of the 9 directions by using the standard collision detection algorithm.static WorldPoint
WorldPoint. fromLocal(Client client, int x, int y, int plane)
Gets the coordinate of the tile that contains the passed local point.static WorldPoint
WorldPoint. fromLocal(Client client, LocalPoint local)
Gets the coordinate of the tile that contains the passed local point.static WorldPoint
WorldPoint. fromLocalInstance(Client client, LocalPoint localPoint)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromLocalInstance(Client client, LocalPoint localPoint, int plane)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromScene(Client client, int x, int y, int plane)
Converts the passed scene coordinates to a world spacestatic LocalPoint
LocalPoint. fromWorld(Client client, int x, int y)
Gets the local coordinate at the center of the passed tile.static LocalPoint
LocalPoint. fromWorld(Client client, WorldPoint world)
Gets the local coordinate at the center of the passed tile.boolean
WorldArea. hasLineOfSightTo(Client client, WorldArea other)
Determine if this WorldArea has line of sight to another WorldArea.boolean
WorldArea. hasLineOfSightTo(Client client, WorldPoint other)
Determine if this WorldArea has line of sight to another WorldArea.boolean
WorldPoint. isInScene(Client client)
Checks whether this tile is located in the current scene.static boolean
WorldPoint. isInScene(Client client, int x, int y)
Checks whether a tile is located in the current scene.static Collection<WorldPoint>
WorldPoint. toLocalInstance(Client client, WorldPoint worldPoint)
Get occurrences of a tile on the scene, accounting for instances.
-