loottracker: add fishing trawler
This commit is contained in:
@@ -29,6 +29,10 @@ package net.runelite.api;
|
|||||||
*/
|
*/
|
||||||
public enum InventoryID
|
public enum InventoryID
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Reward from fishing trawler
|
||||||
|
*/
|
||||||
|
FISHING_TRAWLER_REWARD(0),
|
||||||
/**
|
/**
|
||||||
* Standard player inventory.
|
* Standard player inventory.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ public class WidgetID
|
|||||||
public static final int SPELLBOOK_GROUP_ID = 218;
|
public static final int SPELLBOOK_GROUP_ID = 218;
|
||||||
public static final int PVP_GROUP_ID = 90;
|
public static final int PVP_GROUP_ID = 90;
|
||||||
public static final int FISHING_TRAWLER_GROUP_ID = 366;
|
public static final int FISHING_TRAWLER_GROUP_ID = 366;
|
||||||
|
public static final int FISHING_TRAWLER_REWARD_GROUP_ID = 367;
|
||||||
public static final int ZEAH_MESS_HALL_GROUP_ID = 235;
|
public static final int ZEAH_MESS_HALL_GROUP_ID = 235;
|
||||||
public static final int KOUREND_FAVOUR_GROUP_ID = 246;
|
public static final int KOUREND_FAVOUR_GROUP_ID = 246;
|
||||||
public static final int LOOTING_BAG_GROUP_ID = 81;
|
public static final int LOOTING_BAG_GROUP_ID = 81;
|
||||||
|
|||||||
@@ -407,6 +407,10 @@ public class LootTrackerPlugin extends Plugin
|
|||||||
eventType = "Kingdom of Miscellania";
|
eventType = "Kingdom of Miscellania";
|
||||||
container = client.getItemContainer(InventoryID.KINGDOM_OF_MISCELLANIA);
|
container = client.getItemContainer(InventoryID.KINGDOM_OF_MISCELLANIA);
|
||||||
break;
|
break;
|
||||||
|
case (WidgetID.FISHING_TRAWLER_REWARD_GROUP_ID):
|
||||||
|
eventType = "Fishing Trawler";
|
||||||
|
container = client.getItemContainer(InventoryID.FISHING_TRAWLER_REWARD);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user