@deafwave/osrs-botmaker-types 0.7.33 → 0.7.35
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 +81 -112
- 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/dist/src/types/sox/api/bot/equipment.d.ts +12 -8
- package/dist/src/types/sox/api/bot/grandExchange.d.ts +3 -2
- package/dist/src/types/sox/api/bot/index.d.ts +1 -0
- package/dist/src/types/sox/api/bot/magic.d.ts +1 -1
- package/dist/src/types/sox/api/bot/net.d.ts +11 -3
- package/dist/src/types/sox/api/bot/prayer.d.ts +3 -3
- package/dist/src/types/sox/api/bot/types.d.ts +41 -1
- package/dist/src/types/sox/api/bot/variables.d.ts +7 -7
- package/dist/src/types/sox/api/bot/walking.d.ts +17 -0
- package/dist/src/types/sox/api/bot/web.d.ts +12 -6
- package/dist/src/types/sox/api/bot/widgets.d.ts +24 -14
- package/package.json +1 -1
|
@@ -13939,5 +13939,312 @@ declare namespace net.runelite.api.gameval {
|
|
|
13939
13939
|
static readonly BANK_POPUPTAB_OPEN = 19722;
|
|
13940
13940
|
static readonly BANK_SETTING_FORGET_POPUP = 19723;
|
|
13941
13941
|
static readonly DEADMAN_2026_GE_WIPE = 19724;
|
|
13942
|
+
static readonly MUSIC_CURRENT_PLAYLIST = 19731;
|
|
13943
|
+
static readonly SETTINGS_MUSIC_PLAYER_DISABLE_TEXT_SHADOW = 19732;
|
|
13944
|
+
static readonly SETTINGS_MUSIC_PLAYER_HIDE_TRACKS = 19733;
|
|
13945
|
+
static readonly USE_PREVIOUS_MUSIC_MODE_ON_LOGIN = 19734;
|
|
13946
|
+
static readonly SETTINGS_MUSIC_DEFAULT_TRACK_ON_AREA_ENTRY = 19735;
|
|
13947
|
+
static readonly DONT_UPDATE_MUSIC_ON_PLAYLIST_CHANGE = 19736;
|
|
13948
|
+
static readonly USE_SHUFFLE_MODE_ON_MANUAL_MUSIC_SELECTION = 19737;
|
|
13949
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_1 = 19738;
|
|
13950
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_2 = 19739;
|
|
13951
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_3 = 19740;
|
|
13952
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_4 = 19741;
|
|
13953
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_5 = 19742;
|
|
13954
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_6 = 19743;
|
|
13955
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_7 = 19744;
|
|
13956
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_8 = 19745;
|
|
13957
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_9 = 19746;
|
|
13958
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_10 = 19747;
|
|
13959
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_11 = 19748;
|
|
13960
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_12 = 19749;
|
|
13961
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_13 = 19750;
|
|
13962
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_14 = 19751;
|
|
13963
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_15 = 19752;
|
|
13964
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_16 = 19753;
|
|
13965
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_17 = 19754;
|
|
13966
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_18 = 19755;
|
|
13967
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_19 = 19756;
|
|
13968
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_20 = 19757;
|
|
13969
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_21 = 19758;
|
|
13970
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_22 = 19759;
|
|
13971
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_23 = 19760;
|
|
13972
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_24 = 19761;
|
|
13973
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_25 = 19762;
|
|
13974
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_26 = 19763;
|
|
13975
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_27 = 19764;
|
|
13976
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_28 = 19765;
|
|
13977
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_29 = 19766;
|
|
13978
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_30 = 19767;
|
|
13979
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_31 = 19768;
|
|
13980
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_32 = 19769;
|
|
13981
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_33 = 19770;
|
|
13982
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_34 = 19771;
|
|
13983
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_35 = 19772;
|
|
13984
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_36 = 19773;
|
|
13985
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_37 = 19774;
|
|
13986
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_38 = 19775;
|
|
13987
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_39 = 19776;
|
|
13988
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_40 = 19777;
|
|
13989
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_41 = 19778;
|
|
13990
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_42 = 19779;
|
|
13991
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_43 = 19780;
|
|
13992
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_44 = 19781;
|
|
13993
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_45 = 19782;
|
|
13994
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_46 = 19783;
|
|
13995
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_47 = 19784;
|
|
13996
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_48 = 19785;
|
|
13997
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_49 = 19786;
|
|
13998
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_50 = 19787;
|
|
13999
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_51 = 19788;
|
|
14000
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_52 = 19789;
|
|
14001
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_53 = 19790;
|
|
14002
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_54 = 19791;
|
|
14003
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_55 = 19792;
|
|
14004
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_56 = 19793;
|
|
14005
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_57 = 19794;
|
|
14006
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_58 = 19795;
|
|
14007
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_59 = 19796;
|
|
14008
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_60 = 19797;
|
|
14009
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_61 = 19798;
|
|
14010
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_62 = 19799;
|
|
14011
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_63 = 19800;
|
|
14012
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_64 = 19801;
|
|
14013
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_65 = 19802;
|
|
14014
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_66 = 19803;
|
|
14015
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_67 = 19804;
|
|
14016
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_68 = 19805;
|
|
14017
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_69 = 19806;
|
|
14018
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_70 = 19807;
|
|
14019
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_71 = 19808;
|
|
14020
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_72 = 19809;
|
|
14021
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_73 = 19810;
|
|
14022
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_74 = 19811;
|
|
14023
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_75 = 19812;
|
|
14024
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_76 = 19813;
|
|
14025
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_77 = 19814;
|
|
14026
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_78 = 19815;
|
|
14027
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_79 = 19816;
|
|
14028
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_80 = 19817;
|
|
14029
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_81 = 19818;
|
|
14030
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_82 = 19819;
|
|
14031
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_83 = 19820;
|
|
14032
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_84 = 19821;
|
|
14033
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_85 = 19822;
|
|
14034
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_86 = 19823;
|
|
14035
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_87 = 19824;
|
|
14036
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_88 = 19825;
|
|
14037
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_89 = 19826;
|
|
14038
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_90 = 19827;
|
|
14039
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_91 = 19828;
|
|
14040
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_92 = 19829;
|
|
14041
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_93 = 19830;
|
|
14042
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_94 = 19831;
|
|
14043
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_95 = 19832;
|
|
14044
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_96 = 19833;
|
|
14045
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_97 = 19834;
|
|
14046
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_98 = 19835;
|
|
14047
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_99 = 19836;
|
|
14048
|
+
static readonly MUSIC_PLAYLIST_1_TRACK_100 = 19837;
|
|
14049
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_1 = 19838;
|
|
14050
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_2 = 19839;
|
|
14051
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_3 = 19840;
|
|
14052
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_4 = 19841;
|
|
14053
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_5 = 19842;
|
|
14054
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_6 = 19843;
|
|
14055
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_7 = 19844;
|
|
14056
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_8 = 19845;
|
|
14057
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_9 = 19846;
|
|
14058
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_10 = 19847;
|
|
14059
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_11 = 19848;
|
|
14060
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_12 = 19849;
|
|
14061
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_13 = 19850;
|
|
14062
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_14 = 19851;
|
|
14063
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_15 = 19852;
|
|
14064
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_16 = 19853;
|
|
14065
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_17 = 19854;
|
|
14066
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_18 = 19855;
|
|
14067
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_19 = 19856;
|
|
14068
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_20 = 19857;
|
|
14069
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_21 = 19858;
|
|
14070
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_22 = 19859;
|
|
14071
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_23 = 19860;
|
|
14072
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_24 = 19861;
|
|
14073
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_25 = 19862;
|
|
14074
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_26 = 19863;
|
|
14075
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_27 = 19864;
|
|
14076
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_28 = 19865;
|
|
14077
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_29 = 19866;
|
|
14078
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_30 = 19867;
|
|
14079
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_31 = 19868;
|
|
14080
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_32 = 19869;
|
|
14081
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_33 = 19870;
|
|
14082
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_34 = 19871;
|
|
14083
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_35 = 19872;
|
|
14084
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_36 = 19873;
|
|
14085
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_37 = 19874;
|
|
14086
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_38 = 19875;
|
|
14087
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_39 = 19876;
|
|
14088
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_40 = 19877;
|
|
14089
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_41 = 19878;
|
|
14090
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_42 = 19879;
|
|
14091
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_43 = 19880;
|
|
14092
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_44 = 19881;
|
|
14093
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_45 = 19882;
|
|
14094
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_46 = 19883;
|
|
14095
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_47 = 19884;
|
|
14096
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_48 = 19885;
|
|
14097
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_49 = 19886;
|
|
14098
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_50 = 19887;
|
|
14099
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_51 = 19888;
|
|
14100
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_52 = 19889;
|
|
14101
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_53 = 19890;
|
|
14102
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_54 = 19891;
|
|
14103
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_55 = 19892;
|
|
14104
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_56 = 19893;
|
|
14105
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_57 = 19894;
|
|
14106
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_58 = 19895;
|
|
14107
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_59 = 19896;
|
|
14108
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_60 = 19897;
|
|
14109
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_61 = 19898;
|
|
14110
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_62 = 19899;
|
|
14111
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_63 = 19900;
|
|
14112
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_64 = 19901;
|
|
14113
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_65 = 19902;
|
|
14114
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_66 = 19903;
|
|
14115
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_67 = 19904;
|
|
14116
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_68 = 19905;
|
|
14117
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_69 = 19906;
|
|
14118
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_70 = 19907;
|
|
14119
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_71 = 19908;
|
|
14120
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_72 = 19909;
|
|
14121
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_73 = 19910;
|
|
14122
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_74 = 19911;
|
|
14123
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_75 = 19912;
|
|
14124
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_76 = 19913;
|
|
14125
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_77 = 19914;
|
|
14126
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_78 = 19915;
|
|
14127
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_79 = 19916;
|
|
14128
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_80 = 19917;
|
|
14129
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_81 = 19918;
|
|
14130
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_82 = 19919;
|
|
14131
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_83 = 19920;
|
|
14132
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_84 = 19921;
|
|
14133
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_85 = 19922;
|
|
14134
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_86 = 19923;
|
|
14135
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_87 = 19924;
|
|
14136
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_88 = 19925;
|
|
14137
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_89 = 19926;
|
|
14138
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_90 = 19927;
|
|
14139
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_91 = 19928;
|
|
14140
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_92 = 19929;
|
|
14141
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_93 = 19930;
|
|
14142
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_94 = 19931;
|
|
14143
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_95 = 19932;
|
|
14144
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_96 = 19933;
|
|
14145
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_97 = 19934;
|
|
14146
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_98 = 19935;
|
|
14147
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_99 = 19936;
|
|
14148
|
+
static readonly MUSIC_PLAYLIST_2_TRACK_100 = 19937;
|
|
14149
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_1 = 19938;
|
|
14150
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_2 = 19939;
|
|
14151
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_3 = 19940;
|
|
14152
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_4 = 19941;
|
|
14153
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_5 = 19942;
|
|
14154
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_6 = 19943;
|
|
14155
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_7 = 19944;
|
|
14156
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_8 = 19945;
|
|
14157
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_9 = 19946;
|
|
14158
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_10 = 19947;
|
|
14159
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_11 = 19948;
|
|
14160
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_12 = 19949;
|
|
14161
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_13 = 19950;
|
|
14162
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_14 = 19951;
|
|
14163
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_15 = 19952;
|
|
14164
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_16 = 19953;
|
|
14165
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_17 = 19954;
|
|
14166
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_18 = 19955;
|
|
14167
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_19 = 19956;
|
|
14168
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_20 = 19957;
|
|
14169
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_21 = 19958;
|
|
14170
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_22 = 19959;
|
|
14171
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_23 = 19960;
|
|
14172
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_24 = 19961;
|
|
14173
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_25 = 19962;
|
|
14174
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_26 = 19963;
|
|
14175
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_27 = 19964;
|
|
14176
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_28 = 19965;
|
|
14177
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_29 = 19966;
|
|
14178
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_30 = 19967;
|
|
14179
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_31 = 19968;
|
|
14180
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_32 = 19969;
|
|
14181
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_33 = 19970;
|
|
14182
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_34 = 19971;
|
|
14183
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_35 = 19972;
|
|
14184
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_36 = 19973;
|
|
14185
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_37 = 19974;
|
|
14186
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_38 = 19975;
|
|
14187
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_39 = 19976;
|
|
14188
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_40 = 19977;
|
|
14189
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_41 = 19978;
|
|
14190
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_42 = 19979;
|
|
14191
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_43 = 19980;
|
|
14192
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_44 = 19981;
|
|
14193
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_45 = 19982;
|
|
14194
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_46 = 19983;
|
|
14195
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_47 = 19984;
|
|
14196
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_48 = 19985;
|
|
14197
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_49 = 19986;
|
|
14198
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_50 = 19987;
|
|
14199
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_51 = 19988;
|
|
14200
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_52 = 19989;
|
|
14201
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_53 = 19990;
|
|
14202
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_54 = 19991;
|
|
14203
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_55 = 19992;
|
|
14204
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_56 = 19993;
|
|
14205
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_57 = 19994;
|
|
14206
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_58 = 19995;
|
|
14207
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_59 = 19996;
|
|
14208
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_60 = 19997;
|
|
14209
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_61 = 19998;
|
|
14210
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_62 = 19999;
|
|
14211
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_63 = 20000;
|
|
14212
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_64 = 20001;
|
|
14213
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_65 = 20002;
|
|
14214
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_66 = 20003;
|
|
14215
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_67 = 20004;
|
|
14216
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_68 = 20005;
|
|
14217
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_69 = 20006;
|
|
14218
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_70 = 20007;
|
|
14219
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_71 = 20008;
|
|
14220
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_72 = 20009;
|
|
14221
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_73 = 20010;
|
|
14222
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_74 = 20011;
|
|
14223
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_75 = 20012;
|
|
14224
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_76 = 20013;
|
|
14225
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_77 = 20014;
|
|
14226
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_78 = 20015;
|
|
14227
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_79 = 20016;
|
|
14228
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_80 = 20017;
|
|
14229
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_81 = 20018;
|
|
14230
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_82 = 20019;
|
|
14231
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_83 = 20020;
|
|
14232
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_84 = 20021;
|
|
14233
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_85 = 20022;
|
|
14234
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_86 = 20023;
|
|
14235
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_87 = 20024;
|
|
14236
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_88 = 20025;
|
|
14237
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_89 = 20026;
|
|
14238
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_90 = 20027;
|
|
14239
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_91 = 20028;
|
|
14240
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_92 = 20029;
|
|
14241
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_93 = 20030;
|
|
14242
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_94 = 20031;
|
|
14243
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_95 = 20032;
|
|
14244
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_96 = 20033;
|
|
14245
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_97 = 20034;
|
|
14246
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_98 = 20035;
|
|
14247
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_99 = 20036;
|
|
14248
|
+
static readonly MUSIC_PLAYLIST_3_TRACK_100 = 20037;
|
|
13942
14249
|
}
|
|
13943
14250
|
}
|
|
@@ -290,9 +290,9 @@ declare namespace net.runelite.api.widgets {
|
|
|
290
290
|
static readonly MTA_TELEKINETIC_POINTS = 12976130;
|
|
291
291
|
static readonly MTA_TELEKINETIC_SOLVED = 12976136;
|
|
292
292
|
static readonly MUSIC_CONTAINER = 15663104;
|
|
293
|
-
static readonly MUSIC_LIST =
|
|
294
|
-
static readonly MUSIC_SCROLL_CONTAINER =
|
|
295
|
-
static readonly MUSIC_SCROLLBAR =
|
|
293
|
+
static readonly MUSIC_LIST = 15663114;
|
|
294
|
+
static readonly MUSIC_SCROLL_CONTAINER = 15663112;
|
|
295
|
+
static readonly MUSIC_SCROLLBAR = 15663115;
|
|
296
296
|
static readonly NIGHTMARE_PILLAR_HEALTH_LAYER = 27066369;
|
|
297
297
|
static readonly NMZ_CONTAINER = 13238272;
|
|
298
298
|
static readonly PEST_CONTROL_ACTIVITY_BAR = 26738698;
|
|
@@ -399,11 +399,11 @@ declare namespace net.runelite.api.widgets {
|
|
|
399
399
|
static readonly SEED_VAULT_SEARCH_BUTTON = 41353240;
|
|
400
400
|
static readonly SEED_VAULT_TITLE_CONTAINER = 41353218;
|
|
401
401
|
static readonly SETTINGS_INIT = 8781825;
|
|
402
|
-
static readonly SETTINGS_SIDE_AREA_SOUND_SLIDER =
|
|
403
|
-
static readonly SETTINGS_SIDE_CAMERA_ZOOM_SLIDER_TRACK =
|
|
404
|
-
static readonly SETTINGS_SIDE_MUSIC_SLIDER =
|
|
405
|
-
static readonly SETTINGS_SIDE_MUSIC_SLIDER_STEP_HOLDER =
|
|
406
|
-
static readonly SETTINGS_SIDE_SOUND_EFFECT_SLIDER =
|
|
402
|
+
static readonly SETTINGS_SIDE_AREA_SOUND_SLIDER = 7602300;
|
|
403
|
+
static readonly SETTINGS_SIDE_CAMERA_ZOOM_SLIDER_TRACK = 7602232;
|
|
404
|
+
static readonly SETTINGS_SIDE_MUSIC_SLIDER = 7602272;
|
|
405
|
+
static readonly SETTINGS_SIDE_MUSIC_SLIDER_STEP_HOLDER = 7602284;
|
|
406
|
+
static readonly SETTINGS_SIDE_SOUND_EFFECT_SLIDER = 7602286;
|
|
407
407
|
static readonly SHOP_INVENTORY_ITEM_CONTAINER = 19660800;
|
|
408
408
|
static readonly SKILLS_CONTAINER = 20971520;
|
|
409
409
|
static readonly SKOTIZO_CONTAINER = 20185090;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
/// <reference path="../../../runelite/index.d.ts" />
|
|
4
|
+
|
|
3
5
|
declare namespace bot {
|
|
4
6
|
/**
|
|
5
7
|
* Interface for interacting with the player's equipped items
|
|
6
8
|
* Provides methods to check and manage equipment
|
|
7
9
|
*/
|
|
8
|
-
type Item = {
|
|
9
|
-
id: number;
|
|
10
|
-
quantity: number;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
10
|
interface equipment {
|
|
14
11
|
/**
|
|
15
12
|
* Checks if the player has all the specified items equipped by their IDs
|
|
@@ -54,9 +51,16 @@ declare namespace bot {
|
|
|
54
51
|
containsName: (name: string) => boolean;
|
|
55
52
|
|
|
56
53
|
/**
|
|
57
|
-
*
|
|
58
|
-
* @returns Array of equipped items
|
|
54
|
+
* Returns an array of all equipped items
|
|
55
|
+
* @returns Array of equipped items (net.runelite.api.Item)
|
|
56
|
+
*/
|
|
57
|
+
getEquipment: () => net.runelite.api.Item[];
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Unequips an item with the given ID from the equipment
|
|
61
|
+
* @param id The item ID to unequip
|
|
62
|
+
* @returns True if the item was unequipped, false otherwise
|
|
59
63
|
*/
|
|
60
|
-
|
|
64
|
+
unequip: (id: number) => boolean;
|
|
61
65
|
}
|
|
62
66
|
}
|
|
@@ -12,7 +12,7 @@ declare namespace bot {
|
|
|
12
12
|
/** Gets the quantity of the item being bought or sold */
|
|
13
13
|
getQuantity(): number;
|
|
14
14
|
/** Gets the slot number used for this exchange request */
|
|
15
|
-
getSlot(): GrandExchangeOffer;
|
|
15
|
+
getSlot(): net.runelite.api.GrandExchangeOffer;
|
|
16
16
|
/** Checks if the request has been aborted */
|
|
17
17
|
isAborted(): boolean;
|
|
18
18
|
/** Checks if the request is in the process of being aborted */
|
|
@@ -25,6 +25,7 @@ declare namespace bot {
|
|
|
25
25
|
setMaxAttempts(maxAttempts: number): void;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
/**
|
|
29
30
|
* Interface for interacting with the Grand Exchange
|
|
30
31
|
* Provides methods to buy/sell items and check GE status
|
|
@@ -38,7 +39,7 @@ declare namespace bot {
|
|
|
38
39
|
* @param walkToAndOpenGE Whether to automatically walk to and open the GE
|
|
39
40
|
* @returns An ExchangeRequest object representing the buy order
|
|
40
41
|
*/
|
|
41
|
-
addBuyToQueue: (itemId: number, quantity: number, walkToAndOpenGE: boolean) =>
|
|
42
|
+
addBuyToQueue: (itemId: number, quantity: number, walkToAndOpenGE: boolean) => bot.ExchangeRequest;
|
|
42
43
|
|
|
43
44
|
/**
|
|
44
45
|
* Gets the current size of the Grand Exchange queue
|
|
@@ -107,7 +107,7 @@ declare namespace bot {
|
|
|
107
107
|
* @param spellName The name of the spell to cast
|
|
108
108
|
* @param tileItem The tile item to cast the spell on
|
|
109
109
|
*/
|
|
110
|
-
castOnTileItem: (spellName: SpellName, tileItem:
|
|
110
|
+
castOnTileItem: (spellName: SpellName, tileItem: net.runelite.api.TileItem) => void;
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* Casts a magic spell on a tile object (game object in the world)
|
|
@@ -7,15 +7,23 @@ declare namespace bot {
|
|
|
7
7
|
*/
|
|
8
8
|
interface net {
|
|
9
9
|
/**
|
|
10
|
-
* Sends a message to specified
|
|
11
|
-
* @param targetIds Array of
|
|
10
|
+
* Sends a BotMaker message to the specified Discord IDs via the socket server
|
|
11
|
+
* @param targetIds Array of Discord IDs to send the message to
|
|
12
12
|
* @param message The message content to send
|
|
13
13
|
* @param includeSelf Whether to include the sender in the recipients
|
|
14
14
|
*/
|
|
15
15
|
sendMessage: (targetIds: string[], message: string, includeSelf: boolean) => void;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Sends a message to
|
|
18
|
+
* Sends a BotMaker message to the specified RuneScape names via the socket server
|
|
19
|
+
* @param rsNames Array of RuneScape display names to send the message to
|
|
20
|
+
* @param message The message content to send
|
|
21
|
+
* @param includeSelf Whether to include the sender in the recipients
|
|
22
|
+
*/
|
|
23
|
+
sendMessageToRsns: (rsNames: string[], message: string, includeSelf: boolean) => void;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Sends a BotMaker message to all nearby local players via the socket server
|
|
19
27
|
* @param message The message content to send
|
|
20
28
|
* @param includeSelf Whether to include the sender in the recipients
|
|
21
29
|
*/
|
|
@@ -7,9 +7,9 @@ declare namespace bot {
|
|
|
7
7
|
*/
|
|
8
8
|
interface prayer {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param prayer The Prayer enum value to
|
|
12
|
-
* @param bypassMouseClicks
|
|
10
|
+
* Enables the specified prayer. Use bypassMouseClicks to send the action without a click.
|
|
11
|
+
* @param prayer The Prayer enum value to enable
|
|
12
|
+
* @param bypassMouseClicks True to toggle without mouse clicks, false to use mouse clicks
|
|
13
13
|
*/
|
|
14
14
|
togglePrayer: (prayer: net.runelite.api.Prayer, bypassMouseClicks: boolean) => void;
|
|
15
15
|
}
|
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
declare namespace bot {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Result of finding the nearest reachable point (e.g. from findNearestPointAsync).
|
|
6
6
|
*/
|
|
7
|
+
interface NearestPointResult {
|
|
8
|
+
/** The nearest reachable world point */
|
|
9
|
+
getDestination: () => net.runelite.api.coords.WorldPoint;
|
|
10
|
+
getPathCost: () => number;
|
|
11
|
+
getPathDistance: () => number;
|
|
12
|
+
getStartPoint: () => net.runelite.api.coords.WorldPoint;
|
|
13
|
+
isFound: () => boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
7
16
|
interface TileItemInfo {
|
|
8
17
|
/** The tile where the item is located */
|
|
9
18
|
tile: net.runelite.api.Tile;
|
|
@@ -65,4 +74,35 @@ declare namespace bot {
|
|
|
65
74
|
*/
|
|
66
75
|
stop: () => void;
|
|
67
76
|
}
|
|
77
|
+
|
|
78
|
+
interface types {
|
|
79
|
+
asActor: (obj: unknown) => net.runelite.api.Actor;
|
|
80
|
+
asExchangeRequest: (obj: unknown) => bot.ExchangeRequest;
|
|
81
|
+
asGraphicsObject: (obj: unknown) => net.runelite.api.GraphicsObject;
|
|
82
|
+
asGraphicsObjectArray: (obj: unknown) => net.runelite.api.GraphicsObject[];
|
|
83
|
+
asGrandExchangeOffer: (obj: unknown) => net.runelite.api.GrandExchangeOffer;
|
|
84
|
+
asHeadIcon: (obj: unknown) => net.runelite.api.HeadIcon;
|
|
85
|
+
asItem: (obj: unknown) => net.runelite.api.Item;
|
|
86
|
+
asItemArray: (obj: unknown) => net.runelite.api.Item[];
|
|
87
|
+
asNearestPointResult: (obj: unknown) => bot.NearestPointResult;
|
|
88
|
+
asNPC: (obj: unknown) => net.runelite.api.NPC;
|
|
89
|
+
asNPCArray: (obj: unknown) => net.runelite.api.NPC[];
|
|
90
|
+
asObjectComposition: (obj: unknown) => net.runelite.api.ObjectComposition;
|
|
91
|
+
asPlayer: (obj: unknown) => net.runelite.api.Player;
|
|
92
|
+
asPlayerArray: (obj: unknown) => net.runelite.api.Player[];
|
|
93
|
+
asPrayer: (obj: unknown) => net.runelite.api.Prayer;
|
|
94
|
+
asProjectile: (obj: unknown) => net.runelite.api.Projectile;
|
|
95
|
+
asProjectileArray: (obj: unknown) => net.runelite.api.Projectile[];
|
|
96
|
+
asTile: (obj: unknown) => net.runelite.api.Tile;
|
|
97
|
+
asTileItem: (obj: unknown) => net.runelite.api.TileItem;
|
|
98
|
+
asTileItemInfo: (obj: unknown) => bot.TileItemInfo;
|
|
99
|
+
asTileItemInfoArray: (obj: unknown) => bot.TileItemInfo[];
|
|
100
|
+
asTileObject: (obj: unknown) => net.runelite.api.TileObject;
|
|
101
|
+
asTileObjectArray: (obj: unknown) => net.runelite.api.TileObject[];
|
|
102
|
+
asWidget: (obj: unknown) => net.runelite.api.widgets.Widget;
|
|
103
|
+
asWidgetArray: (obj: unknown) => net.runelite.api.widgets.Widget[];
|
|
104
|
+
asWorldPoint: (obj: unknown) => net.runelite.api.coords.WorldPoint;
|
|
105
|
+
asWorldPointArray: (obj: unknown) => net.runelite.api.coords.WorldPoint[];
|
|
106
|
+
createWorldPoint: (x: number, y: number, plane: number) => net.runelite.api.coords.WorldPoint;
|
|
107
|
+
}
|
|
68
108
|
}
|
|
@@ -9,43 +9,43 @@ declare namespace bot {
|
|
|
9
9
|
/**
|
|
10
10
|
* Gets a boolean variable by name
|
|
11
11
|
* @param variableName The name of the variable to retrieve
|
|
12
|
-
* @returns The boolean value
|
|
12
|
+
* @returns The boolean value
|
|
13
13
|
*/
|
|
14
14
|
getBooleanVariable: (variableName: string) => boolean;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Gets an array of integers variable by name
|
|
18
18
|
* @param variableName The name of the variable to retrieve
|
|
19
|
-
* @returns The array
|
|
19
|
+
* @returns The integer array
|
|
20
20
|
*/
|
|
21
21
|
getIntArrayVariable: (variableName: string) => number[];
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Gets an integer variable by name
|
|
25
25
|
* @param variableName The name of the variable to retrieve
|
|
26
|
-
* @returns The integer value
|
|
26
|
+
* @returns The integer value
|
|
27
27
|
*/
|
|
28
28
|
getIntVariable: (variableName: string) => number;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Gets an array of strings variable by name
|
|
32
32
|
* @param variableName The name of the variable to retrieve
|
|
33
|
-
* @returns The array
|
|
33
|
+
* @returns The string array
|
|
34
34
|
*/
|
|
35
35
|
getStringArrayVariable: (variableName: string) => string[];
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Gets a string variable by name
|
|
39
39
|
* @param variableName The name of the variable to retrieve
|
|
40
|
-
* @returns The string value
|
|
40
|
+
* @returns The string value
|
|
41
41
|
*/
|
|
42
42
|
getStringVariable: (variableName: string) => string;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* Sets a variable of any type by name
|
|
46
46
|
* @param variableName The name of the variable to set
|
|
47
|
-
* @param value The value to set
|
|
47
|
+
* @param value The value to set
|
|
48
48
|
*/
|
|
49
|
-
setVariable: (variableName: string, value:
|
|
49
|
+
setVariable: (variableName: string, value: number | number[] | string | string[] | boolean) => void;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../../runelite/index.d.ts" />
|
|
2
|
+
/// <reference path="./types.d.ts" />
|
|
2
3
|
|
|
3
4
|
declare namespace bot {
|
|
4
5
|
/**
|
|
@@ -67,6 +68,22 @@ declare namespace bot {
|
|
|
67
68
|
*/
|
|
68
69
|
webWalkToNearestBank: () => void;
|
|
69
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Web walks to the nearest point from an array of destinations
|
|
73
|
+
* @param destinations Array of WorldPoint destinations to choose from
|
|
74
|
+
*/
|
|
75
|
+
webWalkToNearest: (destinations: net.runelite.api.coords.WorldPoint[]) => void;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Finds the nearest reachable point from an array of destinations. Callback receives NearestPointResult (or null on error).
|
|
79
|
+
* @param destinations Array of WorldPoint destinations to choose from
|
|
80
|
+
* @param callback Called with the result or null on error
|
|
81
|
+
*/
|
|
82
|
+
findNearestPointAsync: (
|
|
83
|
+
destinations: net.runelite.api.coords.WorldPoint[],
|
|
84
|
+
callback: (result: bot.NearestPointResult | null) => void
|
|
85
|
+
) => void;
|
|
86
|
+
|
|
70
87
|
/**
|
|
71
88
|
* Starts web walking with full configuration options for food, stamina, teleports, and more
|
|
72
89
|
* @param worldPoint The WorldPoint destination to walk to
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/// <reference path="../../../java/BufferedImage.d.ts" />
|
|
4
4
|
|
|
5
|
+
declare namespace bot {
|
|
5
6
|
interface web {
|
|
7
|
+
/**
|
|
8
|
+
* Fetches the content of the given URL as a string. Only allows http/https URLs from whitelisted domains. Returns an empty string on error.
|
|
9
|
+
* @param requestURL The URL to fetch
|
|
10
|
+
* @returns The response body as a string, or empty string on error
|
|
11
|
+
*/
|
|
12
|
+
readString: (requestURL: string) => string;
|
|
6
13
|
|
|
7
14
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* @
|
|
11
|
-
* @returns The string read from the web
|
|
15
|
+
* Fetches an image from a whitelisted URL. Returns null on error.
|
|
16
|
+
* @param requestURL The URL to fetch the image from
|
|
17
|
+
* @returns The image as a BufferedImage, or null on error
|
|
12
18
|
*/
|
|
13
|
-
|
|
19
|
+
readImage: (requestURL: string) => BufferedImage | null;
|
|
14
20
|
}
|
|
15
21
|
}
|