loottracker: add fishing trawler

This commit is contained in:
dekvall
2019-10-06 17:17:32 +02:00
committed by Tomas Slusny
parent a3ccd12db1
commit 27a304dce6
3 changed files with 9 additions and 0 deletions

View File

@@ -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.
*/ */

View File

@@ -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;

View File

@@ -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;
} }