@deafwave/osrs-botmaker-types 0.7.34 → 0.7.36
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/rollup/ComponentID.js +8 -8
- package/dist/src/rollup/NpcID.js +1 -0
- package/dist/src/rollup/NullObjectID.js +8 -3
- package/dist/src/rollup/ObjectID.js +16 -5
- package/dist/src/rollup/gameval/DBTableID.js +9 -10
- package/dist/src/rollup/gameval/InterfaceID.js +118 -116
- package/dist/src/rollup/gameval/NpcID.js +1 -0
- package/dist/src/rollup/gameval/ObjectID1.js +21 -5
- package/dist/src/rollup/gameval/SpriteID.js +5 -0
- package/dist/src/rollup/gameval/VarPlayerID.js +155 -0
- package/dist/src/rollup/gameval/VarbitID.js +307 -0
- package/dist/src/types/runelite/net/runelite/api/Client.d.ts +82 -113
- package/dist/src/types/runelite/net/runelite/api/NpcID.d.ts +1 -0
- package/dist/src/types/runelite/net/runelite/api/NullObjectID.d.ts +8 -3
- package/dist/src/types/runelite/net/runelite/api/ObjectID.d.ts +16 -5
- package/dist/src/types/runelite/net/runelite/api/gameval/DBTableID.d.ts +9 -10
- package/dist/src/types/runelite/net/runelite/api/gameval/InterfaceID.d.ts +118 -116
- package/dist/src/types/runelite/net/runelite/api/gameval/NpcID.d.ts +1 -0
- package/dist/src/types/runelite/net/runelite/api/gameval/ObjectID1.d.ts +21 -5
- package/dist/src/types/runelite/net/runelite/api/gameval/SpriteID.d.ts +5 -0
- package/dist/src/types/runelite/net/runelite/api/gameval/VarPlayerID.d.ts +155 -0
- package/dist/src/types/runelite/net/runelite/api/gameval/VarbitID.d.ts +307 -0
- package/dist/src/types/runelite/net/runelite/api/widgets/ComponentID.d.ts +8 -8
- package/package.json +1 -1
|
@@ -78,7 +78,7 @@ declare namespace net.runelite.api {
|
|
|
78
78
|
* @param sender the sender/channel name
|
|
79
79
|
* @return the message node for the message
|
|
80
80
|
*/
|
|
81
|
-
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string
|
|
81
|
+
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string): MessageNode;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Adds a new chat message to the chatbox.
|
|
@@ -90,7 +90,7 @@ declare namespace net.runelite.api {
|
|
|
90
90
|
* @param postEvent whether to post the chat message event
|
|
91
91
|
* @return the message node for the message
|
|
92
92
|
*/
|
|
93
|
-
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string
|
|
93
|
+
addChatMessage(type: ChatMessageType, name: string, message: string, sender: string, postEvent: boolean): MessageNode;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* Gets the current game state.
|
|
@@ -107,8 +107,7 @@ declare namespace net.runelite.api {
|
|
|
107
107
|
setGameState(gameState: GameState): void;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* Causes the client to shutdown.
|
|
111
|
-
* {@link java.applet.Applet#stop()} because it doesn't wait for 4000ms.
|
|
110
|
+
* Causes the client to shutdown.
|
|
112
111
|
* This will call {@link System#exit} when it is done
|
|
113
112
|
*/
|
|
114
113
|
stopNow(): void;
|
|
@@ -126,7 +125,6 @@ declare namespace net.runelite.api {
|
|
|
126
125
|
*
|
|
127
126
|
* @return the logged in username
|
|
128
127
|
* @see OAuthApi#getAccountHash()
|
|
129
|
-
* @deprecated
|
|
130
128
|
*/
|
|
131
129
|
getUsername(): string;
|
|
132
130
|
|
|
@@ -359,15 +357,7 @@ declare namespace net.runelite.api {
|
|
|
359
357
|
* @param scale the scale of the sprite
|
|
360
358
|
* @return the created sprite
|
|
361
359
|
*/
|
|
362
|
-
createItemSprite(
|
|
363
|
-
itemId: number,
|
|
364
|
-
quantity: number,
|
|
365
|
-
border: number,
|
|
366
|
-
shadowColor: number,
|
|
367
|
-
stackable: number,
|
|
368
|
-
noted: boolean,
|
|
369
|
-
scale: number
|
|
370
|
-
): SpritePixels | null;
|
|
360
|
+
createItemSprite(itemId: number, quantity: number, border: number, shadowColor: number, stackable: number, noted: boolean, scale: number): SpritePixels | null;
|
|
371
361
|
|
|
372
362
|
/**
|
|
373
363
|
* Get the item model cache. These models are used for drawing widgets of type {@link net.runelite.api.widgets.WidgetType#MODEL}
|
|
@@ -476,7 +466,6 @@ declare namespace net.runelite.api {
|
|
|
476
466
|
*
|
|
477
467
|
* @param widget the widget info
|
|
478
468
|
* @return the widget
|
|
479
|
-
* @deprecated
|
|
480
469
|
*/
|
|
481
470
|
getWidget(widget: net.runelite.api.widgets.WidgetInfo): net.runelite.api.widgets.Widget | null;
|
|
482
471
|
|
|
@@ -568,7 +557,6 @@ declare namespace net.runelite.api {
|
|
|
568
557
|
* @return the newly created menu entry
|
|
569
558
|
* @see #getMenu()
|
|
570
559
|
* @see Menu#createMenuEntry(int)
|
|
571
|
-
* @deprecated
|
|
572
560
|
*/
|
|
573
561
|
createMenuEntry(idx: number): MenuEntry;
|
|
574
562
|
|
|
@@ -579,7 +567,6 @@ declare namespace net.runelite.api {
|
|
|
579
567
|
* @return array of open menu entries
|
|
580
568
|
* @see #getMenu()
|
|
581
569
|
* @see Menu#getMenuEntries()
|
|
582
|
-
* @deprecated
|
|
583
570
|
*/
|
|
584
571
|
getMenuEntries(): MenuEntry[];
|
|
585
572
|
|
|
@@ -592,7 +579,6 @@ declare namespace net.runelite.api {
|
|
|
592
579
|
* @param entries new array of open menu entries
|
|
593
580
|
* @see #getMenu()
|
|
594
581
|
* @see Menu#setMenuEntries(MenuEntry[])
|
|
595
|
-
* @deprecated
|
|
596
582
|
*/
|
|
597
583
|
setMenuEntries(entries: MenuEntry[]): void;
|
|
598
584
|
|
|
@@ -626,7 +612,6 @@ declare namespace net.runelite.api {
|
|
|
626
612
|
*
|
|
627
613
|
* @return the menu x location
|
|
628
614
|
* @see Menu#getMenuX()
|
|
629
|
-
* @deprecated
|
|
630
615
|
*/
|
|
631
616
|
getMenuX(): number;
|
|
632
617
|
|
|
@@ -635,7 +620,6 @@ declare namespace net.runelite.api {
|
|
|
635
620
|
*
|
|
636
621
|
* @return the menu y location
|
|
637
622
|
* @see Menu#getMenuY()
|
|
638
|
-
* @deprecated
|
|
639
623
|
*/
|
|
640
624
|
getMenuY(): number;
|
|
641
625
|
|
|
@@ -644,7 +628,6 @@ declare namespace net.runelite.api {
|
|
|
644
628
|
*
|
|
645
629
|
* @return the menu height
|
|
646
630
|
* @see Menu#getMenuHeight()
|
|
647
|
-
* @deprecated
|
|
648
631
|
*/
|
|
649
632
|
getMenuHeight(): number;
|
|
650
633
|
|
|
@@ -653,7 +636,6 @@ declare namespace net.runelite.api {
|
|
|
653
636
|
*
|
|
654
637
|
* @return the menu width
|
|
655
638
|
* @see Menu#getMenuWidth()
|
|
656
|
-
* @deprecated
|
|
657
639
|
*/
|
|
658
640
|
getMenuWidth(): number;
|
|
659
641
|
|
|
@@ -662,7 +644,6 @@ declare namespace net.runelite.api {
|
|
|
662
644
|
*
|
|
663
645
|
* @return the map angle
|
|
664
646
|
* @see #getCameraYawTarget()
|
|
665
|
-
* @deprecated
|
|
666
647
|
*/
|
|
667
648
|
getMapAngle(): number;
|
|
668
649
|
|
|
@@ -706,7 +687,6 @@ declare namespace net.runelite.api {
|
|
|
706
687
|
* @param varbit the varbit id
|
|
707
688
|
* @return the value
|
|
708
689
|
* @see Client#getVarbitValue(int)
|
|
709
|
-
* @deprecated
|
|
710
690
|
*/
|
|
711
691
|
getVar(varbit: number): number;
|
|
712
692
|
|
|
@@ -1072,9 +1052,11 @@ declare namespace net.runelite.api {
|
|
|
1072
1052
|
loadModelData(id: number): ModelData | null;
|
|
1073
1053
|
|
|
1074
1054
|
mergeModels(models: ModelData[], length: number): ModelData;
|
|
1055
|
+
|
|
1075
1056
|
mergeModels(...models: ModelData[]): ModelData;
|
|
1076
1057
|
|
|
1077
1058
|
mergeModels(models: Model[], length: number): Model;
|
|
1059
|
+
|
|
1078
1060
|
mergeModels(...models: Model[]): Model;
|
|
1079
1061
|
|
|
1080
1062
|
/**
|
|
@@ -1394,7 +1376,6 @@ declare namespace net.runelite.api {
|
|
|
1394
1376
|
*
|
|
1395
1377
|
* @return the world map overview
|
|
1396
1378
|
* @see #getWorldMap()
|
|
1397
|
-
* @deprecated
|
|
1398
1379
|
*/
|
|
1399
1380
|
getRenderOverview(): RenderOverview;
|
|
1400
1381
|
|
|
@@ -1529,13 +1510,6 @@ declare namespace net.runelite.api {
|
|
|
1529
1510
|
*/
|
|
1530
1511
|
hasHintArrow(): boolean;
|
|
1531
1512
|
|
|
1532
|
-
/**
|
|
1533
|
-
* Gets the type of hint arrow currently displayed.
|
|
1534
|
-
*
|
|
1535
|
-
* @return the hint arrow type
|
|
1536
|
-
*/
|
|
1537
|
-
getHintArrowType(): number;
|
|
1538
|
-
|
|
1539
1513
|
/**
|
|
1540
1514
|
* Clears the current hint arrow.
|
|
1541
1515
|
*/
|
|
@@ -1591,6 +1565,7 @@ declare namespace net.runelite.api {
|
|
|
1591
1565
|
getHintArrowNpc(): NPC;
|
|
1592
1566
|
|
|
1593
1567
|
getAnimationInterpolationFilter(): (id: number) => boolean;
|
|
1568
|
+
|
|
1594
1569
|
setAnimationInterpolationFilter(filter: (id: number) => boolean): void;
|
|
1595
1570
|
|
|
1596
1571
|
getBoostedSkillLevels(): number[];
|
|
@@ -1649,7 +1624,6 @@ declare namespace net.runelite.api {
|
|
|
1649
1624
|
* Sets the inventory drag delay in client game cycles (20ms).
|
|
1650
1625
|
*
|
|
1651
1626
|
* @param delay the number of game cycles to delay dragging
|
|
1652
|
-
* @deprecated
|
|
1653
1627
|
*/
|
|
1654
1628
|
setInventoryDragDelay(delay: number): void;
|
|
1655
1629
|
|
|
@@ -1664,7 +1638,7 @@ declare namespace net.runelite.api {
|
|
|
1664
1638
|
*
|
|
1665
1639
|
* @return the types for current world
|
|
1666
1640
|
*/
|
|
1667
|
-
getWorldType():
|
|
1641
|
+
getWorldType(): EnumSet<WorldType>;
|
|
1668
1642
|
|
|
1669
1643
|
/**
|
|
1670
1644
|
* Get the camera mode
|
|
@@ -1724,7 +1698,6 @@ declare namespace net.runelite.api {
|
|
|
1724
1698
|
|
|
1725
1699
|
/**
|
|
1726
1700
|
* Gets the enabled state for the Oculus orb mode
|
|
1727
|
-
* @deprecated
|
|
1728
1701
|
*/
|
|
1729
1702
|
getOculusOrbState(): number;
|
|
1730
1703
|
|
|
@@ -1732,25 +1705,21 @@ declare namespace net.runelite.api {
|
|
|
1732
1705
|
* Sets the enabled state for the Oculus orb state
|
|
1733
1706
|
*
|
|
1734
1707
|
* @param state boolean enabled value
|
|
1735
|
-
* @deprecated
|
|
1736
1708
|
*/
|
|
1737
1709
|
setOculusOrbState(state: number): void;
|
|
1738
1710
|
|
|
1739
1711
|
/**
|
|
1740
1712
|
* Sets the normal moving speed when using oculus orb (default value is 12)
|
|
1741
|
-
* @deprecated
|
|
1742
1713
|
*/
|
|
1743
1714
|
setOculusOrbNormalSpeed(speed: number): void;
|
|
1744
1715
|
|
|
1745
1716
|
/**
|
|
1746
1717
|
* Gets local X coord where the camera is pointing when the Oculus orb is active
|
|
1747
|
-
* @deprecated
|
|
1748
1718
|
*/
|
|
1749
1719
|
getOculusOrbFocalPointX(): number;
|
|
1750
1720
|
|
|
1751
1721
|
/**
|
|
1752
1722
|
* Gets local Y coord where the camera is pointing when the Oculus orb is active
|
|
1753
|
-
* @deprecated
|
|
1754
1723
|
*/
|
|
1755
1724
|
getOculusOrbFocalPointY(): number;
|
|
1756
1725
|
|
|
@@ -1776,31 +1745,30 @@ declare namespace net.runelite.api {
|
|
|
1776
1745
|
getSkyboxColor(): number;
|
|
1777
1746
|
|
|
1778
1747
|
isGpu(): boolean;
|
|
1748
|
+
|
|
1779
1749
|
setGpuFlags(gpuflags: number): void;
|
|
1780
1750
|
|
|
1781
1751
|
setExpandedMapLoading(chunks: number): void;
|
|
1752
|
+
|
|
1782
1753
|
getExpandedMapLoading(): number;
|
|
1783
1754
|
|
|
1784
1755
|
get3dZoom(): number;
|
|
1756
|
+
|
|
1785
1757
|
getCenterX(): number;
|
|
1758
|
+
|
|
1786
1759
|
getCenterY(): number;
|
|
1787
1760
|
|
|
1788
1761
|
getTextureProvider(): TextureProvider;
|
|
1789
1762
|
|
|
1790
1763
|
getRasterizer3D_clipMidX2(): number;
|
|
1764
|
+
|
|
1791
1765
|
getRasterizer3D_clipNegativeMidX(): number;
|
|
1766
|
+
|
|
1792
1767
|
getRasterizer3D_clipNegativeMidY(): number;
|
|
1768
|
+
|
|
1793
1769
|
getRasterizer3D_clipMidY2(): number;
|
|
1794
1770
|
|
|
1795
|
-
checkClickbox(
|
|
1796
|
-
projection: Projection,
|
|
1797
|
-
model: Model,
|
|
1798
|
-
orientation: number,
|
|
1799
|
-
x: number,
|
|
1800
|
-
y: number,
|
|
1801
|
-
z: number,
|
|
1802
|
-
hash: number
|
|
1803
|
-
): void;
|
|
1771
|
+
checkClickbox(projection: Projection, model: Model, orientation: number, x: number, y: number, z: number, hash: number): void;
|
|
1804
1772
|
|
|
1805
1773
|
/**
|
|
1806
1774
|
* Is a widget is in target mode?
|
|
@@ -1818,6 +1786,11 @@ declare namespace net.runelite.api {
|
|
|
1818
1786
|
*/
|
|
1819
1787
|
getSelectedWidget(): net.runelite.api.widgets.Widget | null;
|
|
1820
1788
|
|
|
1789
|
+
/**
|
|
1790
|
+
* Gets the current active {@link net.runelite.api.widgets.WidgetType#INPUT_FIELD} Widget
|
|
1791
|
+
*/
|
|
1792
|
+
getFocusedInputFieldWidget(): net.runelite.api.widgets.Widget | null;
|
|
1793
|
+
|
|
1821
1794
|
/**
|
|
1822
1795
|
* Returns client item composition cache
|
|
1823
1796
|
*/
|
|
@@ -1958,12 +1931,12 @@ declare namespace net.runelite.api {
|
|
|
1958
1931
|
getClanSettings(clanId: number): net.runelite.api.clan.ClanSettings | null;
|
|
1959
1932
|
|
|
1960
1933
|
setUnlockedFps(unlock: boolean): void;
|
|
1934
|
+
|
|
1961
1935
|
setUnlockedFpsTarget(fps: number): void;
|
|
1962
1936
|
|
|
1963
1937
|
/**
|
|
1964
1938
|
* Gets the ambient sound effects
|
|
1965
1939
|
* @return
|
|
1966
|
-
* @deprecated
|
|
1967
1940
|
*/
|
|
1968
1941
|
getAmbientSoundEffects(): java.util.Deque<AmbientSoundEffect>;
|
|
1969
1942
|
|
|
@@ -2011,15 +1984,7 @@ declare namespace net.runelite.api {
|
|
|
2011
1984
|
|
|
2012
1985
|
getRasterizer(): Rasterizer;
|
|
2013
1986
|
|
|
2014
|
-
menuAction(
|
|
2015
|
-
p0: number,
|
|
2016
|
-
p1: number,
|
|
2017
|
-
action: MenuAction,
|
|
2018
|
-
id: number,
|
|
2019
|
-
itemId: number,
|
|
2020
|
-
option: string,
|
|
2021
|
-
target: string
|
|
2022
|
-
): void;
|
|
1987
|
+
menuAction(p0: number, p1: number, action: MenuAction, id: number, itemId: number, option: string, target: string): void;
|
|
2023
1988
|
|
|
2024
1989
|
/**
|
|
2025
1990
|
* Get worldview by id
|
|
@@ -2047,7 +2012,27 @@ declare namespace net.runelite.api {
|
|
|
2047
2012
|
setCameraShakeDisabled(disabled: boolean): void;
|
|
2048
2013
|
|
|
2049
2014
|
/**
|
|
2050
|
-
*
|
|
2015
|
+
* Draw all 2D extras. This is the default.
|
|
2016
|
+
*/
|
|
2017
|
+
static readonly DRAW_2D_ALL: number;
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* Hide all 2D extras.
|
|
2021
|
+
*/
|
|
2022
|
+
static readonly DRAW_2D_NONE: number;
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* Render overhead text.
|
|
2026
|
+
*/
|
|
2027
|
+
static readonly DRAW_2D_OVERHEAD_TEXT: number;
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* Render elements not otherwise specified in this bitflag.
|
|
2031
|
+
*/
|
|
2032
|
+
static readonly DRAW_2D_OTHERS: number;
|
|
2033
|
+
|
|
2034
|
+
/**
|
|
2035
|
+
* Gets the current draw2D mask.
|
|
2051
2036
|
* @return the current mask
|
|
2052
2037
|
* @see Client#setDraw2DMask(int)
|
|
2053
2038
|
*/
|
|
@@ -2080,7 +2065,6 @@ declare namespace net.runelite.api {
|
|
|
2080
2065
|
* @see Constants#CHUNK_SIZE
|
|
2081
2066
|
* @see InstanceTemplates
|
|
2082
2067
|
* @see WorldView#getInstanceTemplateChunks()
|
|
2083
|
-
* @deprecated
|
|
2084
2068
|
*/
|
|
2085
2069
|
getInstanceTemplateChunks(): number[][][];
|
|
2086
2070
|
|
|
@@ -2095,14 +2079,12 @@ declare namespace net.runelite.api {
|
|
|
2095
2079
|
* spread across 4 integers.
|
|
2096
2080
|
*
|
|
2097
2081
|
* @return the XTEA encryption keys
|
|
2098
|
-
* @deprecated
|
|
2099
2082
|
*/
|
|
2100
2083
|
getXteaKeys(): number[][];
|
|
2101
2084
|
|
|
2102
2085
|
/**
|
|
2103
2086
|
* Checks whether the scene is in an instanced region.
|
|
2104
2087
|
* @see WorldView#isInstance()
|
|
2105
|
-
* @deprecated
|
|
2106
2088
|
*/
|
|
2107
2089
|
isInInstancedRegion(): boolean;
|
|
2108
2090
|
|
|
@@ -2110,23 +2092,20 @@ declare namespace net.runelite.api {
|
|
|
2110
2092
|
* Gets an array of map region IDs that are currently loaded.
|
|
2111
2093
|
*
|
|
2112
2094
|
* @return the map regions
|
|
2113
|
-
* @deprecated
|
|
2114
2095
|
*/
|
|
2115
2096
|
getMapRegions(): number[];
|
|
2116
2097
|
|
|
2117
2098
|
/**
|
|
2118
2099
|
* Gets the current scene
|
|
2119
2100
|
* @see WorldView#getScene()
|
|
2120
|
-
* @deprecated
|
|
2121
2101
|
*/
|
|
2122
|
-
getScene(): Scene
|
|
2102
|
+
getScene(): Scene;
|
|
2123
2103
|
|
|
2124
2104
|
/**
|
|
2125
2105
|
* Gets a list of all valid players from the player cache.
|
|
2126
2106
|
*
|
|
2127
2107
|
* @return a list of all players
|
|
2128
2108
|
* @see WorldView#players()
|
|
2129
|
-
* @deprecated
|
|
2130
2109
|
*/
|
|
2131
2110
|
getPlayers(): Player[];
|
|
2132
2111
|
|
|
@@ -2135,7 +2114,6 @@ declare namespace net.runelite.api {
|
|
|
2135
2114
|
*
|
|
2136
2115
|
* @return a list of all NPCs
|
|
2137
2116
|
* @see WorldView#npcs()
|
|
2138
|
-
* @deprecated
|
|
2139
2117
|
*/
|
|
2140
2118
|
getNpcs(): NPC[];
|
|
2141
2119
|
|
|
@@ -2146,7 +2124,6 @@ declare namespace net.runelite.api {
|
|
|
2146
2124
|
*
|
|
2147
2125
|
* @return the collision data
|
|
2148
2126
|
* @see WorldView#getCollisionMaps()
|
|
2149
|
-
* @deprecated
|
|
2150
2127
|
*/
|
|
2151
2128
|
getCollisionMaps(): CollisionData[] | null;
|
|
2152
2129
|
|
|
@@ -2162,7 +2139,6 @@ declare namespace net.runelite.api {
|
|
|
2162
2139
|
*
|
|
2163
2140
|
* @return the plane
|
|
2164
2141
|
* @see WorldView#getPlane()
|
|
2165
|
-
* @deprecated
|
|
2166
2142
|
*/
|
|
2167
2143
|
getPlane(): number;
|
|
2168
2144
|
|
|
@@ -2172,7 +2148,6 @@ declare namespace net.runelite.api {
|
|
|
2172
2148
|
*
|
|
2173
2149
|
* @return the tile heights
|
|
2174
2150
|
* @see WorldView#getTileHeights()
|
|
2175
|
-
* @deprecated
|
|
2176
2151
|
*/
|
|
2177
2152
|
getTileHeights(): number[][][];
|
|
2178
2153
|
|
|
@@ -2182,7 +2157,6 @@ declare namespace net.runelite.api {
|
|
|
2182
2157
|
*
|
|
2183
2158
|
* @return the tile settings
|
|
2184
2159
|
* @see WorldView#getTileSettings()
|
|
2185
|
-
* @deprecated
|
|
2186
2160
|
*/
|
|
2187
2161
|
getTileSettings(): number[][][];
|
|
2188
2162
|
|
|
@@ -2194,7 +2168,6 @@ declare namespace net.runelite.api {
|
|
|
2194
2168
|
*
|
|
2195
2169
|
* @return the base x-axis coordinate
|
|
2196
2170
|
* @see WorldView#getBaseX()
|
|
2197
|
-
* @deprecated
|
|
2198
2171
|
*/
|
|
2199
2172
|
getBaseX(): number;
|
|
2200
2173
|
|
|
@@ -2206,7 +2179,6 @@ declare namespace net.runelite.api {
|
|
|
2206
2179
|
*
|
|
2207
2180
|
* @return the base y-axis coordinate
|
|
2208
2181
|
* @see WorldView#getBaseY()
|
|
2209
|
-
* @deprecated
|
|
2210
2182
|
*/
|
|
2211
2183
|
getBaseY(): number;
|
|
2212
2184
|
|
|
@@ -2226,23 +2198,8 @@ declare namespace net.runelite.api {
|
|
|
2226
2198
|
* @param targetX target x - if an actor target is supplied should be the target x
|
|
2227
2199
|
* @param targetY target y - if an actor target is supplied should be the target y
|
|
2228
2200
|
* @return the new projectile
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
createProjectile(
|
|
2232
|
-
id: number,
|
|
2233
|
-
plane: number,
|
|
2234
|
-
startX: number,
|
|
2235
|
-
startY: number,
|
|
2236
|
-
startZ: number,
|
|
2237
|
-
startCycle: number,
|
|
2238
|
-
endCycle: number,
|
|
2239
|
-
slope: number,
|
|
2240
|
-
startHeight: number,
|
|
2241
|
-
endHeight: number,
|
|
2242
|
-
target: Actor | null,
|
|
2243
|
-
targetX: number,
|
|
2244
|
-
targetY: number
|
|
2245
|
-
): Projectile;
|
|
2201
|
+
*/
|
|
2202
|
+
createProjectile(id: number, plane: number, startX: number, startY: number, startZ: number, startCycle: number, endCycle: number, slope: number, startHeight: number, endHeight: number, target: Actor | null, targetX: number, targetY: number): Projectile;
|
|
2246
2203
|
|
|
2247
2204
|
/**
|
|
2248
2205
|
* Create a projectile.
|
|
@@ -2260,19 +2217,7 @@ declare namespace net.runelite.api {
|
|
|
2260
2217
|
* @see net.runelite.api.gameval.SpotanimID
|
|
2261
2218
|
* @return the new projectile
|
|
2262
2219
|
*/
|
|
2263
|
-
createProjectile(
|
|
2264
|
-
spotanimId: number,
|
|
2265
|
-
source: net.runelite.api.coords.WorldPoint,
|
|
2266
|
-
sourceHeightOffset: number,
|
|
2267
|
-
sourceActor: Actor | null,
|
|
2268
|
-
target: net.runelite.api.coords.WorldPoint,
|
|
2269
|
-
targetHeightOffset: number,
|
|
2270
|
-
targetActor: Actor | null,
|
|
2271
|
-
startCycle: number,
|
|
2272
|
-
endCycle: number,
|
|
2273
|
-
slope: number,
|
|
2274
|
-
startPos: number
|
|
2275
|
-
): Projectile;
|
|
2220
|
+
createProjectile(spotanimId: number, source: net.runelite.api.coords.WorldPoint, sourceHeightOffset: number, sourceActor: Actor | null, target: net.runelite.api.coords.WorldPoint, targetHeightOffset: number, targetActor: Actor | null, startCycle: number, endCycle: number, slope: number, startPos: number): Projectile;
|
|
2276
2221
|
|
|
2277
2222
|
/**
|
|
2278
2223
|
* Gets a list of all projectiles currently spawned.
|
|
@@ -2286,7 +2231,6 @@ declare namespace net.runelite.api {
|
|
|
2286
2231
|
*
|
|
2287
2232
|
* @return all graphics objects
|
|
2288
2233
|
* @see WorldView#getGraphicsObjects()
|
|
2289
|
-
* @deprecated
|
|
2290
2234
|
*/
|
|
2291
2235
|
getGraphicsObjects(): java.util.Deque<GraphicsObject>;
|
|
2292
2236
|
|
|
@@ -2295,7 +2239,6 @@ declare namespace net.runelite.api {
|
|
|
2295
2239
|
*
|
|
2296
2240
|
* @return the selected tile
|
|
2297
2241
|
* @see WorldView#getSelectedSceneTile()
|
|
2298
|
-
* @deprecated
|
|
2299
2242
|
*/
|
|
2300
2243
|
getSelectedSceneTile(): Tile | null;
|
|
2301
2244
|
|
|
@@ -2305,12 +2248,38 @@ declare namespace net.runelite.api {
|
|
|
2305
2248
|
* Vertices are cloned from the source model. Face transparencies are copied if either animation
|
|
2306
2249
|
* animates transparency, otherwise it will share a reference. All other fields share a reference.
|
|
2307
2250
|
*/
|
|
2308
|
-
applyTransformations(
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2251
|
+
applyTransformations(model: Model, animA: Animation | null, frameA: number, animB: Animation | null, frameB: number): Model;
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Creates a SceneTilePaint instance, which can be attached to a Tile to control its appearance.
|
|
2255
|
+
*
|
|
2256
|
+
* @see Tile#setSceneTilePaint(SceneTilePaint)
|
|
2257
|
+
*
|
|
2258
|
+
* @param swColor the color of the south-west corner of the tile
|
|
2259
|
+
* @param seColor the color of the south-east corner of the tile
|
|
2260
|
+
* @param neColor the color of the north-east corner of the tile
|
|
2261
|
+
* @param nwColor the color of the north-west corner of the tile
|
|
2262
|
+
* @param texture the texture to render for the tile, or -1 to use the colors
|
|
2263
|
+
* @param minimapRgb the color to use when rendering the minimap
|
|
2264
|
+
* @param flatShade whether the tile is flat
|
|
2265
|
+
* @return the newly created SceneTilePaint
|
|
2266
|
+
*/
|
|
2267
|
+
createSceneTilePaint(swColor: number, seColor: number, neColor: number, nwColor: number, texture: number, minimapRgb: number, flatShade: boolean): SceneTilePaint;
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Get the entity that the camera is focused on
|
|
2271
|
+
*
|
|
2272
|
+
* @return
|
|
2273
|
+
*/
|
|
2274
|
+
getCameraFocusEntity(): CameraFocusableEntity;
|
|
2275
|
+
|
|
2276
|
+
/**
|
|
2277
|
+
* Find the worldview a given worldpoint belongs in
|
|
2278
|
+
* @param point
|
|
2279
|
+
* @return
|
|
2280
|
+
*/
|
|
2281
|
+
findWorldViewFromWorldPoint(point: net.runelite.api.coords.WorldPoint): WorldView;
|
|
2282
|
+
|
|
2283
|
+
getSocketFD(): java.io.FileDescriptor | null;
|
|
2315
2284
|
}
|
|
2316
|
-
}
|
|
2285
|
+
}
|
|
@@ -13009,5 +13009,6 @@ declare namespace net.runelite.api {
|
|
|
13009
13009
|
static readonly KETZEK_15572 = 15572;
|
|
13010
13010
|
static readonly KETZEK_15573 = 15573;
|
|
13011
13011
|
static readonly TZTOKJAD_15574 = 15574;
|
|
13012
|
+
static readonly TIGER_SHARK_15575 = 15575;
|
|
13012
13013
|
}
|
|
13013
13014
|
}
|
|
@@ -20909,7 +20909,6 @@ declare namespace net.runelite.api {
|
|
|
20909
20909
|
static readonly NULL_42640 = 42640;
|
|
20910
20910
|
static readonly NULL_42647 = 42647;
|
|
20911
20911
|
static readonly NULL_42648 = 42648;
|
|
20912
|
-
static readonly NULL_42650 = 42650;
|
|
20913
20912
|
static readonly NULL_42651 = 42651;
|
|
20914
20913
|
static readonly NULL_42652 = 42652;
|
|
20915
20914
|
static readonly NULL_42653 = 42653;
|
|
@@ -30240,8 +30239,6 @@ declare namespace net.runelite.api {
|
|
|
30240
30239
|
static readonly NULL_58496 = 58496;
|
|
30241
30240
|
static readonly NULL_58497 = 58497;
|
|
30242
30241
|
static readonly NULL_58498 = 58498;
|
|
30243
|
-
static readonly NULL_58504 = 58504;
|
|
30244
|
-
static readonly NULL_58505 = 58505;
|
|
30245
30242
|
static readonly NULL_58506 = 58506;
|
|
30246
30243
|
static readonly NULL_58507 = 58507;
|
|
30247
30244
|
static readonly NULL_58508 = 58508;
|
|
@@ -31323,8 +31320,16 @@ declare namespace net.runelite.api {
|
|
|
31323
31320
|
static readonly NULL_60617 = 60617;
|
|
31324
31321
|
static readonly NULL_60618 = 60618;
|
|
31325
31322
|
static readonly NULL_60643 = 60643;
|
|
31323
|
+
static readonly NULL_60644 = 60644;
|
|
31326
31324
|
static readonly NULL_60646 = 60646;
|
|
31327
31325
|
static readonly NULL_60661 = 60661;
|
|
31328
31326
|
static readonly NULL_60662 = 60662;
|
|
31327
|
+
static readonly NULL_60674 = 60674;
|
|
31328
|
+
static readonly NULL_60675 = 60675;
|
|
31329
|
+
static readonly NULL_60676 = 60676;
|
|
31330
|
+
static readonly NULL_60677 = 60677;
|
|
31331
|
+
static readonly NULL_60678 = 60678;
|
|
31332
|
+
static readonly NULL_60679 = 60679;
|
|
31333
|
+
static readonly NULL_60680 = 60680;
|
|
31329
31334
|
}
|
|
31330
31335
|
}
|
|
@@ -27408,10 +27408,10 @@ declare namespace net.runelite.api {
|
|
|
27408
27408
|
static readonly STRANGE_TILE_56670 = 56670;
|
|
27409
27409
|
static readonly TELEPORT_SPELL = 56671;
|
|
27410
27410
|
static readonly TELEPORT_SPELL_56672 = 56672;
|
|
27411
|
-
static readonly
|
|
27411
|
+
static readonly STATUE_56674 = 56674;
|
|
27412
27412
|
static readonly STATUE_56675 = 56675;
|
|
27413
|
-
static readonly
|
|
27414
|
-
static readonly
|
|
27413
|
+
static readonly STATUE_56677 = 56677;
|
|
27414
|
+
static readonly STATUE_56678 = 56678;
|
|
27415
27415
|
static readonly SUN_STATUE = 56680;
|
|
27416
27416
|
static readonly SUN_STATUE_56681 = 56681;
|
|
27417
27417
|
static readonly URN_56683 = 56683;
|
|
@@ -28243,8 +28243,6 @@ declare namespace net.runelite.api {
|
|
|
28243
28243
|
static readonly CORAL_DREDGER = 58499;
|
|
28244
28244
|
static readonly CORAL_DREDGER_58500 = 58500;
|
|
28245
28245
|
static readonly CORAL_DREDGER_58501 = 58501;
|
|
28246
|
-
static readonly CORAL_REFINER = 58502;
|
|
28247
|
-
static readonly ANCHOR_58503 = 58503;
|
|
28248
28246
|
static readonly CHAIR_58519 = 58519;
|
|
28249
28247
|
static readonly CACTUS_58520 = 58520;
|
|
28250
28248
|
static readonly BUBBLES_58525 = 58525;
|
|
@@ -29302,6 +29300,7 @@ declare namespace net.runelite.api {
|
|
|
29302
29300
|
static readonly IRONWOOD_CARGO_HOLD_60640 = 60640;
|
|
29303
29301
|
static readonly ROSEWOOD_CARGO_HOLD_60641 = 60641;
|
|
29304
29302
|
static readonly ROSEWOOD_CARGO_HOLD_60642 = 60642;
|
|
29303
|
+
static readonly DIVING_BELL = 60645;
|
|
29305
29304
|
static readonly STAINEDGLASS_WINDOW_60647 = 60647;
|
|
29306
29305
|
static readonly STAINEDGLASS_WINDOW_60648 = 60648;
|
|
29307
29306
|
static readonly SHUTTERED_WINDOW_60649 = 60649;
|
|
@@ -29316,5 +29315,17 @@ declare namespace net.runelite.api {
|
|
|
29316
29315
|
static readonly DECORATIVE_WINDOW_60658 = 60658;
|
|
29317
29316
|
static readonly STAINEDGLASS_WINDOW_60659 = 60659;
|
|
29318
29317
|
static readonly WINDOW_SPACE_60660 = 60660;
|
|
29318
|
+
static readonly CRANE_60663 = 60663;
|
|
29319
|
+
static readonly CORAL_60664 = 60664;
|
|
29320
|
+
static readonly CORAL_60665 = 60665;
|
|
29321
|
+
static readonly CORAL_60666 = 60666;
|
|
29322
|
+
static readonly CORAL_60667 = 60667;
|
|
29323
|
+
static readonly CORAL_60668 = 60668;
|
|
29324
|
+
static readonly CORAL_60669 = 60669;
|
|
29325
|
+
static readonly CORAL_60670 = 60670;
|
|
29326
|
+
static readonly CORAL_60671 = 60671;
|
|
29327
|
+
static readonly CORAL_60672 = 60672;
|
|
29328
|
+
static readonly CORAL_60673 = 60673;
|
|
29329
|
+
static readonly FOUNTAIN_60681 = 60681;
|
|
29319
29330
|
}
|
|
29320
29331
|
}
|
|
@@ -247,13 +247,13 @@ declare namespace net.runelite.api.gameval {
|
|
|
247
247
|
static readonly ROW_QUEST_EXISTENTIALCRISIS = 5192;
|
|
248
248
|
static readonly ROW_QUEST_IMPENDINGCHAOS = 5193;
|
|
249
249
|
static readonly ROW_MINIQUEST_VALETOTEMS = 5194;
|
|
250
|
-
static readonly ROW_MINIQUEST_TUTORIALISLAND = 7033;
|
|
251
250
|
static readonly ROW_QUEST_PANDEMONIUM = 7103;
|
|
252
251
|
static readonly ROW_QUEST_PRYINGTIMES = 7104;
|
|
253
252
|
static readonly ROW_QUEST_CURRENTAFFAIRS = 7105;
|
|
254
253
|
static readonly ROW_QUEST_TROUBLEDTORTUGANS = 7106;
|
|
255
254
|
static readonly ROW_QUEST_REDREEF = 7107;
|
|
256
255
|
static readonly ROW_QUEST_BURIALATSEA = 7108;
|
|
256
|
+
static readonly ROW_QUEST_LEARNINGTHEROPES = 9643;
|
|
257
257
|
static readonly EVENTS_ID = 1;
|
|
258
258
|
static readonly ROW_XMAS_2022 = 2331;
|
|
259
259
|
static readonly ROW_BIRTHDAY_2023 = 2341;
|
|
@@ -3435,13 +3435,14 @@ declare namespace net.runelite.api.gameval {
|
|
|
3435
3435
|
static readonly MUSIC_COL_DURATION = 3;
|
|
3436
3436
|
static readonly MUSIC_COL_MIDI = 4;
|
|
3437
3437
|
static readonly MUSIC_COL_VARIABLE = 5;
|
|
3438
|
-
static readonly
|
|
3439
|
-
static readonly
|
|
3440
|
-
static readonly
|
|
3441
|
-
static readonly
|
|
3442
|
-
static readonly
|
|
3443
|
-
static readonly
|
|
3444
|
-
static readonly
|
|
3438
|
+
static readonly MUSIC_COL_AUTOMATIC_UNLOCK = 6;
|
|
3439
|
+
static readonly MUSIC_COL_AREA = 7;
|
|
3440
|
+
static readonly MUSIC_COL_AREA_DEFAULT = 8;
|
|
3441
|
+
static readonly MUSIC_COL_HIDDEN = 9;
|
|
3442
|
+
static readonly MUSIC_COL_HOLIDAY = 10;
|
|
3443
|
+
static readonly MUSIC_COL_SECONDARY_TRACK = 11;
|
|
3444
|
+
static readonly MUSIC_COL_RELEASE_TYPE = 12;
|
|
3445
|
+
static readonly MUSIC_COL_RELATED_CONTENT = 13;
|
|
3445
3446
|
static readonly ROW_MUSIC_RAT_BOSS = 2;
|
|
3446
3447
|
static readonly ROW_MUSIC_7TH_REALM = 2511;
|
|
3447
3448
|
static readonly ROW_MUSIC_A_FARMERS_GRIND = 2512;
|
|
@@ -9728,8 +9729,6 @@ declare namespace net.runelite.api.gameval {
|
|
|
9728
9729
|
static readonly ROW_SAILING_NPC_BOAT_BT_TRIAL_MASTER_3_BOAT = 8658;
|
|
9729
9730
|
static readonly ROW_SAILING_NPC_BOAT_TROUBLED_TORTUGANS_RED_REEF = 8659;
|
|
9730
9731
|
static readonly ROW_SAILING_NPC_BOAT_RED_REEF_ZENITH = 8660;
|
|
9731
|
-
static readonly ROW_SAILING_NPC_BOAT_DYNAMIC_1 = 8661;
|
|
9732
|
-
static readonly ROW_SAILING_NPC_BOAT_DYNAMIC_2 = 8662;
|
|
9733
9732
|
static readonly SAILINGBOATCARGOHOLDWHITELISTOBJ_ID = 196;
|
|
9734
9733
|
static readonly SAILINGBOATCARGOHOLDWHITELISTOBJ_COL_ENTRY = 0;
|
|
9735
9734
|
static readonly SAILINGBOATCARGOHOLDWHITELISTOBJ_COL_ENTRY_CATEGORY = 1;
|