Class HunterPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.hunter.HunterPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="Hunter", description="Show the state of your traps", tags={"overlay","skilling","timers"}) public class HunterPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description HunterPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<WorldPoint,net.runelite.client.plugins.hunter.HunterTrap>
getTraps()
void
onConfigChanged(ConfigChanged event)
void
onGameObjectSpawned(GameObjectSpawned event)
void
onGameTick(GameTick event)
Iterates over all the traps that were placed by the local player and checks if the trap is still there.protected void
shutDown()
protected void
startUp()
-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
-
-
-
Method Detail
-
shutDown
protected void shutDown() throws Exception
-
onGameObjectSpawned
@Subscribe public void onGameObjectSpawned(GameObjectSpawned event)
-
onGameTick
@Subscribe public void onGameTick(GameTick event)
Iterates over all the traps that were placed by the local player and checks if the trap is still there. If the trap is gone, it removes the trap from the local players trap collection.
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
getTraps
public Map<WorldPoint,net.runelite.client.plugins.hunter.HunterTrap> getTraps()
-
-