Package net.runelite.api.events
Class NpcActionChanged
- java.lang.Object
-
- net.runelite.api.events.NpcActionChanged
-
public class NpcActionChanged extends java.lang.ObjectAn event where an action of anNPCCompositionhas changed.
-
-
Constructor Summary
Constructors Constructor Description NpcActionChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)intgetIdx()The raw index of the modified action.NPCCompositiongetNpcComposition()The NPC composition that has been changed.inthashCode()voidsetIdx(int idx)The raw index of the modified action.voidsetNpcComposition(NPCComposition npcComposition)The NPC composition that has been changed.java.lang.StringtoString()
-
-
-
Method Detail
-
getNpcComposition
public NPCComposition getNpcComposition()
The NPC composition that has been changed.
-
getIdx
public int getIdx()
The raw index of the modified action.
-
setNpcComposition
public void setNpcComposition(NPCComposition npcComposition)
The NPC composition that has been changed.
-
setIdx
public void setIdx(int idx)
The raw index of the modified action.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-