@deafwave/osrs-botmaker-types 0.3.1 → 0.3.8

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.
Files changed (88) hide show
  1. package/dist/src/types/java/Java.d.ts +8 -0
  2. package/dist/src/types/java/JavaImporter.d.ts +6 -0
  3. package/dist/src/types/java/awt/BorderLayout.d.ts +16 -0
  4. package/dist/src/types/java/awt/Color.d.ts +2 -0
  5. package/dist/src/types/java/awt/Component.d.ts +5 -0
  6. package/dist/src/types/java/awt/Container.d.ts +12 -0
  7. package/dist/src/types/java/awt/FlowLayout.d.ts +16 -0
  8. package/dist/src/types/java/awt/Font.d.ts +24 -0
  9. package/dist/src/types/java/awt/GradientPaint.d.ts +5 -0
  10. package/dist/src/types/java/awt/Graphics2D.d.ts +3 -1
  11. package/dist/src/types/java/awt/GridBagConstraints.d.ts +56 -0
  12. package/dist/src/types/java/awt/GridBagLayout.d.ts +13 -0
  13. package/dist/src/types/java/awt/Insets.d.ts +28 -0
  14. package/dist/src/types/java/awt/Polygon.d.ts +14 -0
  15. package/dist/src/types/java/awt/Rectangle.d.ts +18 -0
  16. package/dist/src/types/java/awt/ToolKit.d.ts +15 -0
  17. package/dist/src/types/java/awt/datatransfer/Clipboard.d.ts +40 -0
  18. package/dist/src/types/java/awt/datatransfer/ClipboardOwner.d.ts +14 -0
  19. package/dist/src/types/java/awt/datatransfer/DataFlavor.d.ts +33 -0
  20. package/dist/src/types/java/awt/datatransfer/StringSelection.d.ts +34 -0
  21. package/dist/src/types/java/awt/datatransfer/Transferable.d.ts +24 -0
  22. package/dist/src/types/java/awt/event/ActionListener.d.ts +6 -0
  23. package/dist/src/types/java/awt/event/ChangeListener.d.ts +6 -0
  24. package/dist/src/types/java/awt/event/DocumentListener.d.ts +28 -0
  25. package/dist/src/types/java/awt/event/FocusListener.d.ts +15 -0
  26. package/dist/src/types/java/awt/event/ItemListener.d.ts +11 -0
  27. package/dist/src/types/java/awt/event/KeyAdapter.d.ts +9 -0
  28. package/dist/src/types/java/awt/event/KeyEvent.d.ts +72 -8
  29. package/dist/src/types/java/awt/event/KeyListener.d.ts +7 -0
  30. package/dist/src/types/java/awt/event/MouseAdapter.d.ts +11 -0
  31. package/dist/src/types/java/awt/event/MouseListener.d.ts +11 -0
  32. package/dist/src/types/java/awt/event/WindowListener.d.ts +25 -0
  33. package/dist/src/types/java/awt/geom/AffineTransform.d.ts +47 -0
  34. package/dist/src/types/java/index.d.ts +65 -0
  35. package/dist/src/types/java/lang/Object.d.ts +18 -0
  36. package/dist/src/types/java/swing/Border.d.ts +7 -0
  37. package/dist/src/types/java/swing/BorderFactory.d.ts +18 -0
  38. package/dist/src/types/java/swing/BoxLayout.d.ts +11 -0
  39. package/dist/src/types/java/swing/CustomPanel.d.ts +5 -0
  40. package/dist/src/types/java/swing/DefaultListModel.d.ts +15 -0
  41. package/dist/src/types/java/swing/DefaultTableModel.d.ts +17 -0
  42. package/dist/src/types/java/swing/Icon.d.ts +11 -0
  43. package/dist/src/types/java/swing/JButton.d.ts +36 -0
  44. package/dist/src/types/java/swing/JCheckBox.d.ts +17 -0
  45. package/dist/src/types/java/swing/JComboBox.d.ts +25 -0
  46. package/dist/src/types/java/swing/JComponent.d.ts +20 -0
  47. package/dist/src/types/java/swing/JFrame.d.ts +31 -0
  48. package/dist/src/types/java/swing/JLabel.d.ts +27 -0
  49. package/dist/src/types/java/swing/JList.d.ts +22 -0
  50. package/dist/src/types/java/swing/JMenu.d.ts +13 -0
  51. package/dist/src/types/java/swing/JMenuBar.d.ts +11 -0
  52. package/dist/src/types/java/swing/JMenuItem.d.ts +12 -0
  53. package/dist/src/types/java/swing/JPanel.d.ts +33 -0
  54. package/dist/src/types/java/swing/JProgressBar.d.ts +18 -0
  55. package/dist/src/types/java/swing/JScrollPane.d.ts +28 -0
  56. package/dist/src/types/java/swing/JSlider.d.ts +24 -0
  57. package/dist/src/types/java/swing/JSplitPane.d.ts +22 -0
  58. package/dist/src/types/java/swing/JTabbedPane.d.ts +16 -0
  59. package/dist/src/types/java/swing/JTable.d.ts +27 -0
  60. package/dist/src/types/java/swing/JTextArea.d.ts +29 -0
  61. package/dist/src/types/java/swing/JTextField.d.ts +24 -0
  62. package/dist/src/types/java/swing/JToggleButton.d.ts +8 -0
  63. package/dist/src/types/java/swing/JToolBar.d.ts +14 -0
  64. package/dist/src/types/java/swing/ListSelectionModel.d.ts +18 -0
  65. package/dist/src/types/java/swing/TableModel.d.ts +34 -0
  66. package/dist/src/types/java/swing/createToggleboxDropdownPanel.d.ts +10 -0
  67. package/dist/src/types/java/swing/event/ListSelectionEvent.d.ts +10 -0
  68. package/dist/src/types/java/swing/event/ListSelectionListener.d.ts +5 -0
  69. package/dist/src/types/java/swing/table/DefaultTableCellRenderer.d.ts +18 -0
  70. package/dist/src/types/java/swing/table/TableColumn.d.ts +5 -0
  71. package/dist/src/types/java/swing/table/TableColumnModel.d.ts +5 -0
  72. package/dist/src/types/java/util/index.d.ts +90 -53
  73. package/dist/src/types/runelite/net/runelite/api/AnimationID.d.ts +90 -22
  74. package/dist/src/types/runelite/net/runelite/api/EnumID.d.ts +21 -0
  75. package/dist/src/types/runelite/net/runelite/api/ItemID.d.ts +730 -22
  76. package/dist/src/types/runelite/net/runelite/api/KeyCode.d.ts +99 -6
  77. package/dist/src/types/runelite/net/runelite/api/NpcID.d.ts +1222 -45
  78. package/dist/src/types/runelite/net/runelite/api/ObjectID.d.ts +2500 -208
  79. package/dist/src/types/runelite/net/runelite/api/ParamID.d.ts +163 -0
  80. package/dist/src/types/runelite/net/runelite/api/ScriptID.d.ts +96 -7
  81. package/dist/src/types/runelite/net/runelite/api/SpriteID.d.ts +139 -9
  82. package/dist/src/types/runelite/net/runelite/api/coords/WorldPoint.d.ts +16 -72
  83. package/dist/src/types/runelite/net/runelite/api/widgets/ComponentID.d.ts +80 -1789
  84. package/dist/src/types/runelite/net/runelite/api/widgets/WidgetID.d.ts +155 -157
  85. package/dist/src/types/runelite/net/runelite/client/config/ConfigManager.d.ts +101 -112
  86. package/dist/src/types/sox/api/bot.d.ts +93 -4
  87. package/dist/src/types/sox/index.d.ts +45 -2
  88. package/package.json +53 -53
