Class LootReceived


  • public class LootReceived
    extends java.lang.Object
    Event published by the loottracker plugin when new loot is received
    • Constructor Summary

      Constructors 
      Constructor Description
      LootReceived​(java.lang.String name, int combatLevel, net.runelite.http.api.loottracker.LootRecordType type, java.util.Collection<ItemStack> items, int amount)  
    • Constructor Detail

      • LootReceived

        public LootReceived​(java.lang.String name,
                            int combatLevel,
                            net.runelite.http.api.loottracker.LootRecordType type,
                            java.util.Collection<ItemStack> items,
                            int amount)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getCombatLevel

        public int getCombatLevel()
      • getType

        public net.runelite.http.api.loottracker.LootRecordType getType()
      • getItems

        public java.util.Collection<ItemStack> getItems()
      • getAmount

        public int getAmount()
      • setName

        public void setName​(java.lang.String name)
      • setCombatLevel

        public void setCombatLevel​(int combatLevel)
      • setType

        public void setType​(net.runelite.http.api.loottracker.LootRecordType type)
      • setItems

        public void setItems​(java.util.Collection<ItemStack> items)
      • setAmount

        public void setAmount​(int amount)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object