Class NpcAggroAreaPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.npcunaggroarea.NpcAggroAreaPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="NPC Aggression Timer", description="Highlights the unaggressive area of NPCs nearby and timer until it becomes active", tags={"highlight","lines","unaggro","aggro","aggressive","npcs","area","slayer"}, enabledByDefault=false) @PluginDependency(SlayerPlugin.class) public class NpcAggroAreaPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description NpcAggroAreaPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetEndTime()GeneralPath[]getLinesToDisplay()WorldPoint[]getSafeCenters()booleanisActive()voidonConfigChanged(ConfigChanged event)voidonGameStateChanged(GameStateChanged event)voidonGameTick(GameTick event)voidonNpcSpawned(NpcSpawned event)protected voidshutDown()protected voidstartUp()-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
-
-
-
Method Detail
-
startUp
protected void startUp() throws Exception
-
shutDown
protected void shutDown() throws Exception
-
onNpcSpawned
@Subscribe(priority=-1.0f) public void onNpcSpawned(NpcSpawned event)
-
onGameTick
@Subscribe public void onGameTick(GameTick event)
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
onGameStateChanged
@Subscribe public void onGameStateChanged(GameStateChanged event)
-
getSafeCenters
public WorldPoint[] getSafeCenters()
-
getLinesToDisplay
public GeneralPath[] getLinesToDisplay()
-
isActive
public boolean isActive()
-
getEndTime
public Instant getEndTime()
-
-