Merge branch 'master' into widget
This commit is contained in:
@@ -292,6 +292,7 @@ public final class AnimationID
|
||||
public static final int ROCKSLUG_DEATH = 1568;
|
||||
public static final int ZYGOMITE_DEATH = 3327;
|
||||
public static final int IMP_DEATH = 172;
|
||||
public static final int NIGHTMARE_DEATH = 8612;
|
||||
|
||||
// POH Animations
|
||||
public static final int INCENSE_BURNER = 3687;
|
||||
|
||||
@@ -407,6 +407,11 @@ public interface Client extends GameShell
|
||||
*/
|
||||
IndexDataBase getIndexScripts();
|
||||
|
||||
/**
|
||||
* Gets the config index.
|
||||
*/
|
||||
IndexDataBase getIndexConfig();
|
||||
|
||||
/**
|
||||
* Returns the x-axis base coordinate.
|
||||
* <p>
|
||||
@@ -488,6 +493,7 @@ public interface Client extends GameShell
|
||||
* @param widget the widget info
|
||||
* @return the widget
|
||||
*/
|
||||
@Nullable
|
||||
Widget getWidget(WidgetInfo widget);
|
||||
|
||||
/**
|
||||
@@ -500,6 +506,7 @@ public interface Client extends GameShell
|
||||
* @param childId the child widget ID
|
||||
* @return the widget corresponding to the group and child pair
|
||||
*/
|
||||
@Nullable
|
||||
Widget getWidget(int groupId, int childId);
|
||||
|
||||
/**
|
||||
@@ -809,6 +816,12 @@ public interface Client extends GameShell
|
||||
*/
|
||||
void setVarbitValue(int[] varps, int varbit, int value);
|
||||
|
||||
/**
|
||||
* Gets the varbit composition for a given varbit id
|
||||
*/
|
||||
@Nullable
|
||||
VarbitDefinition getVarbitDefinition(int id);
|
||||
|
||||
/**
|
||||
* Gets the widget flags table.
|
||||
*
|
||||
@@ -1870,6 +1883,10 @@ public interface Client extends GameShell
|
||||
|
||||
boolean isSpellSelected();
|
||||
|
||||
String getSelectedSpellActionName();
|
||||
|
||||
int getSelectedSpellFlags();
|
||||
|
||||
/**
|
||||
* Set whether or not player attack options will be hidden for friends
|
||||
*/
|
||||
@@ -1924,8 +1941,12 @@ public interface Client extends GameShell
|
||||
|
||||
void setSelectedItemID(int id);
|
||||
|
||||
int getSelectedItemWidget();
|
||||
|
||||
void setSelectedItemWidget(int widgetID);
|
||||
|
||||
int getSelectedItemSlot();
|
||||
|
||||
void setSelectedItemSlot(int idx);
|
||||
|
||||
int getSelectedSpellWidget();
|
||||
@@ -2050,4 +2071,12 @@ public interface Client extends GameShell
|
||||
* @see KeyCode
|
||||
*/
|
||||
boolean isKeyPressed(int keycode);
|
||||
|
||||
int getFollowerIndex();
|
||||
|
||||
int isItemSelected();
|
||||
|
||||
String getSelectedItemName();
|
||||
|
||||
Widget getMessageContinueWidget();
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ public final class EnumID
|
||||
{
|
||||
public static final int MUSIC_TRACK_NAMES = 812;
|
||||
public static final int MUSIC_TRACK_IDS = 819;
|
||||
public static final int XPDROP_COLORS = 1169;
|
||||
|
||||
/**
|
||||
* Translates spellbook varbit into enum ID
|
||||
|
||||
@@ -1,3 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Lucas <https://github.com/Lucwousin>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
/**
|
||||
@@ -9,4 +33,9 @@ public interface IndexDataBase
|
||||
* Returns true if any cache overlay in this index is outdated due to hash mismatch
|
||||
*/
|
||||
boolean isOverlayOutdated();
|
||||
|
||||
/**
|
||||
* Get the child file ids for a given group
|
||||
*/
|
||||
int[] getFileIds(int group);
|
||||
}
|
||||
|
||||
@@ -33,6 +33,14 @@ public enum InventoryID
|
||||
* Reward from fishing trawler
|
||||
*/
|
||||
FISHING_TRAWLER_REWARD(0),
|
||||
/**
|
||||
* The trade inventory.
|
||||
*/
|
||||
TRADE(90),
|
||||
/**
|
||||
* The other trade inventory.
|
||||
*/
|
||||
TRADEOTHER(90 | 0x8000),
|
||||
/**
|
||||
* Standard player inventory.
|
||||
*/
|
||||
|
||||
@@ -67,4 +67,10 @@ public interface ItemContainer extends Node
|
||||
* @see ItemID
|
||||
*/
|
||||
int count(int itemId);
|
||||
|
||||
/**
|
||||
* Get the number of items in this item container. May include empty slots.
|
||||
* @return
|
||||
*/
|
||||
int size();
|
||||
}
|
||||
|
||||
@@ -75,6 +75,14 @@ public interface ItemDefinition
|
||||
*/
|
||||
int getPrice();
|
||||
|
||||
/**
|
||||
* Get the high alchemy price for this item. All items have a high alchemy price,
|
||||
* but not all items can be alched.
|
||||
*
|
||||
* @return the high alch price
|
||||
*/
|
||||
int getHaPrice();
|
||||
|
||||
/**
|
||||
* Checks whether the item is members only.
|
||||
*
|
||||
@@ -103,6 +111,8 @@ public interface ItemDefinition
|
||||
*/
|
||||
String[] getInventoryActions();
|
||||
|
||||
String[] getGroundActions();
|
||||
|
||||
/**
|
||||
* Gets the menu action index of the shift-click action.
|
||||
*
|
||||
|
||||
@@ -8159,7 +8159,7 @@ public final class ItemID
|
||||
public static final int HUMAN_EYE = 12843;
|
||||
public static final int VOICE_POTION = 12844;
|
||||
public static final int GRIM_REAPER_HOOD = 12845;
|
||||
public static final int BOUNTY_TELEPORT_SCROLL = 12846;
|
||||
public static final int TARGET_TELEPORT_SCROLL = 12846;
|
||||
public static final int GRANITE_MAUL_12848 = 12848;
|
||||
public static final int GRANITE_CLAMP = 12849;
|
||||
public static final int AMULET_OF_THE_DAMNED_FULL = 12851;
|
||||
@@ -11321,7 +11321,7 @@ public final class ItemID
|
||||
public static final int BIRTHDAY_CAKE_24331 = 24331;
|
||||
public static final int BIRTHDAY_CAKE_24332 = 24332;
|
||||
public static final int DAGONHAI_ROBES_SET = 24333;
|
||||
public static final int BOUNTY_TARGET_TELEPORT = 24336;
|
||||
public static final int TARGET_TELEPORT = 24336;
|
||||
public static final int BOUNTY_HUNTER_HAT_TIER_1 = 24338;
|
||||
public static final int BOUNTY_HUNTER_HAT_TIER_2 = 24340;
|
||||
public static final int BOUNTY_HUNTER_HAT_TIER_3 = 24342;
|
||||
@@ -11578,5 +11578,20 @@ public final class ItemID
|
||||
public static final int ZIGGY = 24849;
|
||||
public static final int SOFT_CLAY_PACK_24851 = 24851;
|
||||
public static final int BAG_FULL_OF_GEMS_24853 = 24853;
|
||||
public static final int MYTHICAL_MAX_CAPE = 24855;
|
||||
public static final int MYTHICAL_MAX_HOOD = 24857;
|
||||
public static final int WARRIOR_PATH_STARTER_KIT = 24859;
|
||||
public static final int WIZARD_PATH_STARTER_KIT = 24860;
|
||||
public static final int RANGER_PATH_STARTER_KIT = 24861;
|
||||
public static final int KARAMJAN_MONKEY = 24862;
|
||||
public static final int ZOMBIE_MONKEY = 24863;
|
||||
public static final int MANIACAL_MONKEY = 24864;
|
||||
public static final int SKELETON_MONKEY = 24865;
|
||||
public static final int KRUK_JR = 24866;
|
||||
public static final int PRINCELY_MONKEY = 24867;
|
||||
public static final int GOLDEN_ARMADYL_SPECIAL_ATTACK = 24868;
|
||||
public static final int GOLDEN_BANDOS_SPECIAL_ATTACK = 24869;
|
||||
public static final int GOLDEN_SARADOMIN_SPECIAL_ATTACK = 24870;
|
||||
public static final int GOLDEN_ZAMORAK_SPECIAL_ATTACK = 24871;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -29,5 +29,87 @@ package net.runelite.api;
|
||||
*/
|
||||
public final class KeyCode
|
||||
{
|
||||
public static final int KC_F1 = 1;
|
||||
public static final int KC_F2 = 2;
|
||||
public static final int KC_F3 = 3;
|
||||
public static final int KC_F4 = 4;
|
||||
public static final int KC_F5 = 5;
|
||||
public static final int KC_F6 = 6;
|
||||
public static final int KC_F7 = 7;
|
||||
public static final int KC_F8 = 8;
|
||||
public static final int KC_F9 = 9;
|
||||
public static final int KC_F10 = 10;
|
||||
public static final int KC_F11 = 11;
|
||||
public static final int KC_F12 = 12;
|
||||
public static final int KC_ESCAPE = 13;
|
||||
|
||||
public static final int KC_1 = 16;
|
||||
public static final int KC_2 = 17;
|
||||
public static final int KC_3 = 18;
|
||||
public static final int KC_4 = 19;
|
||||
public static final int KC_5 = 20;
|
||||
public static final int KC_6 = 21;
|
||||
public static final int KC_7 = 22;
|
||||
public static final int KC_8 = 23;
|
||||
public static final int KC_9 = 24;
|
||||
public static final int KC_0 = 25;
|
||||
public static final int KC_MINUS = 26;
|
||||
public static final int KC_EQUALS = 27;
|
||||
public static final int KC_TILDE = 28;
|
||||
|
||||
public static final int KC_Q = 32;
|
||||
public static final int KC_W = 33;
|
||||
public static final int KC_E = 34;
|
||||
public static final int KC_R = 35;
|
||||
public static final int KC_T = 36;
|
||||
public static final int KC_Y = 37;
|
||||
public static final int KC_U = 38;
|
||||
public static final int KC_I = 39;
|
||||
public static final int KC_O = 40;
|
||||
public static final int KC_P = 41;
|
||||
public static final int KC_OPEN_BRACKET = 42;
|
||||
public static final int KC_CLOSE_BRACKET = 43;
|
||||
|
||||
public static final int KC_A = 48;
|
||||
public static final int KC_S = 49;
|
||||
public static final int KC_D = 50;
|
||||
public static final int KC_F = 51;
|
||||
public static final int KC_G = 52;
|
||||
public static final int KC_H = 53;
|
||||
public static final int KC_J = 54;
|
||||
public static final int KC_K = 55;
|
||||
public static final int KC_L = 56;
|
||||
public static final int KC_SEMICOLON = 57;
|
||||
public static final int KC_QUOTE = 58;
|
||||
|
||||
public static final int KC_Z = 64;
|
||||
public static final int KC_X = 65;
|
||||
public static final int KC_C = 66;
|
||||
public static final int KC_V = 67;
|
||||
public static final int KC_B = 68;
|
||||
public static final int KC_N = 69;
|
||||
public static final int KC_M = 70;
|
||||
public static final int KC_COMMA = 71;
|
||||
public static final int KC_PERIOD = 72;
|
||||
public static final int KC_FORWARD_SLASH = 73;
|
||||
public static final int KC_BACK_SLASH = 74;
|
||||
|
||||
public static final int KC_TAB = 80;
|
||||
public static final int KC_SHIFT = 81;
|
||||
public static final int KC_CONTROL = 82;
|
||||
public static final int KC_SPACE = 83;
|
||||
public static final int KC_ENTER = 84;
|
||||
public static final int KC_BACKSPACE = 85;
|
||||
public static final int KC_ALT = 86;
|
||||
|
||||
public static final int KC_LEFT = 96;
|
||||
public static final int KC_RIGHT = 97;
|
||||
public static final int KC_UP = 98;
|
||||
public static final int KC_DOWN = 99;
|
||||
public static final int KC_INSERT = 100;
|
||||
public static final int KC_DELETE = 101;
|
||||
public static final int KC_HOME = 102;
|
||||
public static final int KC_END = 103;
|
||||
public static final int KC_PAGE_UP = 104;
|
||||
public static final int KC_PAGE_DOWN = 105;
|
||||
}
|
||||
|
||||
@@ -8758,5 +8758,38 @@ public final class NpcID
|
||||
public static final int GRAVE = 9856;
|
||||
public static final int GRAVE_9857 = 9857;
|
||||
public static final int SQUIRE_10368 = 10368;
|
||||
public static final int BOBAWU = 10369;
|
||||
public static final int MARTEN = 10370;
|
||||
public static final int WIZARD_10371 = 10371;
|
||||
public static final int WIZARD_10372 = 10372;
|
||||
public static final int WIZARD_10373 = 10373;
|
||||
public static final int HILL_GIANT_10374 = 10374;
|
||||
public static final int HILL_GIANT_10375 = 10375;
|
||||
public static final int HILL_GIANT_10376 = 10376;
|
||||
public static final int FEROX = 10377;
|
||||
public static final int SIGISMUND = 10378;
|
||||
public static final int ZAMORAKIAN_ACOLYTE = 10379;
|
||||
public static final int ZAMORAKIAN_ACOLYTE_10380 = 10380;
|
||||
public static final int ZAMORAKIAN_ACOLYTE_10381 = 10381;
|
||||
public static final int REFUGEE = 10382;
|
||||
public static final int REFUGEE_10383 = 10383;
|
||||
public static final int REFUGEE_10384 = 10384;
|
||||
public static final int REFUGEE_10385 = 10385;
|
||||
public static final int PHABELLE_BILE = 10386;
|
||||
public static final int DERSE_VENATOR = 10387;
|
||||
public static final int ANDROS_MAI = 10388;
|
||||
public static final int BANKER_10389 = 10389;
|
||||
public static final int MERCENARY_10390 = 10390;
|
||||
public static final int FINANCIAL_WIZARD_10391 = 10391;
|
||||
public static final int CAMARST = 10392;
|
||||
public static final int WARRIOR_OF_MURAHS = 10393;
|
||||
public static final int WARRIOR_OF_MURAHS_10394 = 10394;
|
||||
public static final int WARRIOR_OF_MURAHS_10395 = 10395;
|
||||
public static final int SPIKED_TUROTH = 10397;
|
||||
public static final int SHADOW_WYRM = 10398;
|
||||
public static final int SHADOW_WYRM_10399 = 10399;
|
||||
public static final int GUARDIAN_DRAKE = 10400;
|
||||
public static final int GUARDIAN_DRAKE_10401 = 10401;
|
||||
public static final int COLOSSAL_HYDRA = 10402;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -13068,5 +13068,7 @@ public final class NullItemID
|
||||
public static final int NULL_24850 = 24850;
|
||||
public static final int NULL_24852 = 24852;
|
||||
public static final int NULL_24854 = 24854;
|
||||
public static final int NULL_24856 = 24856;
|
||||
public static final int NULL_24858 = 24858;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -1592,5 +1592,6 @@ public final class NullNpcID
|
||||
public static final int NULL_10365 = 10365;
|
||||
public static final int NULL_10366 = 10366;
|
||||
public static final int NULL_10367 = 10367;
|
||||
public static final int NULL_10396 = 10396;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -18031,22 +18031,8 @@ public final class NullObjectID
|
||||
public static final int NULL_37430 = 37430;
|
||||
public static final int NULL_37432 = 37432;
|
||||
public static final int NULL_37433 = 37433;
|
||||
public static final int NULL_37436 = 37436;
|
||||
public static final int NULL_37437 = 37437;
|
||||
public static final int NULL_37438 = 37438;
|
||||
public static final int NULL_37439 = 37439;
|
||||
public static final int NULL_37440 = 37440;
|
||||
public static final int NULL_37446 = 37446;
|
||||
public static final int NULL_37447 = 37447;
|
||||
public static final int NULL_37448 = 37448;
|
||||
public static final int NULL_37449 = 37449;
|
||||
public static final int NULL_37451 = 37451;
|
||||
public static final int NULL_37452 = 37452;
|
||||
public static final int NULL_37453 = 37453;
|
||||
public static final int NULL_37454 = 37454;
|
||||
public static final int NULL_37455 = 37455;
|
||||
public static final int NULL_37456 = 37456;
|
||||
public static final int NULL_37457 = 37457;
|
||||
public static final int NULL_37467 = 37467;
|
||||
public static final int NULL_37468 = 37468;
|
||||
public static final int NULL_37469 = 37469;
|
||||
@@ -19517,5 +19503,81 @@ public final class NullObjectID
|
||||
public static final int NULL_39616 = 39616;
|
||||
public static final int NULL_39618 = 39618;
|
||||
public static final int NULL_39619 = 39619;
|
||||
public static final int NULL_39622 = 39622;
|
||||
public static final int NULL_39623 = 39623;
|
||||
public static final int NULL_39624 = 39624;
|
||||
public static final int NULL_39625 = 39625;
|
||||
public static final int NULL_39626 = 39626;
|
||||
public static final int NULL_39627 = 39627;
|
||||
public static final int NULL_39628 = 39628;
|
||||
public static final int NULL_39629 = 39629;
|
||||
public static final int NULL_39630 = 39630;
|
||||
public static final int NULL_39631 = 39631;
|
||||
public static final int NULL_39632 = 39632;
|
||||
public static final int NULL_39633 = 39633;
|
||||
public static final int NULL_39634 = 39634;
|
||||
public static final int NULL_39635 = 39635;
|
||||
public static final int NULL_39636 = 39636;
|
||||
public static final int NULL_39638 = 39638;
|
||||
public static final int NULL_39649 = 39649;
|
||||
public static final int NULL_39654 = 39654;
|
||||
public static final int NULL_39655 = 39655;
|
||||
public static final int NULL_39656 = 39656;
|
||||
public static final int NULL_39661 = 39661;
|
||||
public static final int NULL_39662 = 39662;
|
||||
public static final int NULL_39663 = 39663;
|
||||
public static final int NULL_39664 = 39664;
|
||||
public static final int NULL_39665 = 39665;
|
||||
public static final int NULL_39666 = 39666;
|
||||
public static final int NULL_39667 = 39667;
|
||||
public static final int NULL_39668 = 39668;
|
||||
public static final int NULL_39669 = 39669;
|
||||
public static final int NULL_39670 = 39670;
|
||||
public static final int NULL_39671 = 39671;
|
||||
public static final int NULL_39672 = 39672;
|
||||
public static final int NULL_39673 = 39673;
|
||||
public static final int NULL_39683 = 39683;
|
||||
public static final int NULL_39684 = 39684;
|
||||
public static final int NULL_39685 = 39685;
|
||||
public static final int NULL_39686 = 39686;
|
||||
public static final int NULL_39694 = 39694;
|
||||
public static final int NULL_39701 = 39701;
|
||||
public static final int NULL_39702 = 39702;
|
||||
public static final int NULL_39703 = 39703;
|
||||
public static final int NULL_39704 = 39704;
|
||||
public static final int NULL_39705 = 39705;
|
||||
public static final int NULL_39706 = 39706;
|
||||
public static final int NULL_39707 = 39707;
|
||||
public static final int NULL_39708 = 39708;
|
||||
public static final int NULL_39709 = 39709;
|
||||
public static final int NULL_39710 = 39710;
|
||||
public static final int NULL_39711 = 39711;
|
||||
public static final int NULL_39712 = 39712;
|
||||
public static final int NULL_39713 = 39713;
|
||||
public static final int NULL_39714 = 39714;
|
||||
public static final int NULL_39715 = 39715;
|
||||
public static final int NULL_39717 = 39717;
|
||||
public static final int NULL_39722 = 39722;
|
||||
public static final int NULL_39725 = 39725;
|
||||
public static final int NULL_39726 = 39726;
|
||||
public static final int NULL_39727 = 39727;
|
||||
public static final int NULL_39728 = 39728;
|
||||
public static final int NULL_39729 = 39729;
|
||||
public static final int NULL_39730 = 39730;
|
||||
public static final int NULL_39731 = 39731;
|
||||
public static final int NULL_39732 = 39732;
|
||||
public static final int NULL_39733 = 39733;
|
||||
public static final int NULL_39734 = 39734;
|
||||
public static final int NULL_39735 = 39735;
|
||||
public static final int NULL_39736 = 39736;
|
||||
public static final int NULL_39737 = 39737;
|
||||
public static final int NULL_39738 = 39738;
|
||||
public static final int NULL_39739 = 39739;
|
||||
public static final int NULL_39742 = 39742;
|
||||
public static final int NULL_39743 = 39743;
|
||||
public static final int NULL_39744 = 39744;
|
||||
public static final int NULL_39745 = 39745;
|
||||
public static final int NULL_39746 = 39746;
|
||||
public static final int NULL_39747 = 39747;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -8061,7 +8061,7 @@ public final class ObjectID
|
||||
public static final int STONE_BLOCK_14203 = 14203;
|
||||
public static final int STONE_BLOCK_14204 = 14204;
|
||||
public static final int STONE_BLOCK_14205 = 14205;
|
||||
public static final int FINAL_OWNAGE_ELITE_STATUE = 14209;
|
||||
public static final int HERBS_14209 = 14209;
|
||||
public static final int WALL_14212 = 14212;
|
||||
public static final int WALL_14213 = 14213;
|
||||
public static final int WALL_14216 = 14216;
|
||||
@@ -14137,11 +14137,11 @@ public final class ObjectID
|
||||
public static final int HUTCH_26822 = 26822;
|
||||
public static final int CAGES_26823 = 26823;
|
||||
public static final int CAGE_26824 = 26824;
|
||||
public static final int ANCIENT_FURY_STATUE = 26825;
|
||||
public static final int FATALITY_STATUE = 26826;
|
||||
public static final int HEXIS_STATUE = 26827;
|
||||
public static final int REIGN_OF_TERROR_STATUE = 26828;
|
||||
public static final int STUD_UNIT_STATUE = 26829;
|
||||
public static final int HERBS_26825 = 26825;
|
||||
public static final int HERBS_26826 = 26826;
|
||||
public static final int HERBS_26827 = 26827;
|
||||
public static final int HERBS_26828 = 26828;
|
||||
public static final int HERBS_26829 = 26829;
|
||||
public static final int CONSECRATED_HOUSE = 26830;
|
||||
public static final int DESECRATED_HOUSE = 26831;
|
||||
public static final int NATURE_HOUSE = 26832;
|
||||
@@ -19396,7 +19396,6 @@ public final class ObjectID
|
||||
public static final int DECORATIVE_WINDOW_37442 = 37442;
|
||||
public static final int STAINEDGLASS_WINDOW_37443 = 37443;
|
||||
public static final int LOG_PILE_37444 = 37444;
|
||||
public static final int HOTSPOT_MARKER = 37445;
|
||||
public static final int DECORATIVE_WINDOW_37450 = 37450;
|
||||
public static final int STAINEDGLASS_WINDOW_37458 = 37458;
|
||||
public static final int DECORATIVE_WINDOW_37459 = 37459;
|
||||
@@ -20089,6 +20088,191 @@ public final class ObjectID
|
||||
public static final int COFFIN_39608 = 39608;
|
||||
public static final int STAIRS_39609 = 39609;
|
||||
public static final int CRYPT = 39617;
|
||||
public static final int COFFIN_39620 = 39620;
|
||||
public static final int RUSTED_ANVIL = 39620;
|
||||
public static final int MOUNTED_MAX_CAPE_39621 = 39621;
|
||||
public static final int DEATHS_DOMAIN_39637 = 39637;
|
||||
public static final int CASUAL = 39639;
|
||||
public static final int COMPETITIVE = 39640;
|
||||
public static final int HIGH_STAKES = 39641;
|
||||
public static final int ALTAR_39642 = 39642;
|
||||
public static final int STAIRS_39643 = 39643;
|
||||
public static final int LADDER_39644 = 39644;
|
||||
public static final int LADDER_39645 = 39645;
|
||||
public static final int LIFT_PLATFORM_39646 = 39646;
|
||||
public static final int STAIRS_39647 = 39647;
|
||||
public static final int OPENING_39648 = 39648;
|
||||
public static final int STAIRS_39650 = 39650;
|
||||
public static final int POOL_OF_REFRESHMENT = 39651;
|
||||
public static final int BARRIER_39652 = 39652;
|
||||
public static final int BARRIER_39653 = 39653;
|
||||
public static final int GATE_39657 = 39657;
|
||||
public static final int GATE_39658 = 39658;
|
||||
public static final int GATE_39659 = 39659;
|
||||
public static final int GATE_39660 = 39660;
|
||||
public static final int STATUE_39674 = 39674;
|
||||
public static final int CORPSE_39675 = 39675;
|
||||
public static final int TREE_39676 = 39676;
|
||||
public static final int TREE_39677 = 39677;
|
||||
public static final int TREE_39678 = 39678;
|
||||
public static final int TREE_39679 = 39679;
|
||||
public static final int BUSH_39680 = 39680;
|
||||
public static final int BUSH_39681 = 39681;
|
||||
public static final int BUSH_39682 = 39682;
|
||||
public static final int BENCH_39687 = 39687;
|
||||
public static final int CAMPING_EQUIPMENT_39688 = 39688;
|
||||
public static final int TWISTED_CRATE = 39689;
|
||||
public static final int BARREL_39690 = 39690;
|
||||
public static final int STONE_PILE_39691 = 39691;
|
||||
public static final int STONE_PILE_39692 = 39692;
|
||||
public static final int WOOD_39693 = 39693;
|
||||
public static final int SACKS_39695 = 39695;
|
||||
public static final int SACKS_39696 = 39696;
|
||||
public static final int FLOWERS_39697 = 39697;
|
||||
public static final int FLOWERS_39698 = 39698;
|
||||
public static final int FLOWERS_39699 = 39699;
|
||||
public static final int FLOWERS_39700 = 39700;
|
||||
public static final int TABLE_39716 = 39716;
|
||||
public static final int STOOL_39718 = 39718;
|
||||
public static final int HOLE_39719 = 39719;
|
||||
public static final int WELL_39720 = 39720;
|
||||
public static final int CAVE_39721 = 39721;
|
||||
public static final int ALTAR_39723 = 39723;
|
||||
public static final int GIANT_ANVIL_39724 = 39724;
|
||||
public static final int STONE_PILE_39740 = 39740;
|
||||
public static final int STONE_PILE_39741 = 39741;
|
||||
public static final int HERBS_39748 = 39748;
|
||||
public static final int HERBS_39749 = 39749;
|
||||
public static final int HERBS_39750 = 39750;
|
||||
public static final int HERBS_39751 = 39751;
|
||||
public static final int HERBS_39752 = 39752;
|
||||
public static final int HERBS_39753 = 39753;
|
||||
public static final int HERBS_39754 = 39754;
|
||||
public static final int HERBS_39755 = 39755;
|
||||
public static final int HERBS_39756 = 39756;
|
||||
public static final int HERBS_39757 = 39757;
|
||||
public static final int HERBS_39758 = 39758;
|
||||
public static final int HERBS_39759 = 39759;
|
||||
public static final int HERBS_39760 = 39760;
|
||||
public static final int HERBS_39761 = 39761;
|
||||
public static final int HERBS_39762 = 39762;
|
||||
public static final int HERBS_39763 = 39763;
|
||||
public static final int HERBS_39764 = 39764;
|
||||
public static final int HERBS_39765 = 39765;
|
||||
public static final int HERBS_39766 = 39766;
|
||||
public static final int HERBS_39767 = 39767;
|
||||
public static final int HERBS_39768 = 39768;
|
||||
public static final int HERBS_39769 = 39769;
|
||||
public static final int HERBS_39770 = 39770;
|
||||
public static final int HERBS_39771 = 39771;
|
||||
public static final int HERBS_39772 = 39772;
|
||||
public static final int HERBS_39773 = 39773;
|
||||
public static final int HERBS_39774 = 39774;
|
||||
public static final int HERBS_39775 = 39775;
|
||||
public static final int HERBS_39776 = 39776;
|
||||
public static final int HERBS_39777 = 39777;
|
||||
public static final int HERBS_39778 = 39778;
|
||||
public static final int HERBS_39779 = 39779;
|
||||
public static final int HERBS_39780 = 39780;
|
||||
public static final int HERBS_39781 = 39781;
|
||||
public static final int HERBS_39782 = 39782;
|
||||
public static final int HERBS_39783 = 39783;
|
||||
public static final int HERBS_39784 = 39784;
|
||||
public static final int HERBS_39785 = 39785;
|
||||
public static final int HERBS_39786 = 39786;
|
||||
public static final int HERBS_39787 = 39787;
|
||||
public static final int HERBS_39788 = 39788;
|
||||
public static final int HERBS_39789 = 39789;
|
||||
public static final int HERBS_39790 = 39790;
|
||||
public static final int HERBS_39791 = 39791;
|
||||
public static final int HERBS_39792 = 39792;
|
||||
public static final int HERBS_39793 = 39793;
|
||||
public static final int HERBS_39794 = 39794;
|
||||
public static final int HERBS_39795 = 39795;
|
||||
public static final int HERBS_39796 = 39796;
|
||||
public static final int HERBS_39797 = 39797;
|
||||
public static final int HERBS_39798 = 39798;
|
||||
public static final int HERBS_39799 = 39799;
|
||||
public static final int HERBS_39800 = 39800;
|
||||
public static final int HERBS_39801 = 39801;
|
||||
public static final int HERBS_39802 = 39802;
|
||||
public static final int HERBS_39803 = 39803;
|
||||
public static final int HERBS_39804 = 39804;
|
||||
public static final int HERBS_39805 = 39805;
|
||||
public static final int HERBS_39806 = 39806;
|
||||
public static final int HERBS_39807 = 39807;
|
||||
public static final int HERBS_39808 = 39808;
|
||||
public static final int HERBS_39809 = 39809;
|
||||
public static final int HERBS_39810 = 39810;
|
||||
public static final int HERBS_39811 = 39811;
|
||||
public static final int HERB_PATCH_39812 = 39812;
|
||||
public static final int HERB_PATCH_39813 = 39813;
|
||||
public static final int HERBS_39814 = 39814;
|
||||
public static final int HERBS_39815 = 39815;
|
||||
public static final int HERBS_39816 = 39816;
|
||||
public static final int HERB_PATCH_39817 = 39817;
|
||||
public static final int HERB_PATCH_39818 = 39818;
|
||||
public static final int HERBS_39819 = 39819;
|
||||
public static final int HERBS_39820 = 39820;
|
||||
public static final int HERBS_39821 = 39821;
|
||||
public static final int HERB_PATCH_39822 = 39822;
|
||||
public static final int HERB_PATCH_39823 = 39823;
|
||||
public static final int HERBS_39824 = 39824;
|
||||
public static final int HERBS_39825 = 39825;
|
||||
public static final int HERBS_39826 = 39826;
|
||||
public static final int HERB_PATCH_39827 = 39827;
|
||||
public static final int HERB_PATCH_39828 = 39828;
|
||||
public static final int HERBS_39829 = 39829;
|
||||
public static final int HERBS_39830 = 39830;
|
||||
public static final int HERBS_39831 = 39831;
|
||||
public static final int HERB_PATCH_39832 = 39832;
|
||||
public static final int HERB_PATCH_39833 = 39833;
|
||||
public static final int HERBS_39834 = 39834;
|
||||
public static final int HERBS_39835 = 39835;
|
||||
public static final int HERBS_39836 = 39836;
|
||||
public static final int HERB_PATCH_39837 = 39837;
|
||||
public static final int HERB_PATCH_39838 = 39838;
|
||||
public static final int HERBS_39839 = 39839;
|
||||
public static final int HERBS_39840 = 39840;
|
||||
public static final int HERBS_39841 = 39841;
|
||||
public static final int HERB_PATCH_39842 = 39842;
|
||||
public static final int HERB_PATCH_39843 = 39843;
|
||||
public static final int HERBS_39844 = 39844;
|
||||
public static final int HERBS_39845 = 39845;
|
||||
public static final int HERBS_39846 = 39846;
|
||||
public static final int HERB_PATCH_39847 = 39847;
|
||||
public static final int HERB_PATCH_39848 = 39848;
|
||||
public static final int HERBS_39849 = 39849;
|
||||
public static final int HERBS_39850 = 39850;
|
||||
public static final int HERBS_39851 = 39851;
|
||||
public static final int HERB_PATCH_39852 = 39852;
|
||||
public static final int HERB_PATCH_39853 = 39853;
|
||||
public static final int HERBS_39854 = 39854;
|
||||
public static final int HERBS_39855 = 39855;
|
||||
public static final int HERBS_39856 = 39856;
|
||||
public static final int HERB_PATCH_39857 = 39857;
|
||||
public static final int HERB_PATCH_39858 = 39858;
|
||||
public static final int HERBS_39859 = 39859;
|
||||
public static final int HERBS_39860 = 39860;
|
||||
public static final int HERBS_39861 = 39861;
|
||||
public static final int HERB_PATCH_39862 = 39862;
|
||||
public static final int HERB_PATCH_39863 = 39863;
|
||||
public static final int HERBS_39864 = 39864;
|
||||
public static final int HERBS_39865 = 39865;
|
||||
public static final int HERBS_39866 = 39866;
|
||||
public static final int HERB_PATCH_39867 = 39867;
|
||||
public static final int HERB_PATCH_39868 = 39868;
|
||||
public static final int HERBS_39869 = 39869;
|
||||
public static final int HERBS_39870 = 39870;
|
||||
public static final int HERBS_39871 = 39871;
|
||||
public static final int HERB_PATCH_39872 = 39872;
|
||||
public static final int HERB_PATCH_39873 = 39873;
|
||||
public static final int HERBS_39874 = 39874;
|
||||
public static final int HERBS_39875 = 39875;
|
||||
public static final int HERBS_39876 = 39876;
|
||||
public static final int HERB_PATCH_39877 = 39877;
|
||||
public static final int HERB_PATCH_39878 = 39878;
|
||||
public static final int HERBS_39879 = 39879;
|
||||
public static final int HERBS_39880 = 39880;
|
||||
public static final int HERBS_39881 = 39881;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -89,4 +89,12 @@ public interface Player extends Actor
|
||||
*/
|
||||
@Nullable
|
||||
SkullIcon getSkullIcon();
|
||||
|
||||
/**
|
||||
* This is almost always not what you want
|
||||
* @return literal 0
|
||||
*/
|
||||
int getRSSkillLevel();
|
||||
|
||||
String[] getActions();
|
||||
}
|
||||
|
||||
@@ -31,6 +31,13 @@ import net.runelite.api.kit.KitType;
|
||||
*/
|
||||
public interface PlayerAppearance
|
||||
{
|
||||
/**
|
||||
* Checks if the player is female.
|
||||
*
|
||||
* @return true if the player is female
|
||||
*/
|
||||
boolean isFemale();
|
||||
|
||||
/**
|
||||
* Gets an array of IDs related to equipment slots.
|
||||
* <p>
|
||||
|
||||
@@ -167,8 +167,8 @@ public final class ScriptID
|
||||
*
|
||||
* Updates the VarClientInts (73, 74) to this same value
|
||||
* <ul>
|
||||
* <li> int Reset zoom position </li>
|
||||
* <li> int Reset zoom position </li>
|
||||
* <li> int Reset zoom position for fixed viewport mode</li>
|
||||
* <li> int Reset zoom position for resizable viewport mode</li>
|
||||
* </ul>
|
||||
*/
|
||||
@ScriptArguments(integer = 2)
|
||||
@@ -241,12 +241,6 @@ public final class ScriptID
|
||||
@ScriptArguments(integer = 18)
|
||||
public static final int BANKMAIN_SEARCH_TOGGLE = 281;
|
||||
|
||||
/**
|
||||
* Builds the items kept on death widget
|
||||
*/
|
||||
@ScriptArguments(integer = 4, string = 2)
|
||||
public static final int DEATH_KEEP_BUILD = 1601;
|
||||
|
||||
/**
|
||||
* Builds the widget that holds all of the players inside a friends chat
|
||||
*/
|
||||
@@ -329,4 +323,28 @@ public final class ScriptID
|
||||
*/
|
||||
@ScriptArguments(integer = 2)
|
||||
public static final int TOPLEVEL_REDRAW = 907;
|
||||
|
||||
/**
|
||||
* Called to set position of an xpdrop text and sprite(s)
|
||||
* <ul>
|
||||
* <li> XP drop parent component </li>
|
||||
* </ul>
|
||||
*/
|
||||
@ScriptArguments(integer = 4, string = 1)
|
||||
public static final int XPDROPS_SETDROPSIZE = 996;
|
||||
|
||||
/**
|
||||
* Main layout script for the bank
|
||||
* <ul>
|
||||
* <li>int (WidgetID) * 17, various widgets making up the bank interface</li>
|
||||
* </ul>
|
||||
*/
|
||||
@ScriptArguments(integer = 17)
|
||||
public static final int BANKMAIN_BUILD = 277;
|
||||
|
||||
@ScriptArguments(integer = 19)
|
||||
public static final int BANKMAIN_FINISHBUILDING = 505;
|
||||
|
||||
@ScriptArguments()
|
||||
public static final int BANKMAIN_SEARCHING = 514;
|
||||
}
|
||||
|
||||
@@ -42,4 +42,9 @@ public interface TileItem extends Entity
|
||||
* @return
|
||||
*/
|
||||
int getSpawnTime();
|
||||
|
||||
/**
|
||||
* @return the tile this item is on
|
||||
*/
|
||||
Tile getTile();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2020, Adam <Adam@sigterm.info>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
public interface VarbitDefinition
|
||||
{
|
||||
/**
|
||||
* The varp index for this varbit
|
||||
*/
|
||||
int getIndex();
|
||||
|
||||
/**
|
||||
* The least significant bit of the varbit
|
||||
*/
|
||||
int getLeastSignificantBit();
|
||||
|
||||
/**
|
||||
* The most significant bit of the varbit (inclusive)
|
||||
*/
|
||||
int getMostSignificantBit();
|
||||
}
|
||||
+4
-4
@@ -25,13 +25,13 @@
|
||||
package net.runelite.api.events;
|
||||
|
||||
import lombok.Value;
|
||||
import net.runelite.api.Player;
|
||||
import net.runelite.api.Actor;
|
||||
|
||||
/**
|
||||
* An event when a player dies.
|
||||
* An event fired when an actor dies.
|
||||
*/
|
||||
@Value
|
||||
public class PlayerDeath implements Event
|
||||
public class ActorDeath implements Event
|
||||
{
|
||||
Player player;
|
||||
Actor actor;
|
||||
}
|
||||
@@ -24,22 +24,22 @@
|
||||
*/
|
||||
package net.runelite.api.events;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.Value;
|
||||
import net.runelite.api.ScriptEvent;
|
||||
|
||||
/**
|
||||
* An event that is fired before the designated script is ran
|
||||
*/
|
||||
@Data
|
||||
@Value
|
||||
public class ScriptPreFired implements Event
|
||||
{
|
||||
/**
|
||||
* The script id of the invoked script
|
||||
*/
|
||||
private final int scriptId;
|
||||
int scriptId;
|
||||
|
||||
/**
|
||||
* The input of the script invoke, this will be null unless it is the root script
|
||||
*/
|
||||
private ScriptEvent scriptEvent;
|
||||
ScriptEvent scriptEvent;
|
||||
}
|
||||
|
||||
@@ -79,7 +79,13 @@ public enum SlayerUnlock
|
||||
RUNE_DRAGON_EXTEND(41),
|
||||
VORKATH_SLAYER_HELM(42),
|
||||
FOSSIL_ISLAND_WYVERN_DISABLE(43, Varbits.FOSSIL_ISLAND_WYVERN_DISABLE),
|
||||
GROTESQUE_GUARDIAN_DOUBLE_COUNT(44);
|
||||
GROTESQUE_GUARDIAN_DOUBLE_COUNT(44),
|
||||
HYDRA_SLAYER_HELM(45),
|
||||
BASILISK_EXTEND(46),
|
||||
BASILISK_UNLOCK(47),
|
||||
OLM_SLAYER_HELM(48),
|
||||
VAMPYRE_EXTEND(49),
|
||||
VAMPYRE_UNLOCK(50);
|
||||
|
||||
private Varbits toggleVarbit;
|
||||
|
||||
|
||||
@@ -68,6 +68,8 @@ public interface Widget
|
||||
*/
|
||||
void setType(int type);
|
||||
|
||||
int getButtonType();
|
||||
|
||||
/**
|
||||
* Gets the type of content displayed by the widget.
|
||||
*/
|
||||
@@ -179,6 +181,18 @@ public interface Widget
|
||||
@Deprecated
|
||||
void setRelativeY(int y);
|
||||
|
||||
String getSpellName();
|
||||
|
||||
/**
|
||||
* You probably want {@link Widget#getText()} instead
|
||||
*/
|
||||
String getRSButtonText();
|
||||
|
||||
/**
|
||||
* You probably want {@link Widget#getText()} instead
|
||||
*/
|
||||
String getButtonText();
|
||||
|
||||
/**
|
||||
* Gets the text displayed on this widget.
|
||||
*
|
||||
@@ -235,6 +249,12 @@ public interface Widget
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Gets the internal field returned by getName unfiltered
|
||||
* @return the unfiltered name
|
||||
*/
|
||||
String getRSName();
|
||||
|
||||
/**
|
||||
* Sets the name of the widget.
|
||||
*
|
||||
@@ -605,6 +625,8 @@ public interface Widget
|
||||
*/
|
||||
String[] getActions();
|
||||
|
||||
String[] getItemActions();
|
||||
|
||||
/**
|
||||
* Creates a dynamic widget child
|
||||
*
|
||||
@@ -738,15 +760,6 @@ public interface Widget
|
||||
|
||||
Object[] getOnInvTransmit();
|
||||
|
||||
Object[] getOnOp();
|
||||
|
||||
/**
|
||||
* Gets the script and arguments to be ran when one of the listened for inventories changes.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
Object[] getOnInvTransmitListener();
|
||||
|
||||
/**
|
||||
* Returns the archive id of the font used
|
||||
*
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
package net.runelite.api.widgets;
|
||||
|
||||
/**
|
||||
|
||||
|
||||
|
||||
|
||||
* Utility class mapping widget IDs to global constants.
|
||||
* <p>
|
||||
* The constants defined directly under the {@link WidgetID} class are
|
||||
@@ -171,6 +175,8 @@ public class WidgetID
|
||||
public static final int GENERIC_SCROLL_GROUP_ID = 625;
|
||||
public static final int GAUNTLET_TIMER_GROUP_ID = 637;
|
||||
public static final int GAUNTLET_MAP_GROUP_ID = 638;
|
||||
public static final int HALLOWED_SEPULCHRE_TIMER_GROUP_ID = 668;
|
||||
public static final int HEALTH_OVERLAY_BAR_GROUP_ID = 303;
|
||||
|
||||
static class WorldMap
|
||||
{
|
||||
@@ -320,14 +326,15 @@ public class WidgetID
|
||||
static final int CONTENT_CONTAINER = 9;
|
||||
static final int TAB_CONTAINER = 10;
|
||||
static final int ITEM_CONTAINER = 12;
|
||||
static final int SCROLLBAR = 13;
|
||||
static final int SEARCH_BUTTON_BACKGROUND = 39;
|
||||
static final int DEPOSIT_INVENTORY = 41;
|
||||
static final int DEPOSIT_EQUIPMENT = 43;
|
||||
static final int INCINERATOR = 45;
|
||||
static final int INCINERATOR_CONFIRM = 46;
|
||||
static final int EQUIPMENT_CONTENT_CONTAINER = 68;
|
||||
static final int SETTINGS_BUTTON = 108;
|
||||
static final int EQUIPMENT_BUTTON = 109;
|
||||
static final int SETTINGS_BUTTON = 111;
|
||||
static final int EQUIPMENT_BUTTON = 112;
|
||||
}
|
||||
|
||||
static class GrandExchange
|
||||
@@ -886,23 +893,23 @@ public class WidgetID
|
||||
static class EquipmentWidgetIdentifiers
|
||||
{
|
||||
static final int EQUIP_YOUR_CHARACTER = 3;
|
||||
static final int STAB_ATTACK_BONUS = 23;
|
||||
static final int SLASH_ATTACK_BONUS = 24;
|
||||
static final int CRUSH_ATTACK_BONUS = 25;
|
||||
static final int MAGIC_ATTACK_BONUS = 26;
|
||||
static final int RANGED_ATTACK_BONUS = 27;
|
||||
static final int STAB_DEFENCE_BONUS = 29;
|
||||
static final int SLASH_DEFENCE_BONUS = 30;
|
||||
static final int CRUSH_DEFENCE_BONUS = 31;
|
||||
static final int MAGIC_DEFENCE_BONUS = 32;
|
||||
static final int RANGED_DEFENCE_BONUS = 33;
|
||||
static final int MELEE_STRENGTH = 35;
|
||||
static final int RANGED_STRENGTH = 36;
|
||||
static final int MAGIC_DAMAGE = 37;
|
||||
static final int PRAYER_BONUS = 38;
|
||||
static final int UNDEAD_DAMAGE_BONUS = 40;
|
||||
static final int SLAYER_DAMAGE_BONUS = 41;
|
||||
static final int WEIGHT = 43;
|
||||
static final int STAB_ATTACK_BONUS = 24;
|
||||
static final int SLASH_ATTACK_BONUS = 25;
|
||||
static final int CRUSH_ATTACK_BONUS = 26;
|
||||
static final int MAGIC_ATTACK_BONUS = 27;
|
||||
static final int RANGED_ATTACK_BONUS = 28;
|
||||
static final int STAB_DEFENCE_BONUS = 30;
|
||||
static final int SLASH_DEFENCE_BONUS = 31;
|
||||
static final int CRUSH_DEFENCE_BONUS = 32;
|
||||
static final int MAGIC_DEFENCE_BONUS = 33;
|
||||
static final int RANGED_DEFENCE_BONUS = 34;
|
||||
static final int MELEE_STRENGTH = 36;
|
||||
static final int RANGED_STRENGTH = 37;
|
||||
static final int MAGIC_DAMAGE = 38;
|
||||
static final int PRAYER_BONUS = 39;
|
||||
static final int UNDEAD_DAMAGE_BONUS = 41;
|
||||
static final int SLAYER_DAMAGE_BONUS = 42;
|
||||
static final int WEIGHT = 49;
|
||||
}
|
||||
|
||||
static class VarrockMuseum
|
||||
@@ -1152,10 +1159,10 @@ public class WidgetID
|
||||
static final int SKULL = 56; // OUTDATED?
|
||||
static final int ATTACK_RANGE = 59; // OUTDATED?
|
||||
static final int BOUNTY_HUNTER_INFO = 6;
|
||||
static final int KILLDEATH_RATIO = 34;
|
||||
static final int SKULL_CONTAINER = 54;
|
||||
static final int SAFE_ZONE = 56;
|
||||
static final int WILDERNESS_LEVEL = 59; // this can also be the Deadman Mode "Protection" text
|
||||
static final int KILLDEATH_RATIO = 28;
|
||||
static final int SKULL_CONTAINER = 48;
|
||||
static final int SAFE_ZONE = 50;
|
||||
static final int WILDERNESS_LEVEL = 53; // this can also be the Deadman Mode "Protection" text
|
||||
}
|
||||
|
||||
static class KourendFavour
|
||||
@@ -1362,5 +1369,15 @@ public class WidgetID
|
||||
static class GauntletMap
|
||||
{
|
||||
static final int CONTAINER = 4;
|
||||
}
|
||||
|
||||
static class HallowedSepulchreTimer
|
||||
{
|
||||
static final int CONTAINER = 2;
|
||||
}
|
||||
|
||||
static class EncounterHealthBar
|
||||
{
|
||||
static final int CONTAINER = 6;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,6 +165,7 @@ public enum WidgetInfo
|
||||
BANK_ITEM_COUNT_TOP(WidgetID.BANK_GROUP_ID, WidgetID.Bank.ITEM_COUNT_TOP),
|
||||
BANK_ITEM_COUNT_BAR(WidgetID.BANK_GROUP_ID, WidgetID.Bank.ITEM_COUNT_BAR),
|
||||
BANK_ITEM_COUNT_BOTTOM(WidgetID.BANK_GROUP_ID, WidgetID.Bank.ITEM_COUNT_BOTTOM),
|
||||
BANK_SCROLLBAR(WidgetID.BANK_GROUP_ID, WidgetID.Bank.SCROLLBAR),
|
||||
BANK_PIN_CONTAINER(WidgetID.BANK_PIN_GROUP_ID, WidgetID.BankPin.CONTAINER),
|
||||
BANK_SETTINGS_BUTTON(WidgetID.BANK_GROUP_ID, WidgetID.Bank.SETTINGS_BUTTON),
|
||||
BANK_TUTORIAL_BUTTON(WidgetID.BANK_GROUP_ID, WidgetID.Bank.TUTORIAL_BUTTON),
|
||||
@@ -891,7 +892,11 @@ public enum WidgetInfo
|
||||
SECOND_TRADING_WITH_THEIR_ITEMS(WidgetID.PLAYER_TRADE_CONFIRM_GROUP_ID, WidgetID.TradeScreen.SECOND_THEIR_ITEMS),
|
||||
|
||||
GAUNTLET_TIMER_CONTAINER(WidgetID.GAUNTLET_TIMER_GROUP_ID, WidgetID.GauntletTimer.CONTAINER),
|
||||
GAUNTLET_MAP(WidgetID.GAUNTLET_MAP_GROUP_ID, WidgetID.GauntletMap.CONTAINER);
|
||||
GAUNTLET_MAP(WidgetID.GAUNTLET_MAP_GROUP_ID, WidgetID.GauntletMap.CONTAINER),
|
||||
|
||||
HALLOWED_SEPULCHRE_TIMER_CONTAINER(WidgetID.HALLOWED_SEPULCHRE_TIMER_GROUP_ID, WidgetID.HallowedSepulchreTimer.CONTAINER),
|
||||
|
||||
HEALTH_OVERLAY_BAR(WidgetID.HEALTH_OVERLAY_BAR_GROUP_ID, WidgetID.EncounterHealthBar.CONTAINER);
|
||||
|
||||
private final int groupId;
|
||||
private final int childId;
|
||||
|
||||
Reference in New Issue
Block a user