stonedloottracker: Final fields
This commit is contained in:
@@ -161,9 +161,9 @@ public class StonedLootTrackerPlugin extends Plugin
|
||||
private NavigationButton navButton;
|
||||
private String eventType;
|
||||
|
||||
private Multimap<String, LootRecordCustom> lootRecordMultimap = ArrayListMultimap.create();
|
||||
private Multimap<String, UniqueItemPrepared> uniques = ArrayListMultimap.create();
|
||||
private Map<String, Integer> killCountMap = new HashMap<>();
|
||||
private final Multimap<String, LootRecordCustom> lootRecordMultimap = ArrayListMultimap.create();
|
||||
private final Multimap<String, UniqueItemPrepared> uniques = ArrayListMultimap.create();
|
||||
private final Map<String, Integer> killCountMap = new HashMap<>();
|
||||
|
||||
// key = name, value=current killCount
|
||||
private boolean loaded = false;
|
||||
|
||||
@@ -44,7 +44,7 @@ class LootGrid extends JPanel
|
||||
private static final int ITEMS_PER_ROW = 5;
|
||||
private static final Dimension ITEM_SIZE = new Dimension(40, 40);
|
||||
private final LootTrackerItemEntry[] itemsToDisplay;
|
||||
private ItemManager itemManager;
|
||||
private final ItemManager itemManager;
|
||||
|
||||
LootGrid(final LootTrackerItemEntry[] itemsToDisplay, final ItemManager itemManager)
|
||||
{
|
||||
|
||||
@@ -52,12 +52,12 @@ import net.runelite.client.ui.ColorScheme;
|
||||
@Singleton
|
||||
class LootPanel extends JPanel
|
||||
{
|
||||
private Collection<LootRecordCustom> records;
|
||||
private Map<Integer, Collection<UniqueItemPrepared>> uniqueMap;
|
||||
private boolean hideUniques;
|
||||
private ItemSortTypes sortType;
|
||||
private boolean itemBreakdown;
|
||||
private ItemManager itemManager;
|
||||
private final Collection<LootRecordCustom> records;
|
||||
private final Map<Integer, Collection<UniqueItemPrepared>> uniqueMap;
|
||||
private final boolean hideUniques;
|
||||
private final ItemSortTypes sortType;
|
||||
private final boolean itemBreakdown;
|
||||
private final ItemManager itemManager;
|
||||
// Consolidate LTItemEntries stored by ItemID
|
||||
private Map<Integer, LootTrackerItemEntry> consolidated;
|
||||
|
||||
|
||||
@@ -53,15 +53,15 @@ import net.runelite.client.ui.components.materialtabs.MaterialTabGroup;
|
||||
@Singleton
|
||||
class SelectionPanel extends JPanel
|
||||
{
|
||||
private TreeSet<String> names;
|
||||
private LootTrackerPanel parent;
|
||||
private ItemManager itemManager;
|
||||
private final TreeSet<String> names;
|
||||
private final LootTrackerPanel parent;
|
||||
private final ItemManager itemManager;
|
||||
|
||||
private final static Color BACKGROUND_COLOR = ColorScheme.DARK_GRAY_COLOR;
|
||||
private final static Color BUTTON_COLOR = ColorScheme.DARKER_GRAY_COLOR;
|
||||
private final static Color BUTTON_HOVER_COLOR = ColorScheme.DARKER_GRAY_HOVER_COLOR;
|
||||
|
||||
private boolean configToggle;
|
||||
private final boolean configToggle;
|
||||
|
||||
SelectionPanel(final boolean configToggle, final TreeSet<String> names, final LootTrackerPanel parent, final ItemManager itemManager)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user