Merge branch 'master' into rebasetob
This commit is contained in:
@@ -148,6 +148,10 @@ public enum ChatMessageType
|
||||
* A message that times out after 10 seconds.
|
||||
*/
|
||||
TENSECTIMEOUT(107),
|
||||
/**
|
||||
* The "Welcome to RuneScape" message
|
||||
*/
|
||||
WELCOME(108),
|
||||
/**
|
||||
* An unknown message type.
|
||||
*/
|
||||
|
||||
@@ -341,11 +341,12 @@ public interface Client extends GameShell
|
||||
* Gets the logged in player instance.
|
||||
*
|
||||
* @return the logged in player
|
||||
*
|
||||
* <p>
|
||||
* (getLocalPlayerIndex returns the local index, useful for menus/interacting)
|
||||
*/
|
||||
@Nullable
|
||||
Player getLocalPlayer();
|
||||
|
||||
int getLocalPlayerIndex();
|
||||
|
||||
/**
|
||||
@@ -957,36 +958,42 @@ public interface Client extends GameShell
|
||||
|
||||
/**
|
||||
* Gets the music volume
|
||||
*
|
||||
* @return volume 0-255 inclusive
|
||||
*/
|
||||
int getMusicVolume();
|
||||
|
||||
/**
|
||||
* Sets the music volume
|
||||
*
|
||||
* @param volume 0-255 inclusive
|
||||
*/
|
||||
void setMusicVolume(int volume);
|
||||
|
||||
/**
|
||||
* Gets the sound effect volume
|
||||
*
|
||||
* @return volume 0-127 inclusive
|
||||
*/
|
||||
int getSoundEffectVolume();
|
||||
|
||||
/**
|
||||
* Sets the sound effect volume
|
||||
*
|
||||
* @param volume 0-127 inclusive
|
||||
*/
|
||||
void setSoundEffectVolume(int volume);
|
||||
|
||||
/**
|
||||
* Gets the area sound effect volume
|
||||
*
|
||||
* @return volume 0-127 inclusive
|
||||
*/
|
||||
int getAreaSoundEffectVolume();
|
||||
|
||||
/**
|
||||
* Sets the area sound effect volume
|
||||
*
|
||||
* @param volume 0-127 inclusive
|
||||
*/
|
||||
void setAreaSoundEffectVolume(int volume);
|
||||
@@ -1554,6 +1561,13 @@ public interface Client extends GameShell
|
||||
*/
|
||||
void setNPCsHidden2D(boolean state);
|
||||
|
||||
/**
|
||||
* Sets whether Pets from other players are hidden.
|
||||
*
|
||||
* @param state new pet hidden state
|
||||
*/
|
||||
void setPetsHidden(boolean state);
|
||||
|
||||
/**
|
||||
* Sets whether attacking players or NPCs are hidden.
|
||||
*
|
||||
@@ -1777,7 +1791,7 @@ public interface Client extends GameShell
|
||||
/**
|
||||
* @param param0 This is SceneX for gameObject, index for items, and 0 for npc.
|
||||
* @param param1 This is SceneY for gameObject, static for items, and 0 for npc.
|
||||
* @param opcode Menu entry Action opcode.
|
||||
* @param opcode Menu entry Action opcode.
|
||||
* @param id Targets ID
|
||||
* @param menuEntry Do these actually matter?
|
||||
* @param targetString Do these actually matter?
|
||||
@@ -1865,26 +1879,25 @@ public interface Client extends GameShell
|
||||
/**
|
||||
* Scales values from pixels onto canvas
|
||||
*
|
||||
* @see net.runelite.client.util.ImageUtil#resizeSprite(Client, Sprite, int, int)
|
||||
*
|
||||
* @param canvas the array we're writing to
|
||||
* @param pixels pixels to draw
|
||||
* @param color should be 0
|
||||
* @param pixelX x index
|
||||
* @param pixelY y index
|
||||
* @param canvasIdx index in canvas (canvas[canvasIdx])
|
||||
* @param canvas the array we're writing to
|
||||
* @param pixels pixels to draw
|
||||
* @param color should be 0
|
||||
* @param pixelX x index
|
||||
* @param pixelY y index
|
||||
* @param canvasIdx index in canvas (canvas[canvasIdx])
|
||||
* @param canvasOffset x offset
|
||||
* @param newWidth new width
|
||||
* @param newHeight new height
|
||||
* @param pixelWidth pretty much horizontal scale
|
||||
* @param pixelHeight pretty much vertical scale
|
||||
* @param oldWidth old width
|
||||
* @param newWidth new width
|
||||
* @param newHeight new height
|
||||
* @param pixelWidth pretty much horizontal scale
|
||||
* @param pixelHeight pretty much vertical scale
|
||||
* @param oldWidth old width
|
||||
* @see net.runelite.client.util.ImageUtil#resizeSprite(Client, Sprite, int, int)
|
||||
*/
|
||||
void scaleSprite(int[] canvas, int[] pixels, int color, int pixelX, int pixelY, int canvasIdx, int canvasOffset, int newWidth, int newHeight, int pixelWidth, int pixelHeight, int oldWidth);
|
||||
|
||||
/**
|
||||
* Get the MenuEntry at client.getMenuOptionCount() - 1
|
||||
*
|
||||
* <p>
|
||||
* This is useful so you don't have to use getMenuEntries,
|
||||
* which will create a big array, when you only want to change
|
||||
* the left click one.
|
||||
@@ -1893,7 +1906,7 @@ public interface Client extends GameShell
|
||||
|
||||
/**
|
||||
* Set the MenuEntry at client.getMenuOptionCount() - 1
|
||||
*
|
||||
* <p>
|
||||
* This is useful so you don't have to use setMenuEntries,
|
||||
* which will arraycopy a big array to several smaller arrays lol,
|
||||
* when you only want to change the left click one.
|
||||
|
||||
@@ -27,6 +27,4 @@ package net.runelite.api;
|
||||
/**
|
||||
* Represents the friend and ignore list manager.
|
||||
*/
|
||||
public interface FriendManager
|
||||
{
|
||||
}
|
||||
public interface FriendManager {}
|
||||
|
||||
@@ -98,13 +98,14 @@ public enum InventoryID
|
||||
|
||||
public static InventoryID getValue(int value)
|
||||
{
|
||||
for (InventoryID e: InventoryID.values())
|
||||
for (InventoryID e : InventoryID.values())
|
||||
{
|
||||
if (e.id == value)
|
||||
{
|
||||
return e;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
throw new IllegalArgumentException("No InventoryID with id " + value + " exists");
|
||||
}
|
||||
}
|
||||
@@ -11327,5 +11327,45 @@ public final class ItemID
|
||||
public static final int BOUNTY_HUNTER_HAT_TIER_4 = 24344;
|
||||
public static final int BOUNTY_HUNTER_HAT_TIER_5 = 24346;
|
||||
public static final int BOUNTY_HUNTER_HAT_TIER_6 = 24348;
|
||||
public static final int SCROLL_BOX_BEGINNER = 24361;
|
||||
public static final int SCROLL_BOX_EASY = 24362;
|
||||
public static final int SCROLL_BOX_MEDIUM = 24363;
|
||||
public static final int SCROLL_BOX_HARD = 24364;
|
||||
public static final int SCROLL_BOX_ELITE = 24365;
|
||||
public static final int SCROLL_BOX_MASTER = 24366;
|
||||
public static final int CABBAGE_24367 = 24367;
|
||||
public static final int TWISTED_SLAYER_HELMET = 24370;
|
||||
public static final int TWISTED_LEAGUE_DRAGON_TROPHY = 24372;
|
||||
public static final int TWISTED_LEAGUE_RUNE_TROPHY = 24374;
|
||||
public static final int TWISTED_LEAGUE_ADAMANT_TROPHY = 24376;
|
||||
public static final int TWISTED_LEAGUE_MITHRIL_TROPHY = 24378;
|
||||
public static final int TWISTED_LEAGUE_STEEL_TROPHY = 24380;
|
||||
public static final int TWISTED_LEAGUE_IRON_TROPHY = 24382;
|
||||
public static final int TWISTED_LEAGUE_BRONZE_TROPHY = 24384;
|
||||
public static final int TWISTED_HAT_T3 = 24387;
|
||||
public static final int TWISTED_COAT_T3 = 24389;
|
||||
public static final int TWISTED_TROUSERS_T3 = 24391;
|
||||
public static final int TWISTED_BOOTS_T3 = 24393;
|
||||
public static final int TWISTED_CANE = 24395;
|
||||
public static final int TWISTED_HAT_T2 = 24397;
|
||||
public static final int TWISTED_COAT_T2 = 24399;
|
||||
public static final int TWISTED_TROUSERS_T2 = 24401;
|
||||
public static final int TWISTED_BOOTS_T2 = 24403;
|
||||
public static final int TWISTED_HAT_T1 = 24405;
|
||||
public static final int TWISTED_COAT_T1 = 24407;
|
||||
public static final int TWISTED_TROUSERS_T1 = 24409;
|
||||
public static final int TWISTED_BOOTS_T1 = 24411;
|
||||
public static final int TWISTED_LEAGUE_BANNER = 24413;
|
||||
public static final int RUNE_POUCH_L = 24416;
|
||||
public static final int INQUISITORS_MACE = 24417;
|
||||
public static final int SIRENS_TOME = 24418;
|
||||
public static final int INQUISITORS_GREAT_HELM = 24419;
|
||||
public static final int INQUISITORS_HAUBERK = 24420;
|
||||
public static final int INQUISITORS_PLATESKIRT = 24421;
|
||||
public static final int NIGHTMARE_STAFF = 24422;
|
||||
public static final int HARMONISED_NIGHTMARE_STAFF = 24423;
|
||||
public static final int VOLATILE_NIGHTMARE_STAFF = 24424;
|
||||
public static final int ELDRITCH_NIGHTMARE_STAFF = 24425;
|
||||
public static final int CABBAGE_24426 = 24426;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -27,6 +27,4 @@ package net.runelite.api;
|
||||
/**
|
||||
* Detects when the window is focused or unfocused.
|
||||
*/
|
||||
public interface KeyFocusListener
|
||||
{
|
||||
}
|
||||
public interface KeyFocusListener {}
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright (c) 2018 Magic fTail
|
||||
* 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 final class ModelID
|
||||
{
|
||||
public static final int ANVIL = 1251;
|
||||
public static final int WILLOW_TREE = 1570;
|
||||
public static final int SLAYER_SKILL_MODEL = 1733;
|
||||
public static final int FIREMAKING_SKILL_MODEL = 2260;
|
||||
public static final int STEEL_KITESHIELD = 2339;
|
||||
public static final int PURE_ESSENCE = 2349;
|
||||
public static final int RAW_TUNA = 2355;
|
||||
public static final int CLEAN_HERB = 2364;
|
||||
public static final int HAMMER = 2376;
|
||||
public static final int BLUE_WIZARD_HAT = 2483;
|
||||
public static final int CHISEL = 2489;
|
||||
public static final int HIGHWAYMAN_MASK = 2500;
|
||||
public static final int STEEL_PICKAXE = 2529;
|
||||
public static final int SHORTBOW = 2562;
|
||||
public static final int STEEL_LONGSWORD = 2602;
|
||||
public static final int STEEL_SWORD = 2604;
|
||||
public static final int STEEL_ARROW = 2711;
|
||||
public static final int PRAYER_SKILL_MODEL = 3325;
|
||||
public static final int STRENGTH_SKILL_MODEL = 3327;
|
||||
public static final int AGILITY_SKILL_MODEL = 3328;
|
||||
public static final int HEARTH = 3326;
|
||||
public static final int WATERING_CAN = 7331;
|
||||
public static final int SAW = 12309;
|
||||
public static final int FOOTPRINT = 19980;
|
||||
public static final int COOKING_SKILL_MODEL = 27611;
|
||||
}
|
||||
@@ -48,6 +48,8 @@ public interface NPCDefinition
|
||||
|
||||
boolean isClickable();
|
||||
|
||||
boolean isFollower();
|
||||
|
||||
/**
|
||||
* Gets whether the NPC is visible on the mini-map.
|
||||
*/
|
||||
|
||||
@@ -27,6 +27,4 @@ package net.runelite.api;
|
||||
/**
|
||||
* Represents a chat entity that has a name.
|
||||
*/
|
||||
public interface Nameable extends Comparable
|
||||
{
|
||||
}
|
||||
public interface Nameable extends Comparable {}
|
||||
|
||||
@@ -308,7 +308,8 @@ public final class NpcID
|
||||
public static final int FROG = 312;
|
||||
public static final int REACHER_313 = 313;
|
||||
public static final int DR_JEKYLL_314 = 314;
|
||||
public static final int PAUL = 317;
|
||||
public static final int LEAGUES_TUTOR = 315;
|
||||
public static final int LEAGUES_TUTOR_316 = 316;
|
||||
public static final int DARK_CORE = 318;
|
||||
public static final int CORPOREAL_BEAST = 319;
|
||||
public static final int DARK_ENERGY_CORE = 320;
|
||||
@@ -7160,6 +7161,7 @@ public final class NpcID
|
||||
public static final int REVENANT_DARK_BEAST = 7938;
|
||||
public static final int REVENANT_KNIGHT = 7939;
|
||||
public static final int REVENANT_DRAGON = 7940;
|
||||
public static final int PAUL = 7941;
|
||||
public static final int EMBLEM_TRADER_7943 = 7943;
|
||||
public static final int FISHING_SPOT_7946 = 7946;
|
||||
public static final int FISHING_SPOT_7947 = 7947;
|
||||
|
||||
@@ -12814,5 +12814,43 @@ public final class NullItemID
|
||||
public static final int NULL_24345 = 24345;
|
||||
public static final int NULL_24347 = 24347;
|
||||
public static final int NULL_24349 = 24349;
|
||||
public static final int NULL_24350 = 24350;
|
||||
public static final int NULL_24351 = 24351;
|
||||
public static final int NULL_24352 = 24352;
|
||||
public static final int NULL_24353 = 24353;
|
||||
public static final int NULL_24354 = 24354;
|
||||
public static final int NULL_24355 = 24355;
|
||||
public static final int NULL_24356 = 24356;
|
||||
public static final int NULL_24357 = 24357;
|
||||
public static final int NULL_24358 = 24358;
|
||||
public static final int NULL_24359 = 24359;
|
||||
public static final int NULL_24360 = 24360;
|
||||
public static final int NULL_24368 = 24368;
|
||||
public static final int NULL_24369 = 24369;
|
||||
public static final int NULL_24371 = 24371;
|
||||
public static final int NULL_24373 = 24373;
|
||||
public static final int NULL_24375 = 24375;
|
||||
public static final int NULL_24377 = 24377;
|
||||
public static final int NULL_24379 = 24379;
|
||||
public static final int NULL_24381 = 24381;
|
||||
public static final int NULL_24383 = 24383;
|
||||
public static final int NULL_24385 = 24385;
|
||||
public static final int NULL_24386 = 24386;
|
||||
public static final int NULL_24388 = 24388;
|
||||
public static final int NULL_24390 = 24390;
|
||||
public static final int NULL_24392 = 24392;
|
||||
public static final int NULL_24394 = 24394;
|
||||
public static final int NULL_24396 = 24396;
|
||||
public static final int NULL_24398 = 24398;
|
||||
public static final int NULL_24400 = 24400;
|
||||
public static final int NULL_24402 = 24402;
|
||||
public static final int NULL_24404 = 24404;
|
||||
public static final int NULL_24406 = 24406;
|
||||
public static final int NULL_24408 = 24408;
|
||||
public static final int NULL_24410 = 24410;
|
||||
public static final int NULL_24412 = 24412;
|
||||
public static final int NULL_24414 = 24414;
|
||||
public static final int NULL_24415 = 24415;
|
||||
public static final int NULL_24427 = 24427;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -13793,6 +13793,9 @@ public final class NullObjectID
|
||||
public static final int NULL_29134 = 29134;
|
||||
public static final int NULL_29135 = 29135;
|
||||
public static final int NULL_29150 = 29150;
|
||||
public static final int NULL_29154 = 29154;
|
||||
public static final int NULL_29155 = 29155;
|
||||
public static final int NULL_29156 = 29156;
|
||||
public static final int NULL_29228 = 29228;
|
||||
public static final int NULL_29229 = 29229;
|
||||
public static final int NULL_29265 = 29265;
|
||||
@@ -18041,6 +18044,8 @@ public final class NullObjectID
|
||||
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;
|
||||
@@ -18052,5 +18057,22 @@ public final class NullObjectID
|
||||
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;
|
||||
public static final int NULL_37470 = 37470;
|
||||
public static final int NULL_37471 = 37471;
|
||||
public static final int NULL_37472 = 37472;
|
||||
public static final int NULL_37473 = 37473;
|
||||
public static final int NULL_37474 = 37474;
|
||||
public static final int NULL_37475 = 37475;
|
||||
public static final int NULL_37476 = 37476;
|
||||
public static final int NULL_37477 = 37477;
|
||||
public static final int NULL_37478 = 37478;
|
||||
public static final int NULL_37479 = 37479;
|
||||
public static final int NULL_37480 = 37480;
|
||||
public static final int NULL_37481 = 37481;
|
||||
public static final int NULL_37490 = 37490;
|
||||
public static final int NULL_37491 = 37491;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -15349,9 +15349,6 @@ public final class ObjectID
|
||||
public static final int MAHOGANY_ADVENTURE_LOG = 29151;
|
||||
public static final int GILDED_ADVENTURE_LOG = 29152;
|
||||
public static final int MARBLE_ADVENTURE_LOG = 29153;
|
||||
public static final int BASIC_JEWELLERY_BOX = 29154;
|
||||
public static final int FANCY_JEWELLERY_BOX = 29155;
|
||||
public static final int ORNATE_JEWELLERY_BOX = 29156;
|
||||
public static final int BOSS_LAIR_DISPLAY = 29157;
|
||||
public static final int KRAKEN_DISPLAY = 29158;
|
||||
public static final int ZULRAH_DISPLAY = 29159;
|
||||
@@ -16927,7 +16924,7 @@ public final class ObjectID
|
||||
public static final int CORPOREAL_BEAST_DISPLAY = 31921;
|
||||
public static final int GILDED_ADVENTURE_LOG_31922 = 31922;
|
||||
public static final int ALTAR_OF_THE_OCCULT_31923 = 31923;
|
||||
public static final int ORNATE_JEWELLERY_BOX_31924 = 31924;
|
||||
public static final int ORNATE_JEWELLERY_BOX = 31924;
|
||||
public static final int MOUNTED_MAX_CAPE_31925 = 31925;
|
||||
public static final int BURNING_BRAZIER_31926 = 31926;
|
||||
public static final int PYROMANCER = 31927;
|
||||
@@ -19385,7 +19382,83 @@ public final class ObjectID
|
||||
public static final int ROUGH_WALL_37431 = 37431;
|
||||
public static final int STREAK_INFO = 37434;
|
||||
public static final int SWAMPY_SINK = 37435;
|
||||
public static final int SHUTTERED_WINDOW_37441 = 37441;
|
||||
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;
|
||||
public static final int STAINEDGLASS_WINDOW_37460 = 37460;
|
||||
public static final int DECORATIVE_WINDOW_37461 = 37461;
|
||||
public static final int STAINEDGLASS_WINDOW_37462 = 37462;
|
||||
public static final int DOOR_37463 = 37463;
|
||||
public static final int DOOR_37464 = 37464;
|
||||
public static final int DOOR_37465 = 37465;
|
||||
public static final int DOOR_37466 = 37466;
|
||||
public static final int LEAGUE_FIRSTS_BOARD = 37482;
|
||||
public static final int DRAGON_TROPHY_DISPLAY = 37483;
|
||||
public static final int DRAGON_TROPHY_DISPLAY_37484 = 37484;
|
||||
public static final int DRAGON_TROPHY_DISPLAY_37485 = 37485;
|
||||
public static final int DRAGON_TROPHY_DISPLAY_37486 = 37486;
|
||||
public static final int DRAGON_TROPHY_DISPLAY_37487 = 37487;
|
||||
public static final int DRAGON_TROPHY_DISPLAY_37488 = 37488;
|
||||
public static final int DRAGON_TROPHY_DISPLAY_37489 = 37489;
|
||||
public static final int BASIC_JEWELLERY_BOX = 37492;
|
||||
public static final int BASIC_JEWELLERY_BOX_37493 = 37493;
|
||||
public static final int BASIC_JEWELLERY_BOX_37494 = 37494;
|
||||
public static final int BASIC_JEWELLERY_BOX_37495 = 37495;
|
||||
public static final int BASIC_JEWELLERY_BOX_37496 = 37496;
|
||||
public static final int BASIC_JEWELLERY_BOX_37497 = 37497;
|
||||
public static final int BASIC_JEWELLERY_BOX_37498 = 37498;
|
||||
public static final int BASIC_JEWELLERY_BOX_37499 = 37499;
|
||||
public static final int BASIC_JEWELLERY_BOX_37500 = 37500;
|
||||
public static final int FANCY_JEWELLERY_BOX = 37501;
|
||||
public static final int FANCY_JEWELLERY_BOX_37502 = 37502;
|
||||
public static final int FANCY_JEWELLERY_BOX_37503 = 37503;
|
||||
public static final int FANCY_JEWELLERY_BOX_37504 = 37504;
|
||||
public static final int FANCY_JEWELLERY_BOX_37505 = 37505;
|
||||
public static final int FANCY_JEWELLERY_BOX_37506 = 37506;
|
||||
public static final int FANCY_JEWELLERY_BOX_37507 = 37507;
|
||||
public static final int FANCY_JEWELLERY_BOX_37508 = 37508;
|
||||
public static final int FANCY_JEWELLERY_BOX_37509 = 37509;
|
||||
public static final int FANCY_JEWELLERY_BOX_37510 = 37510;
|
||||
public static final int FANCY_JEWELLERY_BOX_37511 = 37511;
|
||||
public static final int FANCY_JEWELLERY_BOX_37512 = 37512;
|
||||
public static final int FANCY_JEWELLERY_BOX_37513 = 37513;
|
||||
public static final int FANCY_JEWELLERY_BOX_37514 = 37514;
|
||||
public static final int FANCY_JEWELLERY_BOX_37515 = 37515;
|
||||
public static final int FANCY_JEWELLERY_BOX_37516 = 37516;
|
||||
public static final int FANCY_JEWELLERY_BOX_37517 = 37517;
|
||||
public static final int FANCY_JEWELLERY_BOX_37518 = 37518;
|
||||
public static final int FANCY_JEWELLERY_BOX_37519 = 37519;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37520 = 37520;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37521 = 37521;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37522 = 37522;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37523 = 37523;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37524 = 37524;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37525 = 37525;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37526 = 37526;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37527 = 37527;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37528 = 37528;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37529 = 37529;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37530 = 37530;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37531 = 37531;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37532 = 37532;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37533 = 37533;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37534 = 37534;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37535 = 37535;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37536 = 37536;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37537 = 37537;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37538 = 37538;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37539 = 37539;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37540 = 37540;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37541 = 37541;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37542 = 37542;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37543 = 37543;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37544 = 37544;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37545 = 37545;
|
||||
public static final int ORNATE_JEWELLERY_BOX_37546 = 37546;
|
||||
/* This file is automatically generated. Do not edit. */
|
||||
}
|
||||
|
||||
@@ -273,9 +273,12 @@ public enum VarPlayer
|
||||
QUEST_ENTER_THE_ABYSS(492),
|
||||
QUEST_ALFRED_GRIMHANDS_BARCRAWL(77),
|
||||
QUEST_ALFRED_GRIMHANDS_BARCRAWL_STATE_76(76),
|
||||
QUEST_THE_MAGE_ARENA(267);
|
||||
|
||||
QUEST_THE_MAGE_ARENA(267),
|
||||
|
||||
/**
|
||||
* 0 = 2 buttons, 1 = 1 button
|
||||
*/
|
||||
MOUSE_BUTTONS(170);
|
||||
|
||||
public final int id;
|
||||
}
|
||||
|
||||
@@ -698,7 +698,37 @@ public enum Varbits
|
||||
|
||||
WITHDRAW_X_AMOUNT(3960),
|
||||
|
||||
IN_PVP_AREA(8121);
|
||||
IN_PVP_AREA(8121),
|
||||
|
||||
/**
|
||||
* Twisted league
|
||||
*/
|
||||
TWISTED_LEAGUE_RELIC_1(10049),
|
||||
TWISTED_LEAGUE_RELIC_2(10050),
|
||||
TWISTED_LEAGUE_RELIC_3(10051),
|
||||
TWISTED_LEAGUE_RELIC_4(10052),
|
||||
TWISTED_LEAGUE_RELIC_5(10053),
|
||||
|
||||
/**
|
||||
* Value of hotkey varbits can be 0-13
|
||||
* 0 corresponds to no hotkey set
|
||||
* 1-12 correspond to F1-F12 respectively
|
||||
* 13 corresponds to escape
|
||||
*/
|
||||
COMBAT_TAB_HOTKEY(4675),
|
||||
STATS_TAB_HOTKEY(4676),
|
||||
QUESTS_TAB_HOTKEY(4677),
|
||||
INVENTORY_TAB_HOTKEY(4678),
|
||||
EQUIPMENT_TAB_HOTKEY(4679),
|
||||
PRAYER_TAB_HOTKEY(4680),
|
||||
SPELLBOOK_TAB_HOTKEY(4682),
|
||||
FRIENDS_TAB_HOTKEY(4684),
|
||||
ACCOUNT_MANAGEMENT_TAB_HOTKEY(6517),
|
||||
LOGOUT_TAB_HOTKEY(4689),
|
||||
OPTIONS_TAB_HOTKEY(4686),
|
||||
EMOTES_TAB_HOTKEY(4687),
|
||||
CLAN_TAB_HOTKEY(4683),
|
||||
MUSIC_TAB_HOTKEY(4688);
|
||||
|
||||
/**
|
||||
* The raw varbit ID.
|
||||
|
||||
@@ -1,3 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
|
||||
* 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;
|
||||
|
||||
import java.util.Collection;
|
||||
@@ -36,18 +60,14 @@ public enum WorldType
|
||||
* Tournament world type.
|
||||
*/
|
||||
TOURNAMENT(1 << 25),
|
||||
/**
|
||||
* Deadman Tournament world type.
|
||||
*/
|
||||
DEADMAN_TOURNAMENT(1 << 26),
|
||||
/**
|
||||
* Deadman world type.
|
||||
*/
|
||||
DEADMAN(1 << 29),
|
||||
/**
|
||||
* Seasonal deadman world type.
|
||||
* League world type
|
||||
*/
|
||||
SEASONAL_DEADMAN(1 << 30);
|
||||
LEAGUE(1 << 30);
|
||||
|
||||
private final int mask;
|
||||
|
||||
@@ -58,44 +78,34 @@ public enum WorldType
|
||||
|
||||
private static final EnumSet<WorldType> PVP_WORLD_TYPES = EnumSet.of(
|
||||
DEADMAN,
|
||||
DEADMAN_TOURNAMENT,
|
||||
PVP,
|
||||
SEASONAL_DEADMAN
|
||||
PVP
|
||||
);
|
||||
|
||||
|
||||
private static final EnumSet<WorldType> DEADMAN_WORLD_TYPES = EnumSet.of(
|
||||
DEADMAN,
|
||||
DEADMAN_TOURNAMENT,
|
||||
SEASONAL_DEADMAN
|
||||
DEADMAN
|
||||
);
|
||||
|
||||
private static final EnumSet<WorldType> HIGHRISK_WORLD_TYPES = EnumSet.of(
|
||||
HIGH_RISK
|
||||
);
|
||||
|
||||
|
||||
private static final EnumSet<WorldType> ALL_HIGHRISK_WORLD_TYPES = EnumSet.of(
|
||||
HIGH_RISK,
|
||||
DEADMAN,
|
||||
DEADMAN_TOURNAMENT,
|
||||
SEASONAL_DEADMAN
|
||||
DEADMAN
|
||||
);
|
||||
|
||||
private static final EnumSet<WorldType> ALL_PVP_WORLD_TYPES = EnumSet.of(
|
||||
HIGH_RISK,
|
||||
DEADMAN,
|
||||
DEADMAN_TOURNAMENT,
|
||||
PVP,
|
||||
SEASONAL_DEADMAN
|
||||
PVP
|
||||
);
|
||||
|
||||
private static final EnumSet<WorldType> ALL_PK_WORLD_TYPES = EnumSet.of(
|
||||
HIGH_RISK,
|
||||
DEADMAN,
|
||||
DEADMAN_TOURNAMENT,
|
||||
PVP,
|
||||
SEASONAL_DEADMAN,
|
||||
BOUNTY
|
||||
);
|
||||
);
|
||||
|
||||
/**
|
||||
* Create enum set of world types from mask.
|
||||
@@ -137,10 +147,10 @@ public enum WorldType
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether a world having a {@link Collection} of {@link WorldType}s is a PVP/DEADMAN/HIGHRISK world.
|
||||
* Checks whether a world having a {@link Collection} of {@link WorldType}s is a PVP world.
|
||||
*
|
||||
* @param worldTypes A {@link Collection} of {@link WorldType}s describing the given world.
|
||||
* @return True if the given worldtypes of the world are a PVP/DEADMAN/HIGHRISK world, false otherwise.
|
||||
* @return True if the given worldtypes of the world are a PVP world, false otherwise.
|
||||
* @see Client#getWorldType()
|
||||
*/
|
||||
public static boolean isPvpWorld(final Collection<WorldType> worldTypes)
|
||||
@@ -157,19 +167,19 @@ public enum WorldType
|
||||
{
|
||||
return worldTypes.stream().anyMatch(HIGHRISK_WORLD_TYPES::contains);
|
||||
}
|
||||
|
||||
|
||||
public static boolean isAllHighRiskWorld(final Collection<WorldType> worldTypes)
|
||||
{
|
||||
return worldTypes.stream().anyMatch(ALL_HIGHRISK_WORLD_TYPES::contains);
|
||||
}
|
||||
|
||||
|
||||
public static boolean isAllPvpWorld(final Collection<WorldType> worldTypes)
|
||||
{
|
||||
return worldTypes.stream().anyMatch(ALL_PVP_WORLD_TYPES::contains);
|
||||
}
|
||||
|
||||
|
||||
public static boolean isAllPKWorld(final Collection<WorldType> worldTypes)
|
||||
{
|
||||
return worldTypes.stream().anyMatch(ALL_PK_WORLD_TYPES::contains);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -33,6 +33,4 @@ import java.lang.annotation.RetentionPolicy;
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface VisibleForDevtools
|
||||
{
|
||||
}
|
||||
public @interface VisibleForDevtools {}
|
||||
|
||||
@@ -33,6 +33,7 @@ import javax.annotation.Nullable;
|
||||
import lombok.Value;
|
||||
import net.runelite.api.Client;
|
||||
import static net.runelite.api.Constants.CHUNK_SIZE;
|
||||
import static net.runelite.api.Constants.REGION_SIZE;
|
||||
import net.runelite.api.Perspective;
|
||||
|
||||
/**
|
||||
@@ -416,6 +417,6 @@ public class WorldPoint
|
||||
|
||||
private static int getRegionOffset(final int position)
|
||||
{
|
||||
return position & 0x3f;
|
||||
return position & (REGION_SIZE - 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.api.events;
|
||||
|
||||
public interface Event
|
||||
{
|
||||
}
|
||||
public interface Event {}
|
||||
|
||||
+8
-11
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Matthew Steglinski <https://github.com/sainttx>
|
||||
* Copyright (c) 2019, Adam <Adam@sigterm.info>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -24,15 +24,12 @@
|
||||
*/
|
||||
package net.runelite.api.events;
|
||||
|
||||
/**
|
||||
* An event when the local player dies.
|
||||
*/
|
||||
public class LocalPlayerDeath implements Event
|
||||
{
|
||||
public static final LocalPlayerDeath INSTANCE = new LocalPlayerDeath();
|
||||
import lombok.Value;
|
||||
import net.runelite.api.Skill;
|
||||
|
||||
private LocalPlayerDeath()
|
||||
{
|
||||
// noop
|
||||
}
|
||||
@Value
|
||||
public class FakeXpDrop implements Event
|
||||
{
|
||||
private final Skill skill;
|
||||
private final int xp;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package net.runelite.api.events;
|
||||
|
||||
import lombok.Value;
|
||||
import net.runelite.api.Player;
|
||||
|
||||
/**
|
||||
* This will fire whenever the {@link net.runelite.api.PlayerAppearance} hash changes.
|
||||
*/
|
||||
@Value
|
||||
public class PlayerAppearanceChanged implements Event
|
||||
{
|
||||
private Player player;
|
||||
}
|
||||
@@ -24,13 +24,13 @@
|
||||
*/
|
||||
package net.runelite.api.hooks;
|
||||
|
||||
import net.runelite.api.MainBufferProvider;
|
||||
import net.runelite.api.events.Event;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseWheelEvent;
|
||||
import net.runelite.api.MainBufferProvider;
|
||||
import net.runelite.api.events.Event;
|
||||
import net.runelite.api.widgets.WidgetItem;
|
||||
|
||||
/**
|
||||
* Interface of callbacks the injected client uses to send events
|
||||
@@ -42,14 +42,14 @@ public interface Callbacks
|
||||
*
|
||||
* @param event the event
|
||||
*/
|
||||
<T> void post(Class<T> eventClass, Event event);
|
||||
<T extends Event, E extends T> void post(Class<T> eventClass, E event);
|
||||
|
||||
/**
|
||||
* Post a deferred event, which gets delayed until the next cycle.
|
||||
*
|
||||
* @param event the event
|
||||
*/
|
||||
<T> void postDeferred(Class<T> eventClass, Event event);
|
||||
<T extends Event, E extends T> void postDeferred(Class<T> eventClass, E event);
|
||||
|
||||
/**
|
||||
* Called each client cycle.
|
||||
|
||||
@@ -26,7 +26,6 @@ package net.runelite.api.widgets;
|
||||
|
||||
import java.awt.Rectangle;
|
||||
import java.util.Collection;
|
||||
|
||||
import net.runelite.api.FontTypeFace;
|
||||
import net.runelite.api.Point;
|
||||
import net.runelite.api.Sprite;
|
||||
@@ -243,13 +242,6 @@ public interface Widget
|
||||
*/
|
||||
void setName(String name);
|
||||
|
||||
/**
|
||||
* Gets the model ID displayed in the widget.
|
||||
*
|
||||
* @return the model ID
|
||||
*/
|
||||
int getModelId();
|
||||
|
||||
/**
|
||||
* Gets the sprite ID displayed in the widget.
|
||||
*
|
||||
@@ -295,6 +287,76 @@ public interface Widget
|
||||
*/
|
||||
int getIndex();
|
||||
|
||||
/**
|
||||
* Gets the model ID displayed in the widget.
|
||||
*
|
||||
* @return the model ID
|
||||
*/
|
||||
int getModelId();
|
||||
|
||||
/**
|
||||
* Sets the model ID displayed in the widget
|
||||
*
|
||||
* @param modelId the new model ID
|
||||
*/
|
||||
void setModelId(int modelId);
|
||||
|
||||
/**
|
||||
* Gets the x rotation of the model displayed in the widget
|
||||
*
|
||||
* @return the x rotation
|
||||
*/
|
||||
int getRotationX();
|
||||
|
||||
/**
|
||||
* Sets the x rotation of the model displayed in the widget
|
||||
*
|
||||
* @param rotationX 0 = no rotation, 2047 = full rotation, outside range = crash
|
||||
*/
|
||||
void setRotationX(int rotationX);
|
||||
|
||||
/**
|
||||
* Gets the y rotation of the model displayed in the widget
|
||||
*
|
||||
* @return the y rotation
|
||||
*/
|
||||
int getRotationY();
|
||||
|
||||
/**
|
||||
* Sets the y rotation of the model displayed in the widget
|
||||
*
|
||||
* @param rotationY 0 = no rotation, 2047 = full rotation, outside range = crash
|
||||
*/
|
||||
void setRotationY(int rotationY);
|
||||
|
||||
/**
|
||||
* Gets the z rotation of the model displayed in the widget
|
||||
*
|
||||
* @return the z rotation
|
||||
*/
|
||||
int getRotationZ();
|
||||
|
||||
/**
|
||||
* Sets the z rotation of the model displayed in the widget
|
||||
*
|
||||
* @param rotationZ 0 = no rotation, 2047 = full rotation, outside range = crash
|
||||
*/
|
||||
void setRotationZ(int rotationZ);
|
||||
|
||||
/**
|
||||
* Gets the amount zoomed in on the model displayed in the widget
|
||||
*
|
||||
* @return the amount zoomed in
|
||||
*/
|
||||
int getModelZoom();
|
||||
|
||||
/**
|
||||
* Sets the amount zoomed in on the model displayed in the widget
|
||||
*
|
||||
* @param modelZoom the new zoom amount
|
||||
*/
|
||||
void setModelZoom(int modelZoom);
|
||||
|
||||
/**
|
||||
* Gets the location the widget is being drawn on the canvas.
|
||||
* <p>
|
||||
|
||||
@@ -162,6 +162,7 @@ public class WidgetID
|
||||
public static final int JEWELLERY_BOX_GROUP_ID = 590;
|
||||
public static final int OPTIONS_GROUP_ID = 261;
|
||||
public static final int THEATRE_OF_BLOOD_PARTY_GROUP_ID = 28;
|
||||
public static final int GWD_KC_GROUP_ID = 406;
|
||||
|
||||
static class WorldMap
|
||||
{
|
||||
@@ -361,126 +362,126 @@ public class WidgetID
|
||||
|
||||
static class Viewport
|
||||
{
|
||||
static final int MINIMAP_RESIZABLE_WIDGET = 17;
|
||||
static final int MINIMAP_RESIZABLE_CLICKBOX = 18;
|
||||
static final int MINIMAP_RESIZABLE_DRAW_AREA = 25;
|
||||
static final int MINIMAP_RESIZABLE_DECORATIONS = 27;
|
||||
static final int MINIMAP_RESIZABLE_ORB_HOLDER = 28;
|
||||
static final int MINIMAP_RESIZABLE_LOGOUT_BUTTON = 30;
|
||||
static final int MINIMAP_RESIZABLE_WIDGET = 18;
|
||||
static final int MINIMAP_RESIZABLE_CLICKBOX = 19;
|
||||
static final int MINIMAP_RESIZABLE_DRAW_AREA = 26;
|
||||
static final int MINIMAP_RESIZABLE_DECORATIONS = 28;
|
||||
static final int MINIMAP_RESIZABLE_ORB_HOLDER = 29;
|
||||
static final int MINIMAP_RESIZABLE_LOGOUT_BUTTON = 31;
|
||||
static final int FIXED_VIEWPORT = 17;
|
||||
static final int RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX = 12;
|
||||
static final int RESIZABLE_VIEWPORT_BOTTOM_LINE = 12;
|
||||
static final int RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX = 13;
|
||||
static final int RESIZABLE_VIEWPORT_BOTTOM_LINE = 13;
|
||||
}
|
||||
|
||||
static class FixedViewport
|
||||
{
|
||||
static final int MINIMAP = 3;
|
||||
static final int MINIMAP_DRAW_AREA = 8;
|
||||
static final int MULTICOMBAT_INDICATOR = 20;
|
||||
static final int BANK_PIN = 21;
|
||||
static final int CLAN_CHAT_TAB = 31;
|
||||
static final int FRIENDS_TAB = 33;
|
||||
static final int IGNORES_TAB = 32;
|
||||
static final int LOGOUT_TAB = 34;
|
||||
static final int OPTIONS_TAB = 35;
|
||||
static final int EMOTES_TAB = 36;
|
||||
static final int MUSIC_TAB = 37;
|
||||
static final int CLAN_CHAT_ICON = 38;
|
||||
static final int FRIENDS_ICON = 40;
|
||||
static final int IGNORES_ICON = 39;
|
||||
static final int LOGOUT_ICON = 41;
|
||||
static final int OPTIONS_ICON = 42;
|
||||
static final int EMOTES_ICON = 43;
|
||||
static final int MUSIC_ICON = 44;
|
||||
static final int COMBAT_TAB = 48;
|
||||
static final int STATS_TAB = 49;
|
||||
static final int QUESTS_TAB = 50;
|
||||
static final int INVENTORY_TAB = 51;
|
||||
static final int EQUIPMENT_TAB = 52;
|
||||
static final int PRAYER_TAB = 53;
|
||||
static final int MAGIC_TAB = 54;
|
||||
static final int COMBAT_ICON = 55;
|
||||
static final int STATS_ICON = 56;
|
||||
static final int QUESTS_ICON = 57;
|
||||
static final int INVENTORY_ICON = 58;
|
||||
static final int EQUIPMENT_ICON = 59;
|
||||
static final int PRAYER_ICON = 60;
|
||||
static final int MAGIC_ICON = 61;
|
||||
static final int ROOT_INTERFACE_CONTAINER = 62;
|
||||
static final int BANK_CONTAINER = 64;
|
||||
static final int INTERFACE_CONTAINER = 65;
|
||||
static final int INVENTORY_CONTAINER = 69;
|
||||
static final int MULTICOMBAT_INDICATOR = 21;
|
||||
static final int BANK_PIN = 22;
|
||||
static final int CLAN_CHAT_TAB = 32;
|
||||
static final int FRIENDS_TAB = 34;
|
||||
static final int IGNORES_TAB = 33;
|
||||
static final int LOGOUT_TAB = 35;
|
||||
static final int OPTIONS_TAB = 36;
|
||||
static final int EMOTES_TAB = 37;
|
||||
static final int MUSIC_TAB = 38;
|
||||
static final int CLAN_CHAT_ICON = 39;
|
||||
static final int FRIENDS_ICON = 41;
|
||||
static final int IGNORES_ICON = 40;
|
||||
static final int LOGOUT_ICON = 42;
|
||||
static final int OPTIONS_ICON = 43;
|
||||
static final int EMOTES_ICON = 44;
|
||||
static final int MUSIC_ICON = 45;
|
||||
static final int COMBAT_TAB = 49;
|
||||
static final int STATS_TAB = 50;
|
||||
static final int QUESTS_TAB = 51;
|
||||
static final int INVENTORY_TAB = 52;
|
||||
static final int EQUIPMENT_TAB = 53;
|
||||
static final int PRAYER_TAB = 54;
|
||||
static final int MAGIC_TAB = 55;
|
||||
static final int COMBAT_ICON = 56;
|
||||
static final int STATS_ICON = 57;
|
||||
static final int QUESTS_ICON = 58;
|
||||
static final int INVENTORY_ICON = 59;
|
||||
static final int EQUIPMENT_ICON = 60;
|
||||
static final int PRAYER_ICON = 61;
|
||||
static final int MAGIC_ICON = 62;
|
||||
static final int ROOT_INTERFACE_CONTAINER = 63;
|
||||
static final int BANK_CONTAINER = 65;
|
||||
static final int INTERFACE_CONTAINER = 66;
|
||||
static final int INVENTORY_CONTAINER = 70;
|
||||
}
|
||||
|
||||
static class ResizableViewport
|
||||
{
|
||||
static final int ITEMS_KEPT_ON_DEATH = 13;
|
||||
static final int BANK_PIN = 13;
|
||||
static final int MULTICOMBAT_INDICATOR = 16;
|
||||
static final int CLAN_CHAT_TAB = 35;
|
||||
static final int FRIENDS_TAB = 37;
|
||||
static final int IGNORES_TAB = 36;
|
||||
static final int LOGOUT_TAB = 38;
|
||||
static final int OPTIONS_TAB = 39;
|
||||
static final int EMOTES_TAB = 40;
|
||||
static final int MUSIC_TAB = 41;
|
||||
static final int CLAN_CHAT_ICON = 42;
|
||||
static final int FRIENDS_ICON = 44;
|
||||
static final int IGNORES_ICON = 43;
|
||||
static final int LOGOUT_ICON = 45;
|
||||
static final int OPTIONS_ICON = 46;
|
||||
static final int EMOTES_ICON = 47;
|
||||
static final int MUSIC_ICON = 48;
|
||||
static final int COMBAT_TAB = 51;
|
||||
static final int STATS_TAB = 52;
|
||||
static final int QUESTS_TAB = 53;
|
||||
static final int INVENTORY_TAB = 54;
|
||||
static final int EQUIPMENT_TAB = 55;
|
||||
static final int PRAYER_TAB = 56;
|
||||
static final int MAGIC_TAB = 57;
|
||||
static final int COMBAT_ICON = 58;
|
||||
static final int STATS_ICON = 59;
|
||||
static final int QUESTS_ICON = 60;
|
||||
static final int INVENTORY_ICON = 61;
|
||||
static final int EQUIPMENT_ICON = 62;
|
||||
static final int PRAYER_ICON = 63;
|
||||
static final int MAGIC_ICON = 64;
|
||||
static final int INTERFACE_CONTAINER = 65;
|
||||
static final int INVENTORY_CONTAINER = 71;
|
||||
static final int MULTICOMBAT_INDICATOR = 17;
|
||||
static final int CLAN_CHAT_TAB = 36;
|
||||
static final int FRIENDS_TAB = 38;
|
||||
static final int IGNORES_TAB = 37;
|
||||
static final int LOGOUT_TAB = 39;
|
||||
static final int OPTIONS_TAB = 40;
|
||||
static final int EMOTES_TAB = 41;
|
||||
static final int MUSIC_TAB = 42;
|
||||
static final int CLAN_CHAT_ICON = 43;
|
||||
static final int FRIENDS_ICON = 45;
|
||||
static final int IGNORES_ICON = 44;
|
||||
static final int LOGOUT_ICON = 46;
|
||||
static final int OPTIONS_ICON = 47;
|
||||
static final int EMOTES_ICON = 48;
|
||||
static final int MUSIC_ICON = 49;
|
||||
static final int COMBAT_TAB = 52;
|
||||
static final int STATS_TAB = 53;
|
||||
static final int QUESTS_TAB = 54;
|
||||
static final int INVENTORY_TAB = 55;
|
||||
static final int EQUIPMENT_TAB = 56;
|
||||
static final int PRAYER_TAB = 57;
|
||||
static final int MAGIC_TAB = 58;
|
||||
static final int COMBAT_ICON = 59;
|
||||
static final int STATS_ICON = 60;
|
||||
static final int QUESTS_ICON = 61;
|
||||
static final int INVENTORY_ICON = 62;
|
||||
static final int EQUIPMENT_ICON = 63;
|
||||
static final int PRAYER_ICON = 64;
|
||||
static final int MAGIC_ICON = 65;
|
||||
static final int INTERFACE_CONTAINER = 66;
|
||||
static final int INVENTORY_CONTAINER = 72;
|
||||
}
|
||||
|
||||
static class ResizableViewportBottomLine
|
||||
{
|
||||
static final int BANK_PIN = 13;
|
||||
static final int LOGOUT_BUTTON_OVERLAY = 29;
|
||||
static final int LOGOUT_BUTTON_OVERLAY = 30;
|
||||
static final int CMB_TAB = 50;
|
||||
static final int CMB_ICON = 57;
|
||||
static final int CMB_ICON = 58;
|
||||
static final int SKILLS_TAB = 51;
|
||||
static final int SKILLS_ICON = 58;
|
||||
static final int SKILLS_ICON = 59;
|
||||
static final int QUESTS_TAB = 52;
|
||||
static final int QUESTS_ICON = 59;
|
||||
static final int INVENTORY_TAB = 53;
|
||||
static final int INVENTORY_ICON = 60;
|
||||
static final int QUESTS_ICON = 60;
|
||||
static final int INVENTORY_TAB = 54;
|
||||
static final int INVENTORY_ICON = 61;
|
||||
static final int EQUIP_TAB = 54;
|
||||
static final int EQUIP_ICON = 61;
|
||||
static final int PRAYER_TAB = 55;
|
||||
static final int PRAYER_ICON = 62;
|
||||
static final int MAGIC_TAB = 56;
|
||||
static final int EQUIP_ICON = 62;
|
||||
static final int PRAYER_TAB = 56;
|
||||
static final int PRAYER_ICON = 63;
|
||||
static final int SPELL_TAB = 56;
|
||||
static final int SPELL_ICON = 53;
|
||||
static final int FC_TAB = 35;
|
||||
static final int FC_ICON = 41;
|
||||
static final int FC_ICON = 42;
|
||||
static final int IGNORE_TAB = 36;
|
||||
static final int IGNORE_ICON = 42;
|
||||
static final int FRIEND_TAB = 37;
|
||||
static final int FRIEND_ICON = 43;
|
||||
static final int FRIEND_ICON = 44;
|
||||
static final int SETTINGS_TAB = 38;
|
||||
static final int SETTINGS_ICON = 44;
|
||||
static final int SETTINGS_ICON = 45;
|
||||
static final int EMOTE_TAB = 39;
|
||||
static final int EMOTE_ICON = 45;
|
||||
static final int EMOTE_ICON = 46;
|
||||
static final int MUSIC_TAB = 40;
|
||||
static final int MUSIC_ICON = 46;
|
||||
static final int MAGIC_ICON = 63;
|
||||
static final int INVENTORY_CONTAINER = 71;
|
||||
static final int MUSIC_ICON = 47;
|
||||
static final int MAGIC_ICON = 64;
|
||||
static final int INVENTORY_CONTAINER = 72;
|
||||
}
|
||||
|
||||
static class Chatbox
|
||||
@@ -659,6 +660,11 @@ public class WidgetID
|
||||
static final int REWARD_TEXT = 57;
|
||||
}
|
||||
|
||||
static class GWD
|
||||
{
|
||||
static final int CONTAINER = 7;
|
||||
}
|
||||
|
||||
static class LevelUp
|
||||
{
|
||||
static final int SKILL = 1;
|
||||
@@ -830,164 +836,178 @@ public class WidgetID
|
||||
|
||||
static class SpellBook
|
||||
{
|
||||
static final int FILTERED_SPELLS_PARENT = 1;
|
||||
static final int FILTERED_SPELLS_BOUNDS = 3;
|
||||
static final int TOOLTIP = 189;
|
||||
|
||||
// NORMAL SPELLS
|
||||
static final int LUMBRIDGE_HOME_TELEPORT = 4;
|
||||
static final int WIND_STRIKE = 5;
|
||||
static final int CONFUSE = 6;
|
||||
static final int ENCHANT_CROSSBOW_BOLT = 7;
|
||||
static final int WATER_STRIKE = 8;
|
||||
static final int LVL_1_ENCHANT = 9;
|
||||
static final int EARTH_STRIKE = 10;
|
||||
static final int WEAKEN = 11;
|
||||
static final int FIRE_STRIKE = 12;
|
||||
static final int BONES_TO_BANANAS = 13;
|
||||
static final int WIND_BOLT = 14;
|
||||
static final int CURSE = 15;
|
||||
static final int BIND = 16;
|
||||
static final int LOW_LEVEL_ALCHEMY = 17;
|
||||
static final int WATER_BOLT = 18;
|
||||
static final int VARROCK_TELEPORT = 19;
|
||||
static final int LVL_2_ENCHANT = 20;
|
||||
static final int EARTH_BOLT = 21;
|
||||
static final int LUMBRIDGE_TELEPORT = 22;
|
||||
static final int TELEKINETIC_GRAB = 23;
|
||||
static final int FIRE_BOLT = 24;
|
||||
static final int FALADOR_TELEPORT = 25;
|
||||
static final int CRUMBLE_UNDEAD = 26;
|
||||
static final int TELEPORT_TO_HOUSE = 27;
|
||||
static final int WIND_BLAST = 28;
|
||||
static final int SUPERHEAT_ITEM = 29;
|
||||
static final int CAMELOT_TELEPORT = 30;
|
||||
static final int WATER_BLAST = 31;
|
||||
static final int LVL_3_ENCHANT = 32;
|
||||
static final int IBAN_BLAST = 33;
|
||||
static final int SNARE = 34;
|
||||
static final int MAGIC_DART = 35;
|
||||
static final int ARDOUGNE_TELEPORT = 36;
|
||||
static final int EARTH_BLAST = 37;
|
||||
static final int HIGH_LEVEL_ALCHEMY = 38;
|
||||
static final int CHARGE_WATER_ORB = 39;
|
||||
static final int LVL_4_ENCHANT = 40;
|
||||
static final int WATCHTOWER_TELEPORT = 41;
|
||||
static final int FIRE_BLAST = 42;
|
||||
static final int CHARGE_EARTH_ORB = 43;
|
||||
static final int BONES_TO_PEACHES = 44;
|
||||
static final int SARADOMIN_STRIKE = 45;
|
||||
static final int CLAWS_OF_GUTHIX = 46;
|
||||
static final int FLAMES_OF_ZAMORAK = 47;
|
||||
static final int TROLLHEIM_TELEPORT = 48;
|
||||
static final int WIND_WAVE = 49;
|
||||
static final int CHARGE_FIRE_ORB = 50;
|
||||
static final int TELEPORT_TO_APE_ATOLL = 51;
|
||||
static final int WATER_WAVE = 52;
|
||||
static final int CHARGE_AIR_ORB = 53;
|
||||
static final int VULNERABILITY = 54;
|
||||
static final int LVL_5_ENCHANT = 55;
|
||||
static final int TELEPORT_TO_KOUREND = 56;
|
||||
static final int EARTH_WAVE = 57;
|
||||
static final int ENFEEBLE = 58;
|
||||
static final int TELEOTHER_LUMBRIDGE = 59;
|
||||
static final int FIRE_WAVE = 60;
|
||||
static final int ENTANGLE = 61;
|
||||
static final int STUN = 62;
|
||||
static final int CHARGE = 63;
|
||||
static final int WIND_SURGE = 64;
|
||||
static final int TELEOTHER_FALADOR = 65;
|
||||
static final int WATER_SURGE = 66;
|
||||
static final int TELE_BLOCK = 67;
|
||||
static final int BOUNTY_TARGET_TELEPORT = 68;
|
||||
static final int LVL_6_ENCHANT = 69;
|
||||
static final int TELEOTHER_CAMELOT = 70;
|
||||
static final int EARTH_SURGE = 71;
|
||||
static final int LVL_7_ENCHANT = 72;
|
||||
static final int FIRE_SURGE = 73;
|
||||
static final int LUMBRIDGE_HOME_TELEPORT = 5;
|
||||
static final int WIND_STRIKE = 6;
|
||||
static final int CONFUSE = 7;
|
||||
static final int ENCHANT_CROSSBOW_BOLT = 8;
|
||||
static final int WATER_STRIKE = 9;
|
||||
static final int LVL_1_ENCHANT = 10;
|
||||
static final int EARTH_STRIKE = 11;
|
||||
static final int WEAKEN = 12;
|
||||
static final int FIRE_STRIKE = 13;
|
||||
static final int BONES_TO_BANANAS = 14;
|
||||
static final int WIND_BOLT = 15;
|
||||
static final int CURSE = 16;
|
||||
static final int BIND = 17;
|
||||
static final int LOW_LEVEL_ALCHEMY = 18;
|
||||
static final int WATER_BOLT = 19;
|
||||
static final int VARROCK_TELEPORT = 20;
|
||||
static final int LVL_2_ENCHANT = 21;
|
||||
static final int EARTH_BOLT = 22;
|
||||
static final int LUMBRIDGE_TELEPORT = 23;
|
||||
static final int TELEKINETIC_GRAB = 24;
|
||||
static final int FIRE_BOLT = 25;
|
||||
static final int FALADOR_TELEPORT = 26;
|
||||
static final int CRUMBLE_UNDEAD = 27;
|
||||
static final int TELEPORT_TO_HOUSE = 28;
|
||||
static final int WIND_BLAST = 29;
|
||||
static final int SUPERHEAT_ITEM = 30;
|
||||
static final int CAMELOT_TELEPORT = 31;
|
||||
static final int WATER_BLAST = 32;
|
||||
static final int LVL_3_ENCHANT = 33;
|
||||
static final int IBAN_BLAST = 34;
|
||||
static final int SNARE = 35;
|
||||
static final int MAGIC_DART = 36;
|
||||
static final int ARDOUGNE_TELEPORT = 37;
|
||||
static final int EARTH_BLAST = 38;
|
||||
static final int HIGH_LEVEL_ALCHEMY = 39;
|
||||
static final int CHARGE_WATER_ORB = 40;
|
||||
static final int LVL_4_ENCHANT = 41;
|
||||
static final int WATCHTOWER_TELEPORT = 42;
|
||||
static final int FIRE_BLAST = 43;
|
||||
static final int CHARGE_EARTH_ORB = 44;
|
||||
static final int BONES_TO_PEACHES = 45;
|
||||
static final int SARADOMIN_STRIKE = 46;
|
||||
static final int CLAWS_OF_GUTHIX = 47;
|
||||
static final int FLAMES_OF_ZAMORAK = 48;
|
||||
static final int TROLLHEIM_TELEPORT = 49;
|
||||
static final int WIND_WAVE = 50;
|
||||
static final int CHARGE_FIRE_ORB = 51;
|
||||
static final int TELEPORT_TO_APE_ATOLL = 52;
|
||||
static final int WATER_WAVE = 53;
|
||||
static final int CHARGE_AIR_ORB = 54;
|
||||
static final int VULNERABILITY = 55;
|
||||
static final int LVL_5_ENCHANT = 56;
|
||||
static final int TELEPORT_TO_KOUREND = 57;
|
||||
static final int EARTH_WAVE = 58;
|
||||
static final int ENFEEBLE = 59;
|
||||
static final int TELEOTHER_LUMBRIDGE = 60;
|
||||
static final int FIRE_WAVE = 61;
|
||||
static final int ENTANGLE = 62;
|
||||
static final int STUN = 63;
|
||||
static final int CHARGE = 64;
|
||||
static final int WIND_SURGE = 65;
|
||||
static final int TELEOTHER_FALADOR = 66;
|
||||
static final int WATER_SURGE = 67;
|
||||
static final int TELE_BLOCK = 68;
|
||||
static final int BOUNTY_TARGET_TELEPORT = 69;
|
||||
static final int LVL_6_ENCHANT = 70;
|
||||
static final int TELEOTHER_CAMELOT = 71;
|
||||
static final int EARTH_SURGE = 72;
|
||||
static final int LVL_7_ENCHANT = 73;
|
||||
static final int FIRE_SURGE = 74;
|
||||
|
||||
// ANCIENT SPELLS
|
||||
static final int ICE_RUSH = 74;
|
||||
static final int ICE_BLITZ = 75;
|
||||
static final int ICE_BURST = 76;
|
||||
static final int ICE_BARRAGE = 77;
|
||||
static final int BLOOD_RUSH = 78;
|
||||
static final int BLOOD_BLITZ = 79;
|
||||
static final int BLOOD_BURST = 80;
|
||||
static final int BLOOD_BARRAGE = 81;
|
||||
static final int SMOKE_RUSH = 82;
|
||||
static final int SMOKE_BLITZ = 83;
|
||||
static final int SMOKE_BURST = 84;
|
||||
static final int SMOKE_BARRAGE = 85;
|
||||
static final int SHADOW_RUSH = 86;
|
||||
static final int SHADOW_BLITZ = 87;
|
||||
static final int SHADOW_BURST = 88;
|
||||
static final int SHADOW_BARRAGE = 89;
|
||||
static final int PADDEWWA_TELEPORT = 90;
|
||||
static final int SENNTISTEN_TELEPORT = 91;
|
||||
static final int KHARYRLL_TELEPORT = 92;
|
||||
static final int LASSAR_TELEPORT = 93;
|
||||
static final int DAREEYAK_TELEPORT = 94;
|
||||
static final int CARRALLANGER_TELEPORT = 95;
|
||||
static final int ANNAKARL_TELEPORT = 96;
|
||||
static final int GHORROCK_TELEPORT = 97;
|
||||
static final int EDGEVILLE_HOME_TELEPORT = 98;
|
||||
static final int TOOLTIP = 188;
|
||||
|
||||
static final int ICE_RUSH = 75;
|
||||
static final int ICE_BLITZ = 76;
|
||||
static final int ICE_BURST = 77;
|
||||
static final int ICE_BARRAGE = 78;
|
||||
static final int BLOOD_RUSH = 79;
|
||||
static final int BLOOD_BLITZ = 80;
|
||||
static final int BLOOD_BURST = 81;
|
||||
static final int BLOOD_BARRAGE = 82;
|
||||
static final int SMOKE_RUSH = 83;
|
||||
static final int SMOKE_BLITZ = 84;
|
||||
static final int SMOKE_BURST = 85;
|
||||
static final int SMOKE_BARRAGE = 86;
|
||||
static final int SHADOW_RUSH = 87;
|
||||
static final int SHADOW_BLITZ = 88;
|
||||
static final int SHADOW_BURST = 89;
|
||||
static final int SHADOW_BARRAGE = 90;
|
||||
static final int PADDEWWA_TELEPORT = 91;
|
||||
static final int SENNTISTEN_TELEPORT = 92;
|
||||
static final int KHARYRLL_TELEPORT = 93;
|
||||
static final int LASSAR_TELEPORT = 94;
|
||||
static final int DAREEYAK_TELEPORT = 95;
|
||||
static final int CARRALLANGER_TELEPORT = 96;
|
||||
static final int ANNAKARL_TELEPORT = 97;
|
||||
static final int GHORROCK_TELEPORT = 98;
|
||||
static final int EDGEVILLE_HOME_TELEPORT = 99;
|
||||
|
||||
// LUNAR SPELLS
|
||||
static final int LUNAR_HOME_TELEPORT = 99;
|
||||
static final int BAKE_PIE = 100;
|
||||
static final int CURE_PLANT = 101;
|
||||
static final int MONSTER_EXAMINE = 102;
|
||||
static final int NPC_CONTACT = 103;
|
||||
static final int CURE_OTHER = 104;
|
||||
static final int HUMIDIFY = 105;
|
||||
static final int MOONCLAN_TELEPORT = 106;
|
||||
static final int TELE_GROUP_MOONCLAN = 107;
|
||||
static final int CURE_ME = 108;
|
||||
static final int HUNTER_KIT = 109;
|
||||
static final int WATERBIRTH_TELEPORT = 110;
|
||||
static final int TELE_GROUP_WATERBIRTH = 111;
|
||||
static final int CURE_GROUP = 112;
|
||||
static final int STAT_SPY = 113;
|
||||
static final int BARBARIAN_TELEPORT = 114;
|
||||
static final int TELE_GROUP_BARBARIAN = 115;
|
||||
static final int SUPERGLASS_MAKE = 116;
|
||||
static final int TAN_LEATHER = 117;
|
||||
static final int KHAZARD_TELEPORT = 118;
|
||||
static final int TELE_GROUP_KHAZARD = 119;
|
||||
static final int DREAM = 120;
|
||||
static final int STRING_JEWELLERY = 121;
|
||||
static final int STAT_RESTORE_POT_SHARE = 122;
|
||||
static final int MAGIC_IMBUE = 123;
|
||||
static final int FERTILE_SOIL = 124;
|
||||
static final int BOOST_POTION_SHARE = 125;
|
||||
static final int FISHING_GUILD_TELEPORT = 126;
|
||||
static final int TELE_GROUP_FISHING_GUILD = 127;
|
||||
static final int PLANK_MAKE = 128;
|
||||
static final int CATHERBY_TELEPORT = 129;
|
||||
static final int TELE_GROUP_CATHERBY = 130;
|
||||
static final int RECHARGE_DRAGONSTONE = 131;
|
||||
static final int ICE_PLATEAU_TELEPORT = 132;
|
||||
static final int TELE_GROUP_ICE_PLATEAU = 133;
|
||||
static final int ENERGY_TRANSFER = 134;
|
||||
static final int HEAL_OTHER = 135;
|
||||
static final int VENGEANCE_OTHER = 136;
|
||||
static final int VENGEANCE = 137;
|
||||
static final int HEAL_GROUP = 138;
|
||||
static final int SPELLBOOK_SWAP = 139;
|
||||
static final int GEOMANCY = 140;
|
||||
static final int SPIN_FLAX = 141;
|
||||
static final int OURANIA_TELEPORT = 142;
|
||||
static final int LUNAR_HOME_TELEPORT = 100;
|
||||
static final int BAKE_PIE = 101;
|
||||
static final int CURE_PLANT = 102;
|
||||
static final int MONSTER_EXAMINE = 103;
|
||||
static final int NPC_CONTACT = 104;
|
||||
static final int CURE_OTHER = 105;
|
||||
static final int HUMIDIFY = 106;
|
||||
static final int MOONCLAN_TELEPORT = 107;
|
||||
static final int TELE_GROUP_MOONCLAN = 108;
|
||||
static final int CURE_ME = 109;
|
||||
static final int HUNTER_KIT = 110;
|
||||
static final int WATERBIRTH_TELEPORT = 111;
|
||||
static final int TELE_GROUP_WATERBIRTH = 112;
|
||||
static final int CURE_GROUP = 113;
|
||||
static final int STAT_SPY = 114;
|
||||
static final int BARBARIAN_TELEPORT = 115;
|
||||
static final int TELE_GROUP_BARBARIAN = 116;
|
||||
static final int SUPERGLASS_MAKE = 117;
|
||||
static final int TAN_LEATHER = 118;
|
||||
static final int KHAZARD_TELEPORT = 119;
|
||||
static final int TELE_GROUP_KHAZARD = 120;
|
||||
static final int DREAM = 121;
|
||||
static final int STRING_JEWELLERY = 122;
|
||||
static final int STAT_RESTORE_POT_SHARE = 123;
|
||||
static final int MAGIC_IMBUE = 124;
|
||||
static final int FERTILE_SOIL = 125;
|
||||
static final int BOOST_POTION_SHARE = 126;
|
||||
static final int FISHING_GUILD_TELEPORT = 127;
|
||||
static final int TELE_GROUP_FISHING_GUILD = 128;
|
||||
static final int PLANK_MAKE = 129;
|
||||
static final int CATHERBY_TELEPORT = 130;
|
||||
static final int TELE_GROUP_CATHERBY = 131;
|
||||
static final int RECHARGE_DRAGONSTONE = 132;
|
||||
static final int ICE_PLATEAU_TELEPORT = 133;
|
||||
static final int TELE_GROUP_ICE_PLATEAU = 134;
|
||||
static final int ENERGY_TRANSFER = 135;
|
||||
static final int HEAL_OTHER = 136;
|
||||
static final int VENGEANCE_OTHER = 137;
|
||||
static final int VENGEANCE = 138;
|
||||
static final int HEAL_GROUP = 139;
|
||||
static final int SPELLBOOK_SWAP = 140;
|
||||
static final int GEOMANCY = 141;
|
||||
static final int SPIN_FLAX = 142;
|
||||
static final int OURANIA_TELEPORT = 143;
|
||||
|
||||
// ARCEUUS SPELLS
|
||||
static final int ARCEUUS_HOME_TELEPORT = 143;
|
||||
static final int BATTLEFRONT_TELEPORT = 178;
|
||||
static final int ARCEUUS_HOME_TELEPORT = 144;
|
||||
static final int BATTLEFRONT_TELEPORT = 179;
|
||||
}
|
||||
|
||||
static final int FILTER_SECTION_PARENT = 181;
|
||||
static final int FILTER_BUTTONS_PARENT = 184;
|
||||
static final int FILTER_BUTTON_PARENT = 185;
|
||||
static final int FILTER_BUTTON = 187;
|
||||
static class StandardSpellBook
|
||||
{
|
||||
static final int LUMBRIDGE_HOME_TELEPORT = 5;
|
||||
static final int KOUREND_HOME_TELEPORT = 4;
|
||||
}
|
||||
|
||||
static class AncientSpellBook
|
||||
{
|
||||
static final int EDGEVILLE_HOME_TELEPORT = 99;
|
||||
}
|
||||
|
||||
static class LunarSpellBook
|
||||
{
|
||||
static final int LUNAR_HOME_TELEPORT = 100;
|
||||
}
|
||||
|
||||
static class ArceuusSpellBook
|
||||
{
|
||||
static final int ARCEUUS_HOME_TELEPORT = 144;
|
||||
}
|
||||
|
||||
static class Pvp
|
||||
@@ -1025,7 +1045,7 @@ public class WidgetID
|
||||
|
||||
static class FullScreenMap
|
||||
{
|
||||
static final int ROOT = 25;
|
||||
static final int ROOT = 26;
|
||||
}
|
||||
|
||||
static class QuestList
|
||||
|
||||
@@ -271,7 +271,7 @@ public enum WidgetInfo
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_EQUIPMENT_ICON(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.EQUIP_ICON),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_COMBAT_ICON(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.CMB_ICON),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_STATS_ICON(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.SKILLS_ICON),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_MAGIC_TAB(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.MAGIC_TAB),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_MAGIC_TAB(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.SPELL_TAB),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_MAGIC_ICON(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.MAGIC_ICON),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_FRIEND_ICON(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.FRIEND_ICON),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE_FRIEND_CHAT_ICON(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewportBottomLine.FC_ICON),
|
||||
@@ -430,6 +430,8 @@ public enum WidgetInfo
|
||||
MOTHERLODE_MINE(WidgetID.MOTHERLODE_MINE_GROUP_ID, 0),
|
||||
|
||||
THEATRE_OF_BLOOD_PARTY(WidgetID.THEATRE_OF_BLOOD_PARTY_GROUP_ID, WidgetID.TheatreOfBloodParty.CONTAINER),
|
||||
|
||||
GWD_KC(WidgetID.GWD_KC_GROUP_ID, WidgetID.GWD.CONTAINER),
|
||||
|
||||
PUZZLE_BOX(WidgetID.PUZZLE_BOX_GROUP_ID, WidgetID.PuzzleBox.VISIBLE_BOX),
|
||||
|
||||
@@ -512,6 +514,7 @@ public enum WidgetInfo
|
||||
|
||||
PVP_FOG_OVERLAY(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.FOG_OVERLAY),
|
||||
PVP_CONTAINER(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.PVP_WIDGET_CONTAINER),
|
||||
|
||||
PVP_SKULL_CONTAINER(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.SKULL_CONTAINER),
|
||||
PVP_SKULL(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.SKULL),
|
||||
PVP_ATTACK_RANGE(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.ATTACK_RANGE),
|
||||
@@ -523,10 +526,9 @@ public enum WidgetInfo
|
||||
PVP_KILLDEATH_COUNTER(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.KILLDEATH_RATIO),
|
||||
|
||||
SPELLBOOK(WidgetID.SPELLBOOK_GROUP_ID, 0),
|
||||
SPELLBOOK_FILTERED_SPELLS_PARENT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FILTERED_SPELLS_PARENT),
|
||||
SPELLBOOK_FILTERED_BOUNDS(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FILTERED_SPELLS_BOUNDS),
|
||||
|
||||
/* STANDARD SPELL BOOK WIDGETS*/
|
||||
/* STANDARD SPELL BOOK WIDGETS*/
|
||||
SPELL_LUMBRIDGE_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.LUMBRIDGE_HOME_TELEPORT),
|
||||
SPELL_WIND_STRIKE(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.WIND_STRIKE),
|
||||
SPELL_CONFUSE(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.CONFUSE),
|
||||
@@ -597,7 +599,7 @@ public enum WidgetInfo
|
||||
SPELL_LVL_7_ENCHANT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.LVL_7_ENCHANT),
|
||||
SPELL_FIRE_SURGE(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FIRE_SURGE),
|
||||
SPELL_BOUNTY_TARGET_TELEPORT2(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.BOUNTY_TARGET_TELEPORT),
|
||||
/* END OF STANDARD SPELL BOOK WIDGETS*/
|
||||
/* END OF STANDARD SPELL BOOK WIDGETS*/
|
||||
|
||||
/* ANCIENT SPELL BOOK WIDGETS*/
|
||||
SPELL_ICE_RUSH(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.ICE_RUSH),
|
||||
@@ -626,9 +628,9 @@ public enum WidgetInfo
|
||||
SPELL_GHORROCK_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.GHORROCK_TELEPORT),
|
||||
SPELL_EDGEVILLE_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.EDGEVILLE_HOME_TELEPORT),
|
||||
SPELL_BOUNTY_TARGET_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.BOUNTY_TARGET_TELEPORT),
|
||||
/* END OF ANCIENT SPELL BOOK WIDGETS*/
|
||||
/* END OF ANCIENT SPELL BOOK WIDGETS*/
|
||||
|
||||
/* LUNAR SPELL BOOK WIDGETS*/
|
||||
/* LUNAR SPELL BOOK WIDGETS*/
|
||||
SPELL_LUNAR_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.LUNAR_HOME_TELEPORT),
|
||||
SPELL_VENGEANCE_OTHER(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.VENGEANCE_OTHER),
|
||||
SPELL_VENGEANCE(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.VENGEANCE),
|
||||
@@ -674,17 +676,13 @@ public enum WidgetInfo
|
||||
SPELL_GEOMANCY(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.GEOMANCY),
|
||||
SPELL_SPIN_FLAX(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.SPIN_FLAX),
|
||||
SPELL_OURANIA_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.OURANIA_TELEPORT),
|
||||
/* END OF LUNAR SPELL BOOK WIDGETS*/
|
||||
/* END OF LUNAR SPELL BOOK WIDGETS*/
|
||||
SPELL_TOOLTIP(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.TOOLTIP),
|
||||
/* ARCEUUS SPELL BOOK WIDGETS*/
|
||||
/* ARCEUUS SPELL BOOK WIDGETS*/
|
||||
SPELL_KOUREND_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.StandardSpellBook.KOUREND_HOME_TELEPORT),
|
||||
SPELL_ARCEUUS_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.ARCEUUS_HOME_TELEPORT),
|
||||
SPELL_BATTLEFRONT_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.BATTLEFRONT_TELEPORT),
|
||||
/* END OF ARCEUUS SPELL BOOK WIDGETS*/
|
||||
SPELLBOOK_FILTER_SECTION_PARENT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FILTER_SECTION_PARENT),
|
||||
SPELLBOOK_FILTER_BUTTONS_PARENT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FILTER_BUTTONS_PARENT),
|
||||
SPELLBOOK_FILTER_BUTTON_PARENT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FILTER_BUTTON_PARENT),
|
||||
SPELLBOOK_FILTER_BUTTON(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.SpellBook.FILTER_BUTTON),
|
||||
|
||||
/* END OF ARCEUUS SPELL BOOK WIDGETS*/
|
||||
|
||||
KOUREND_FAVOUR_OVERLAY(WidgetID.KOUREND_FAVOUR_GROUP_ID, WidgetID.KourendFavour.KOUREND_FAVOUR_OVERLAY),
|
||||
ZEAH_MESS_HALL_COOKING_DISPLAY(WidgetID.ZEAH_MESS_HALL_GROUP_ID, WidgetID.Zeah.MESS_HALL_COOKING_DISPLAY),
|
||||
@@ -696,7 +694,6 @@ public enum WidgetInfo
|
||||
MULTICOMBAT_FIXED(WidgetID.FIXED_VIEWPORT_GROUP_ID, WidgetID.FixedViewport.MULTICOMBAT_INDICATOR),
|
||||
MULTICOMBAT_RESIZEABLE(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.ResizableViewport.MULTICOMBAT_INDICATOR),
|
||||
|
||||
|
||||
FULLSCREEN_MAP_ROOT(WidgetID.FULLSCREEN_MAP_GROUP_ID, WidgetID.FullScreenMap.ROOT),
|
||||
|
||||
QUESTLIST_BOX(WidgetID.QUESTLIST_GROUP_ID, WidgetID.QuestList.BOX),
|
||||
@@ -758,8 +755,8 @@ public enum WidgetInfo
|
||||
XP_DROP_7(WidgetID.EXPERIENCE_DROP_GROUP_ID, WidgetID.ExperienceDrop.DROP_7),
|
||||
|
||||
ITEMS_KEPT_CUSTOM_TEXT_CONTAINER(WidgetID.KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.CUSTOM_TEXT_CONTAINER),
|
||||
ITEMS_KEPT_ON_DEATH_CONTAINER(WidgetID.ITEMS_KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.KEPT_ITEMS_CONTAINER),
|
||||
ITEMS_KEPT_ON_DEATH_TEXT(WidgetID.ITEMS_KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.KEPT_ITEMS_TEXT),
|
||||
ITEMS_KEPT_ON_DEATH_CONTAINER(WidgetID.ITEMS_KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.KEPT_ITEMS_CONTAINER),
|
||||
ITEMS_LOST_ON_DEATH_TEXT(WidgetID.ITEMS_KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.LOST_ITEMS_TEXT),
|
||||
ITEMS_LOST_ON_DEATH_CONTAINER(WidgetID.ITEMS_KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.LOST_ITEMS_CONTAINER),
|
||||
ITEMS_KEPT_INFORMATION_CONTAINER(WidgetID.ITEMS_KEPT_ON_DEATH_GROUP_ID, WidgetID.KeptOnDeath.INFORMATION_CONTAINER),
|
||||
|
||||
Reference in New Issue
Block a user