Add PVP and Deadman widget info
This commit is contained in:
@@ -116,6 +116,7 @@ public class WidgetID
|
|||||||
public static final int FOSSIL_ISLAND_OXYGENBAR_ID = 609;
|
public static final int FOSSIL_ISLAND_OXYGENBAR_ID = 609;
|
||||||
public static final int MINIGAME_TAB_ID = 76;
|
public static final int MINIGAME_TAB_ID = 76;
|
||||||
public static final int SPELLBOOK_GROUP_ID = 218;
|
public static final int SPELLBOOK_GROUP_ID = 218;
|
||||||
|
public static final int PVP_GROUP_ID = 90;
|
||||||
|
|
||||||
static class WorldMap
|
static class WorldMap
|
||||||
{
|
{
|
||||||
@@ -677,4 +678,15 @@ public class WidgetID
|
|||||||
{
|
{
|
||||||
static final int ARCEUUS_HOME_TELEPORT = 145;
|
static final int ARCEUUS_HOME_TELEPORT = 145;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
static class Pvp
|
||||||
|
{
|
||||||
|
static final int PVP_WIDGET_CONTAINER = 50;
|
||||||
|
static final int SKULL_CONTAINER = 51;
|
||||||
|
static final int SKULL = 52;
|
||||||
|
static final int SAFE_ZONE = 53;
|
||||||
|
static final int ATTACK_RANGE = 55;
|
||||||
|
static final int WILDERNESS_LEVEL = 56; // this can also be the Deadman Mode "Protection" text
|
||||||
|
static final int DEADMAN_PROTECTION_TIME = 57;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -412,7 +412,18 @@ public enum WidgetInfo
|
|||||||
SPELL_LUMBRIDGE_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.StandardSpellBook.LUMBRIDGE_HOME_TELEPORT),
|
SPELL_LUMBRIDGE_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.StandardSpellBook.LUMBRIDGE_HOME_TELEPORT),
|
||||||
SPELL_EDGEVILLE_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.AncientSpellBook.EDGEVILLE_HOME_TELEPORT),
|
SPELL_EDGEVILLE_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.AncientSpellBook.EDGEVILLE_HOME_TELEPORT),
|
||||||
SPELL_LUNAR_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.LunarSpellBook.LUNAR_HOME_TELEPORT),
|
SPELL_LUNAR_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.LunarSpellBook.LUNAR_HOME_TELEPORT),
|
||||||
SPELL_ARCEUUS_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.ArceuusSpellBook.ARCEUUS_HOME_TELEPORT);
|
SPELL_ARCEUUS_HOME_TELEPORT(WidgetID.SPELLBOOK_GROUP_ID, WidgetID.ArceuusSpellBook.ARCEUUS_HOME_TELEPORT),
|
||||||
|
|
||||||
|
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_WILDERNESS_LEVEL(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.ATTACK_RANGE),
|
||||||
|
|
||||||
|
PVP_WORLD_SAFE_ZONE(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.SAFE_ZONE),
|
||||||
|
PVP_WORLD_ATTACK_RANGE(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.ATTACK_RANGE),
|
||||||
|
|
||||||
|
DEADMAN_PROTECTION_TEXT(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.WILDERNESS_LEVEL),
|
||||||
|
DEADMAN_PROTECTION_TIME(WidgetID.PVP_GROUP_ID, WidgetID.Pvp.DEADMAN_PROTECTION_TIME);
|
||||||
|
|
||||||
private final int groupId;
|
private final int groupId;
|
||||||
private final int childId;
|
private final int childId;
|
||||||
|
|||||||
Reference in New Issue
Block a user