runelite-client: Make Skotizo widget layoutable
This commit is contained in:
@@ -121,6 +121,7 @@ public class WidgetID
|
|||||||
public static final int PVP_GROUP_ID = 90;
|
public static final int PVP_GROUP_ID = 90;
|
||||||
public static final int ZEAH_MESS_HALL_GROUP_ID = 235;
|
public static final int ZEAH_MESS_HALL_GROUP_ID = 235;
|
||||||
public static final int LOOTING_BAG_GROUP_ID = 81;
|
public static final int LOOTING_BAG_GROUP_ID = 81;
|
||||||
|
public static final int SKOTIZO_GROUP_ID = 308;
|
||||||
|
|
||||||
static class WorldMap
|
static class WorldMap
|
||||||
{
|
{
|
||||||
@@ -726,4 +727,9 @@ public class WidgetID
|
|||||||
{
|
{
|
||||||
static final int LOOTING_BAG_INVENTORY = 5;
|
static final int LOOTING_BAG_INVENTORY = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static class Skotizo
|
||||||
|
{
|
||||||
|
static final int CONTAINER = 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -456,7 +456,9 @@ public enum WidgetInfo
|
|||||||
|
|
||||||
ZEAH_MESS_HALL_COOKING_DISPLAY(WidgetID.ZEAH_MESS_HALL_GROUP_ID, WidgetID.Zeah.MESS_HALL_COOKING_DISPLAY),
|
ZEAH_MESS_HALL_COOKING_DISPLAY(WidgetID.ZEAH_MESS_HALL_GROUP_ID, WidgetID.Zeah.MESS_HALL_COOKING_DISPLAY),
|
||||||
|
|
||||||
LOOTING_BAG_CONTAINER(WidgetID.LOOTING_BAG_GROUP_ID, WidgetID.LootingBag.LOOTING_BAG_INVENTORY);
|
LOOTING_BAG_CONTAINER(WidgetID.LOOTING_BAG_GROUP_ID, WidgetID.LootingBag.LOOTING_BAG_INVENTORY),
|
||||||
|
|
||||||
|
SKOTIZO_CONTAINER(WidgetID.SKOTIZO_GROUP_ID, WidgetID.Skotizo.CONTAINER);
|
||||||
|
|
||||||
private final int groupId;
|
private final int groupId;
|
||||||
private final int childId;
|
private final int childId;
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ public class WidgetOverlay extends Overlay
|
|||||||
.put(WidgetInfo.ZEAH_MESS_HALL_COOKING_DISPLAY, OverlayPosition.TOP_LEFT)
|
.put(WidgetInfo.ZEAH_MESS_HALL_COOKING_DISPLAY, OverlayPosition.TOP_LEFT)
|
||||||
.put(WidgetInfo.PVP_BOUNTY_HUNTER_STATS, OverlayPosition.TOP_RIGHT)
|
.put(WidgetInfo.PVP_BOUNTY_HUNTER_STATS, OverlayPosition.TOP_RIGHT)
|
||||||
.put(WidgetInfo.PVP_KILLDEATH_COUNTER, OverlayPosition.TOP_LEFT)
|
.put(WidgetInfo.PVP_KILLDEATH_COUNTER, OverlayPosition.TOP_LEFT)
|
||||||
|
.put(WidgetInfo.SKOTIZO_CONTAINER, OverlayPosition.TOP_LEFT)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
public static Collection<WidgetOverlay> createOverlays(final Client client)
|
public static Collection<WidgetOverlay> createOverlays(final Client client)
|
||||||
|
|||||||
Reference in New Issue
Block a user