@deafwave/osrs-botmaker-types 0.4.5 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/types/runelite/net/runelite/api/ItemID.d.ts +125 -1
- package/dist/src/types/runelite/net/runelite/api/Projectile.d.ts +70 -23
- package/dist/src/types/runelite/net/runelite/api/WorldView.d.ts +36 -12
- package/dist/src/types/runelite/net/runelite/api/geometry/Shapes.d.ts +15 -14
- package/dist/src/types/runelite/net/runelite/api/geometry/SimplePolygon.d.ts +36 -35
- package/dist/src/types/runelite/net/runelite/api/widgets/Widget.d.ts +7 -2
- package/dist/src/types/runelite/net/runelite/api/widgets/WidgetItem.d.ts +39 -38
- package/dist/src/types/runelite/net/runelite/client/plugins/cluescrolls/clues/hotcold/HotColdLocation.d.ts +565 -1253
- package/dist/src/types/runelite/net/runelite/client/plugins/mta/telekinetic/TelekineticRoom.d.ts +31 -10
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/OverlayBounds.d.ts +7 -6
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/WidgetOverlay.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/ImageComponent.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/LayoutableRenderableEntity.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/LineComponent.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/PanelComponent.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/ProgressBarComponent.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/TitleComponent.d.ts +1 -1
- package/dist/src/types/runelite/net/runelite/client/ui/overlay/components/TooltipComponent.d.ts +1 -1
- package/dist/src/types/sox/api/bot/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -25,44 +25,45 @@
|
|
|
25
25
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
26
26
|
*/
|
|
27
27
|
declare namespace net.runelite.api.widgets {
|
|
28
|
+
/**
|
|
29
|
+
* An item that is being represented in a {@link Widget}.
|
|
30
|
+
*/
|
|
31
|
+
export class WidgetItem
|
|
32
|
+
{
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the item represented.
|
|
35
|
+
*
|
|
36
|
+
* @see net.runelite.api.ItemID
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* The quantity of the represented item.
|
|
40
|
+
*/
|
|
41
|
+
/**
|
|
42
|
+
* The area where the widget is drawn on the canvas.
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* The widget which contains this item.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* The canvas bounds for the widget, if it is being dragged.
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* Get the area where the widget item is drawn on the canvas, accounting for drag
|
|
52
|
+
* @return
|
|
53
|
+
*/
|
|
54
|
+
getCanvasBounds(): Rectangle;
|
|
55
|
+
/**
|
|
56
|
+
* Get the area where the widget item is drawn on the canvas
|
|
57
|
+
* @param dragging whether the returned area should account for widget drag
|
|
58
|
+
* @return
|
|
59
|
+
*/
|
|
60
|
+
getCanvasBounds(dragging: boolean): Rectangle;
|
|
28
61
|
/**
|
|
29
|
-
*
|
|
62
|
+
* Gets the upper-left coordinate of where the widget is being drawn
|
|
63
|
+
* on the canvas, accounting for drag.
|
|
64
|
+
*
|
|
65
|
+
* @return the upper-left coordinate of where this widget is drawn
|
|
30
66
|
*/
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* The ID of the item represented.
|
|
34
|
-
*
|
|
35
|
-
* @see net.runelite.api.ItemID
|
|
36
|
-
*/
|
|
37
|
-
/**
|
|
38
|
-
* The quantity of the represented item.
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* The area where the widget is drawn on the canvas.
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* The widget which contains this item.
|
|
45
|
-
*/
|
|
46
|
-
/**
|
|
47
|
-
* The canvas bounds for the widget, if it is being dragged.
|
|
48
|
-
*/
|
|
49
|
-
/**
|
|
50
|
-
* Get the area where the widget item is drawn on the canvas, accounting for drag
|
|
51
|
-
* @return
|
|
52
|
-
*/
|
|
53
|
-
getCanvasBounds(): java.awt.Rectangle;
|
|
54
|
-
/**
|
|
55
|
-
* Get the area where the widget item is drawn on the canvas
|
|
56
|
-
* @param dragging whether the returned area should account for widget drag
|
|
57
|
-
* @return
|
|
58
|
-
*/
|
|
59
|
-
getCanvasBounds(dragging: boolean): java.awt.Rectangle;
|
|
60
|
-
/**
|
|
61
|
-
* Gets the upper-left coordinate of where the widget is being drawn
|
|
62
|
-
* on the canvas, accounting for drag.
|
|
63
|
-
*
|
|
64
|
-
* @return the upper-left coordinate of where this widget is drawn
|
|
65
|
-
*/
|
|
66
|
-
getCanvasLocation(): Point;
|
|
67
|
-
}
|
|
67
|
+
getCanvasLocation(): Point;
|
|
68
68
|
}
|
|
69
|
+
}
|