@@ -38,6 +38,167 @@ declare namespace net.runelite.api {
38
38
  static readonly OC_ITEM_OP7 = 457;
39
39
  static readonly OC_ITEM_OP8 = 458;
40
40
 
41
+ static readonly OC_ITEM_OP1_SUBOP1 = 661;
42
+ static readonly OC_ITEM_OP1_SUBOP2 = 2074;
43
+ static readonly OC_ITEM_OP1_SUBOP3 = 2082;
44
+ static readonly OC_ITEM_OP1_SUBOP4 = 2090;
45
+ static readonly OC_ITEM_OP1_SUBOP5 = 2098;
46
+ static readonly OC_ITEM_OP1_SUBOP6 = 2106;
47
+ static readonly OC_ITEM_OP1_SUBOP7 = 2114;
48
+ static readonly OC_ITEM_OP1_SUBOP8 = 2122;
49
+ static readonly OC_ITEM_OP1_SUBOP9 = 2130;
50
+ static readonly OC_ITEM_OP1_SUBOP10 = 2138;
51
+ static readonly OC_ITEM_OP1_SUBOP11 = 2146;
52
+ static readonly OC_ITEM_OP1_SUBOP12 = 2154;
53
+ static readonly OC_ITEM_OP1_SUBOP13 = 2162;
54
+ static readonly OC_ITEM_OP1_SUBOP14 = 2170;
55
+ static readonly OC_ITEM_OP1_SUBOP15 = 2178;
56
+ static readonly OC_ITEM_OP1_SUBOP16 = 2186;
57
+ static readonly OC_ITEM_OP1_SUBOP17 = 2194;
58
+ static readonly OC_ITEM_OP1_SUBOP18 = 2202;
59
+ static readonly OC_ITEM_OP1_SUBOP19 = 2210;
60
+ static readonly OC_ITEM_OP1_SUBOP20 = 2218;
61
+ static readonly OC_ITEM_OP2_SUBOP1 = 662;
62
+ static readonly OC_ITEM_OP2_SUBOP2 = 2075;
63
+ static readonly OC_ITEM_OP2_SUBOP3 = 2083;
64
+ static readonly OC_ITEM_OP2_SUBOP4 = 2091;
65
+ static readonly OC_ITEM_OP2_SUBOP5 = 2099;
66
+ static readonly OC_ITEM_OP2_SUBOP6 = 2107;
67
+ static readonly OC_ITEM_OP2_SUBOP7 = 2115;
68
+ static readonly OC_ITEM_OP2_SUBOP8 = 2123;
69
+ static readonly OC_ITEM_OP2_SUBOP9 = 2131;
70
+ static readonly OC_ITEM_OP2_SUBOP10 = 2139;
71
+ static readonly OC_ITEM_OP2_SUBOP11 = 2147;
72
+ static readonly OC_ITEM_OP2_SUBOP12 = 2155;
73
+ static readonly OC_ITEM_OP2_SUBOP13 = 2163;
74
+ static readonly OC_ITEM_OP2_SUBOP14 = 2171;
75
+ static readonly OC_ITEM_OP2_SUBOP15 = 2179;
76
+ static readonly OC_ITEM_OP2_SUBOP16 = 2187;
77
+ static readonly OC_ITEM_OP2_SUBOP17 = 2195;
78
+ static readonly OC_ITEM_OP2_SUBOP18 = 2203;
79
+ static readonly OC_ITEM_OP2_SUBOP19 = 2211;
80
+ static readonly OC_ITEM_OP2_SUBOP20 = 2219;
81
+ static readonly OC_ITEM_OP3_SUBOP1 = 663;
82
+ static readonly OC_ITEM_OP3_SUBOP2 = 2076;
83
+ static readonly OC_ITEM_OP3_SUBOP3 = 2084;
84
+ static readonly OC_ITEM_OP3_SUBOP4 = 2092;
85
+ static readonly OC_ITEM_OP3_SUBOP5 = 2100;
86
+ static readonly OC_ITEM_OP3_SUBOP6 = 2108;
87
+ static readonly OC_ITEM_OP3_SUBOP7 = 2116;
88
+ static readonly OC_ITEM_OP3_SUBOP8 = 2124;
89
+ static readonly OC_ITEM_OP3_SUBOP9 = 2132;
90
+ static readonly OC_ITEM_OP3_SUBOP10 = 2140;
91
+ static readonly OC_ITEM_OP3_SUBOP11 = 2148;
92
+ static readonly OC_ITEM_OP3_SUBOP12 = 2156;
93
+ static readonly OC_ITEM_OP3_SUBOP13 = 2164;
94
+ static readonly OC_ITEM_OP3_SUBOP14 = 2172;
95
+ static readonly OC_ITEM_OP3_SUBOP15 = 2180;
96
+ static readonly OC_ITEM_OP3_SUBOP16 = 2188;
97
+ static readonly OC_ITEM_OP3_SUBOP17 = 2196;
98
+ static readonly OC_ITEM_OP3_SUBOP18 = 2204;
99
+ static readonly OC_ITEM_OP3_SUBOP19 = 2212;
100
+ static readonly OC_ITEM_OP3_SUBOP20 = 2220;
101
+ static readonly OC_ITEM_OP4_SUBOP1 = 2069;
102
+ static readonly OC_ITEM_OP4_SUBOP2 = 2077;
103
+ static readonly OC_ITEM_OP4_SUBOP3 = 2085;
104
+ static readonly OC_ITEM_OP4_SUBOP4 = 2093;
105
+ static readonly OC_ITEM_OP4_SUBOP5 = 2101;
106
+ static readonly OC_ITEM_OP4_SUBOP6 = 2109;
107
+ static readonly OC_ITEM_OP4_SUBOP7 = 2117;
108
+ static readonly OC_ITEM_OP4_SUBOP8 = 2125;
109
+ static readonly OC_ITEM_OP4_SUBOP9 = 2133;
110
+ static readonly OC_ITEM_OP4_SUBOP10 = 2141;
111
+ static readonly OC_ITEM_OP4_SUBOP11 = 2149;
112
+ static readonly OC_ITEM_OP4_SUBOP12 = 2157;
113
+ static readonly OC_ITEM_OP4_SUBOP13 = 2165;
114
+ static readonly OC_ITEM_OP4_SUBOP14 = 2173;
115
+ static readonly OC_ITEM_OP4_SUBOP15 = 2181;
116
+ static readonly OC_ITEM_OP4_SUBOP16 = 2189;
117
+ static readonly OC_ITEM_OP4_SUBOP17 = 2197;
118
+ static readonly OC_ITEM_OP4_SUBOP18 = 2205;
119
+ static readonly OC_ITEM_OP4_SUBOP19 = 2213;
120
+ static readonly OC_ITEM_OP4_SUBOP20 = 2221;
121
+ static readonly OC_ITEM_OP5_SUBOP1 = 2070;
122
+ static readonly OC_ITEM_OP5_SUBOP2 = 2078;
123
+ static readonly OC_ITEM_OP5_SUBOP3 = 2086;
124
+ static readonly OC_ITEM_OP5_SUBOP4 = 2094;
125
+ static readonly OC_ITEM_OP5_SUBOP5 = 2102;
126
+ static readonly OC_ITEM_OP5_SUBOP6 = 2110;
127
+ static readonly OC_ITEM_OP5_SUBOP7 = 2118;
128
+ static readonly OC_ITEM_OP5_SUBOP8 = 2126;
129
+ static readonly OC_ITEM_OP5_SUBOP9 = 2134;
130
+ static readonly OC_ITEM_OP5_SUBOP10 = 2142;
131
+ static readonly OC_ITEM_OP5_SUBOP11 = 2150;
132
+ static readonly OC_ITEM_OP5_SUBOP12 = 2158;
133
+ static readonly OC_ITEM_OP5_SUBOP13 = 2166;
134
+ static readonly OC_ITEM_OP5_SUBOP14 = 2174;
135
+ static readonly OC_ITEM_OP5_SUBOP15 = 2182;
136
+ static readonly OC_ITEM_OP5_SUBOP16 = 2190;
137
+ static readonly OC_ITEM_OP5_SUBOP17 = 2198;
138
+ static readonly OC_ITEM_OP5_SUBOP18 = 2206;
139
+ static readonly OC_ITEM_OP5_SUBOP19 = 2214;
140
+ static readonly OC_ITEM_OP5_SUBOP20 = 2222;
141
+ static readonly OC_ITEM_OP6_SUBOP1 = 2071;
142
+ static readonly OC_ITEM_OP6_SUBOP2 = 2079;
143
+ static readonly OC_ITEM_OP6_SUBOP3 = 2087;
144
+ static readonly OC_ITEM_OP6_SUBOP4 = 2095;
145
+ static readonly OC_ITEM_OP6_SUBOP5 = 2103;
146
+ static readonly OC_ITEM_OP6_SUBOP6 = 2111;
147
+ static readonly OC_ITEM_OP6_SUBOP7 = 2119;
148
+ static readonly OC_ITEM_OP6_SUBOP8 = 2127;
149
+ static readonly OC_ITEM_OP6_SUBOP9 = 2135;
150
+ static readonly OC_ITEM_OP6_SUBOP10 = 2143;
151
+ static readonly OC_ITEM_OP6_SUBOP11 = 2151;
152
+ static readonly OC_ITEM_OP6_SUBOP12 = 2159;
153
+ static readonly OC_ITEM_OP6_SUBOP13 = 2167;
154
+ static readonly OC_ITEM_OP6_SUBOP14 = 2175;
155
+ static readonly OC_ITEM_OP6_SUBOP15 = 2183;
156
+ static readonly OC_ITEM_OP6_SUBOP16 = 2191;
157
+ static readonly OC_ITEM_OP6_SUBOP17 = 2199;
158
+ static readonly OC_ITEM_OP6_SUBOP18 = 2207;
159
+ static readonly OC_ITEM_OP6_SUBOP19 = 2215;
160
+ static readonly OC_ITEM_OP6_SUBOP20 = 2223;
161
+ static readonly OC_ITEM_OP7_SUBOP1 = 2072;
162
+ static readonly OC_ITEM_OP7_SUBOP2 = 2080;
163
+ static readonly OC_ITEM_OP7_SUBOP3 = 2088;
164
+ static readonly OC_ITEM_OP7_SUBOP4 = 2096;
165
+ static readonly OC_ITEM_OP7_SUBOP5 = 2104;
166
+ static readonly OC_ITEM_OP7_SUBOP6 = 2112;
167
+ static readonly OC_ITEM_OP7_SUBOP7 = 2120;
168
+ static readonly OC_ITEM_OP7_SUBOP8 = 2128;
169
+ static readonly OC_ITEM_OP7_SUBOP9 = 2136;
170
+ static readonly OC_ITEM_OP7_SUBOP10 = 2144;
171
+ static readonly OC_ITEM_OP7_SUBOP11 = 2152;
172
+ static readonly OC_ITEM_OP7_SUBOP12 = 2160;
173
+ static readonly OC_ITEM_OP7_SUBOP13 = 2168;
174
+ static readonly OC_ITEM_OP7_SUBOP14 = 2176;
175
+ static readonly OC_ITEM_OP7_SUBOP15 = 2184;
176
+ static readonly OC_ITEM_OP7_SUBOP16 = 2192;
177
+ static readonly OC_ITEM_OP7_SUBOP17 = 2200;
178
+ static readonly OC_ITEM_OP7_SUBOP18 = 2208;
179
+ static readonly OC_ITEM_OP7_SUBOP19 = 2216;
180
+ static readonly OC_ITEM_OP7_SUBOP20 = 2224;
181
+ static readonly OC_ITEM_OP8_SUBOP1 = 2073;
182
+ static readonly OC_ITEM_OP8_SUBOP2 = 2081;
183
+ static readonly OC_ITEM_OP8_SUBOP3 = 2089;
184
+ static readonly OC_ITEM_OP8_SUBOP4 = 2097;
185
+ static readonly OC_ITEM_OP8_SUBOP5 = 2105;
186
+ static readonly OC_ITEM_OP8_SUBOP6 = 2113;
187
+ static readonly OC_ITEM_OP8_SUBOP7 = 2121;
188
+ static readonly OC_ITEM_OP8_SUBOP8 = 2129;
189
+ static readonly OC_ITEM_OP8_SUBOP9 = 2137;
190
+ static readonly OC_ITEM_OP8_SUBOP10 = 2145;
191
+ static readonly OC_ITEM_OP8_SUBOP11 = 2153;
192
+ static readonly OC_ITEM_OP8_SUBOP12 = 2161;
193
+ static readonly OC_ITEM_OP8_SUBOP13 = 2169;
194
+ static readonly OC_ITEM_OP8_SUBOP14 = 2177;
195
+ static readonly OC_ITEM_OP8_SUBOP15 = 2185;
196
+ static readonly OC_ITEM_OP8_SUBOP16 = 2193;
197
+ static readonly OC_ITEM_OP8_SUBOP17 = 2201;
198
+ static readonly OC_ITEM_OP8_SUBOP18 = 2209;
199
+ static readonly OC_ITEM_OP8_SUBOP19 = 2217;
200
+ static readonly OC_ITEM_OP8_SUBOP20 = 2225;
201
+
41
202
  /**
42
203
  * Long name for NPCs used in the HP hud
43
204
  */
@@ -71,5 +232,7 @@ declare namespace net.runelite.api {
71
232
  static readonly SPELL_BUTTON = 596;
72
233
  static readonly SPELL_NAME = 601;
73
234
  static readonly SPELL_LEVELREQ = 604;
235
+
236
+ static readonly BANK_AUTOCHARGE = 2257;
74
237
  }
75
238
  }
