Package net.runelite.api.events
Class NpcChanged
- java.lang.Object
-
- net.runelite.api.events.NpcChanged
-
public final class NpcChanged extends java.lang.ObjectFires after the composition of anNPCchanges.
-
-
Constructor Summary
Constructors Constructor Description NpcChanged(NPC npc, NPCComposition old)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)NPCgetNpc()The NPC of which the composition changed.NPCCompositiongetOld()The old composition of the NPCinthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
NpcChanged
public NpcChanged(NPC npc, NPCComposition old)
-
-
Method Detail
-
getNpc
public NPC getNpc()
The NPC of which the composition changed.
-
getOld
public NPCComposition getOld()
The old composition of the NPC
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-