@@ -34,7 +34,7 @@ declare namespace net.runelite.api {
34
34
  * <li> int how far down to scroll </li>
35
35
  * </ul>
36
36
  */
37
-
37
+ @ScriptArguments((integer = 3))
38
38
  static readonly UPDATE_SCROLLBAR = 72;
39
39
 
40
40
  /**
@@ -47,19 +47,19 @@ declare namespace net.runelite.api {
47
47
  * <li> int set target </li>
48
48
  * </ul>
49
49
  */
50
-
50
+ @ScriptArguments((integer = 4), (string = 1))
51
51
  static readonly CHAT_SEND = 5517;
52
52
 
53
53
  /**
54
54
  * Rebuilds the chatbox and the pmbox
55
55
  */
56
-
56
+ @ScriptArguments()
57
57
  static readonly SPLITPM_CHANGED = 83;
58
58
 
59
59
  /**
60
60
  * Rebuilds the chatbox
61
61
  */
62
-
62
+ @ScriptArguments()
63
63
  static readonly BUILD_CHATBOX = 216;
64
64
 
65
65
  /**
@@ -70,6 +70,7 @@ declare namespace net.runelite.api {
70
70
  * <li> String Player to send private message to</li>
71
71
  * </ul>
72
72
  */
73
+ @ScriptArguments((string = 1))
73
74
  static readonly OPEN_PRIVATE_MESSAGE_INTERFACE = 107;
74
75
 
75
76
  /**
@@ -78,6 +79,7 @@ declare namespace net.runelite.api {
78
79
  * <li> String Message Prefix. Only used inside the GE search interfaces
79
80
  * </ul>
80
81
  */
82
+ @ScriptArguments((string = 1))
81
83
  static readonly CHAT_TEXT_INPUT_REBUILD = 222;
82
84
 
83
85
  /**
@@ -88,6 +90,7 @@ declare namespace net.runelite.api {
88
90
  * <li> int (boolean) Submit close to server </li>
89
91
  * </ul>
90
92
  */
93
+ @ScriptArguments((integer = 3))
91
94
  static readonly MESSAGE_LAYER_CLOSE = 299;
92
95
 
93
96
  /**
@@ -97,11 +100,13 @@ declare namespace net.runelite.api {
97
100
  * <li> int (InputType) message layer type we are changing to </li>
98
101
  * </ul>
99
102
  */
103
+ @ScriptArguments((integer = 1))
100
104
  static readonly MESSAGE_LAYER_OPEN = 677;
101
105
 
102
106
  /**
103
107
  * Builds the chatbox input widget
104
108
  */
109
+ @ScriptArguments()
105
110
  static readonly CHAT_PROMPT_INIT = 223;
106
111
 
107
112
  /**
@@ -115,6 +120,7 @@ declare namespace net.runelite.api {
115
120
  *
116
121
  * Returns a pair of booleans indicating if the stash unit is built and if it is filled
117
122
  */
123
+ @ScriptArguments((integer = 4))
118
124
  static readonly WATSON_STASH_UNIT_CHECK = 1479;
119
125
 
120
126
  /**
@@ -127,6 +133,7 @@ declare namespace net.runelite.api {
127
133
  * <li> int (QuestState) the normalized state of the quest
128
134
  * </ul>
129
135
  */
136
+ @ScriptArguments((integer = 1))
130
137
  static readonly QUEST_STATUS_GET = 4029;
131
138
 
132
139
  /**
@@ -136,6 +143,7 @@ declare namespace net.runelite.api {
136
143
  * <li> int Number of lines </li>
137
144
  * </ul>
138
145
  */
146
+ @ScriptArguments((integer = 2))
139
147
  static readonly QUEST_UPDATE_LINECOUNT = 2523;
140
148
 
141
149
  /**
@@ -145,6 +153,7 @@ declare namespace net.runelite.api {
145
153
  * <li> int Number of lines </li>
146
154
  * </ul>
147
155
  */
156
+ @ScriptArguments((integer = 2))
148
157
  static readonly DIARY_UPDATE_LINECOUNT = 6845;
149
158
 
150
159
  /**
@@ -156,6 +165,7 @@ declare namespace net.runelite.api {
156
165
  * <li> int Reset zoom position for resizable viewport mode</li>
157
166
  * </ul>
158
167
  */
168
+ @ScriptArguments((integer = 2))
159
169
  static readonly CAMERA_DO_ZOOM = 42;
160
170
 
161
171
  /**
@@ -163,13 +173,15 @@ declare namespace net.runelite.api {
163
173
  *
164
174
  * This is used to eat events when you want a menu action attached to it
165
175
  * because you need an op listener attached to it for it to work
166
- * @deprecated
167
176
  */
177
+ @ScriptArguments()
178
+ @Deprecated
168
179
  static readonly NULL = 10003;
169
180
 
170
181
  /**
171
182
  * Send a private message.
172
183
  */
184
+ @ScriptArguments((string = 2))
173
185
  static readonly PRIVMSG = 10004;
174
186
 
175
187
  /**
@@ -180,6 +192,7 @@ declare namespace net.runelite.api {
180
192
  * <li>int Amount of exp to drop</li>
181
193
  * </ul>
182
194
  */
195
+ @ScriptArguments((integer = 2))
183
196
  static readonly XPDROP_DISABLED = 2091;
184
197
 
185
198
  /**
@@ -188,31 +201,37 @@ declare namespace net.runelite.api {
188
201
  * <li>String Players in-game name</li>
189
202
  * </ul>
190
203
  */
204
+ @ScriptArguments((string = 1))
191
205
  static readonly FRIENDS_CHAT_SEND_KICK = 3764;
192
206
 
193
207
  /**
194
208
  * Builds the widget that holds all of the players inside a friends chat
195
209
  */
210
+ @ScriptArguments((integer = 15))
196
211
  static readonly FRIENDS_CHAT_CHANNEL_REBUILD = 1658;
197
212
 
198
213
  /**
199
214
  * Builds the widget that holds all of the players inside a clan chat
200
215
  */
216
+ @ScriptArguments((integer = 7))
201
217
  static readonly CLAN_SIDEPANEL_DRAW = 4396;
202
218
 
203
219
  /**
204
220
  * Builds the widget for making an offer in Grand Exchange
205
221
  */
222
+ @ScriptArguments((integer = 17))
206
223
  static readonly GE_OFFERS_SETUP_BUILD = 779;
207
224
 
208
225
  /**
209
226
  * Builds the grand exchange item search widget
210
227
  */
228
+ @ScriptArguments((integer = 3))
211
229
  static readonly GE_ITEM_SEARCH = 752;
212
230
 
213
231
  /**
214
232
  * On load listener for building the quest list interface
215
233
  */
234
+ @ScriptArguments((integer = 8))
216
235
  static readonly QUESTLIST_INIT = 1350;
217
236
 
218
237
  /**
@@ -229,6 +248,7 @@ declare namespace net.runelite.api {
229
248
  * <li> int (WidgetID) Friends list player previous name holder </li>
230
249
  * </ul>
231
250
  */
251
+ @ScriptArguments((integer = 9))
232
252
  static readonly FRIENDS_UPDATE = 631;
233
253
 
234
254
  /**
@@ -243,6 +263,7 @@ declare namespace net.runelite.api {
243
263
  * <li> int (WidgetID) Ignore list player previous name holder </li>
244
264
  * </ul>
245
265
  */
266
+ @ScriptArguments((integer = 7))
246
267
  static readonly IGNORE_UPDATE = 630;
247
268
 
248
269
  /**
@@ -251,21 +272,28 @@ declare namespace net.runelite.api {
251
272
  * <li> int (WidgetID) * 16, various widgets making up the bank interface </li>
252
273
  * </ul>
253
274
  */
275
+ @ScriptArguments((integer = 17))
254
276
  static readonly BANKMAIN_SEARCH_REFRESH = 283;
255
277
 
278
+ @ScriptArguments((integer = 6))
279
+ static readonly BANKMAIN_DRAGSCROLL = 284;
280
+
256
281
  /**
257
282
  * Called to update the PVP widget (wilderness level/protection)
258
283
  */
284
+ @ScriptArguments((integer = 1))
259
285
  static readonly PVP_WIDGET_BUILDER = 388;
260
286
 
261
287
  /**
262
288
  * Called to build the combat interface
263
289
  */
264
- static readonly COMBAT_INTERFACE_SETUP = 420;
290
+ @ScriptArguments()
291
+ static readonly COMBAT_INTERFACE_SETUP = 7593;
265
292
 
266
293
  /**
267
294
  * Called to build the toplevel interface
268
295
  */
296
+ @ScriptArguments((integer = 2))
269
297
  static readonly TOPLEVEL_REDRAW = 907;
270
298
 
271
299
  /**
@@ -274,8 +302,10 @@ declare namespace net.runelite.api {
274
302
  * <li> XP drop parent component </li>
275
303
  * </ul>
276
304
  */
305
+ @ScriptArguments((integer = 4), (string = 1))
277
306
  static readonly XPDROPS_SETDROPSIZE = 996;
278
307
 
308
+ @ScriptArguments((integer = 34))
279
309
  static readonly BANKMAIN_INIT = 274;
280
310
 
281
311
  /**
@@ -284,10 +314,13 @@ declare namespace net.runelite.api {
284
314
  * <li>int (WidgetID) * 17, various widgets making up the bank interface</li>
285
315
  * </ul>
286
316
  */
317
+ @ScriptArguments((integer = 17))
287
318
  static readonly BANKMAIN_BUILD = 277;
288
319
 
320
+ @ScriptArguments((integer = 19))
289
321
  static readonly BANKMAIN_FINISHBUILDING = 505;
290
322
 
323
+ @ScriptArguments()
291
324
  static readonly BANKMAIN_SEARCHING = 514;
292
325
 
293
326
  /**
@@ -301,8 +334,10 @@ declare namespace net.runelite.api {
301
334
  * These can be retrieved from the onInvTransmitListener of BANK_ITEM_CONTAINER. Note that this array also
302
335
  * contains the script ID for the bank layout script in the first index
303
336
  */
337
+ @ScriptArguments((integer = 18))
304
338
  static readonly BANKMAIN_SEARCH_TOGGLE = 281;
305
339
 
340
+ @ScriptArguments((integer = 6))
306
341
  static readonly BANKMAIN_SIZE_CHECK = 840;
307
342
 
308
343
  /**
@@ -319,63 +354,81 @@ declare namespace net.runelite.api {
319
354
  * <li>int (WidgetID) drag parent</li>
320
355
  * </ul>
321
356
  */
357
+ @ScriptArguments((integer = 11), (string = 1))
322
358
  static readonly SETTINGS_SLIDER_CHOOSE_ONOP = 3885;
323
359
 
324
360
  /**
325
361
  * Position and size the wiki button, as well as hide/unhide it
326
362
  */
363
+ @ScriptArguments((integer = 4))
327
364
  static readonly WIKI_ICON_UPDATE = 3306;
328
365
 
329
366
  /**
330
367
  * Drag callback for the camera zoom slider in the options side panel.
331
368
  */
369
+ @ScriptArguments((integer = 3))
332
370
  static readonly ZOOM_SLIDER_ONDRAG = 833;
333
371
 
334
372
  /**
335
373
  * Drag callback for the camera zoom slider in the settings.
336
374
  */
375
+ @ScriptArguments((integer = 6))
337
376
  static readonly SETTINGS_ZOOM_SLIDER_ONDRAG = 3896;
338
377
 
339
- static readonly COLLECTION_DRAW_LIST = 2730;
378
+ @ScriptArguments((integer = 8))
379
+ static readonly COLLECTION_DRAW_LIST = 2731;
340
380
 
341
381
  /**
342
382
  * Draws the active notification in increasing sizes (increasing horizontally first, then vertically) to show a
343
383
  * starting animation.
344
384
  */
385
+ @ScriptArguments((integer = 3))
345
386
  static readonly NOTIFICATION_START = 3346;
346
387
 
347
388
  /**
348
389
  * Draws the active notification in full size for a specified number of client ticks. In essence, delayed between
349
390
  * the open and close animations.
350
391
  */
392
+ @ScriptArguments((integer = 1))
351
393
  static readonly NOTIFICATION_DELAY = 3347;
352
394
 
395
+ @ScriptArguments((integer = 7))
353
396
  static readonly GROUP_IRONMAN_STORAGE_BUILD = 5269;
354
397
 
398
+ @ScriptArguments((integer = 6))
355
399
  static readonly INVENTORY_DRAWITEM = 6011;
356
400
 
357
401
  /**
358
402
  * Initializes the trade interface
359
403
  */
404
+ @ScriptArguments((integer = 6))
360
405
  static readonly TRADE_MAIN_INIT = 755;
361
406
 
362
407
  /**
363
408
  * Transitions the tob hud into the white flash that happens when sotetseg teleports the players to the maze.
364
409
  */
410
+ @ScriptArguments((string = 1))
365
411
  static readonly TOB_HUD_SOTETSEG_FADE = 2308;
366
412
 
413
+ @ScriptArguments((integer = 3))
367
414
  static readonly RAIDS_STORAGE_PRIVATE_ITEMS = 1607;
368
415
 
416
+ @ScriptArguments((integer = 12))
369
417
  static readonly HP_HUD_UPDATE = 2103;
370
418
 
419
+ @ScriptArguments((integer = 7))
371
420
  static readonly ORBS_UPDATE_RUNENERGY = 447;
372
421
 
422
+ @ScriptArguments((integer = 9))
373
423
  static readonly WORLDMAP_LOADMAP = 1712;
374
424
 
425
+ @ScriptArguments((integer = 5))
375
426
  static readonly PRAYER_UPDATEBUTTON = 463;
376
427
 
428
+ @ScriptArguments((integer = 9), (string = 2))
377
429
  static readonly PRAYER_REDRAW = 547;
378
430
 
431
+ @ScriptArguments((integer = 3))
379
432
  static readonly QUICKPRAYER_INIT = 466;
380
433
 
381
434
  /**
@@ -388,13 +441,49 @@ declare namespace net.runelite.api {
388
441
  * <li> overlay ticks </li>
389
442
  * </ul>
390
443
  */
444
+ @ScriptArguments((integer = 7))
391
445
  static readonly ADD_OVERLAYTIMER_LOC = 5474;
392
446
 
447
+ @ScriptArguments((integer = 7), (string = 1))
393
448
  static readonly ACCOUNT_SUMMARY_TEXT_FORMAT = 3948;
394
449
 
450
+ @ScriptArguments((integer = 10), (string = 3))
395
451
  static readonly ACCOUNT_SUMMARY_SECTION_FORMAT = 3950;
452
+
453
+ @ScriptArguments((integer = 6), (string = 2))
396
454
  static readonly CHATBOX_KEYINPUT_MATCHED = 2153;
397
455
 
456
+ @ScriptArguments((integer = 6))
398
457
  static readonly EQUIPMENT_SET_STAT_BONUS_SETUP = 3517;
458
+
459
+ @ScriptArguments((integer = 12), (string = 2))
460
+ static readonly MAGIC_SPELLBOOK_INITIALISESPELLS = 2616;
461
+
462
+ @ScriptArguments((integer = 2))
463
+ static readonly MOTHERLODE_HUD_UPDATE = 1634;
464
+
465
+ @ScriptArguments((integer = 1))
466
+ static readonly POTIONSTORE_DOSES = 3750;
467
+
468
+ @ScriptArguments((integer = 1))
469
+ static readonly POTIONSTORE_WITHDRAW_DOSES = 4818;
470
+
471
+ @ScriptArguments()
472
+ static readonly POTIONSTORE_BUILD = 6080;
473
+
474
+ @ScriptArguments((integer = 3))
475
+ static readonly POTIONSTORE_DOSE_CHANGE = 6555;
476
+
477
+ @ScriptArguments((integer = 5))
478
+ static readonly FAIRYRINGS_SORT_UPDATE = 402;
479
+
480
+ @ScriptArguments((integer = 1), (string = 1))
481
+ static readonly POPUP_OVERLAY_YESNO_INIT = 4212;
482
+
483
+ @ScriptArguments((integer = 12))
484
+ static readonly BANK_DEPOSITBOX_INIT = 144;
485
+
486
+ @ScriptArguments((integer = 7))
487
+ static readonly SEED_VAULT_BUILD = 2819;
399
488
  }
400
489
  }