Class CannonPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.cannon.CannonPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="Cannon", description="Show information about cannon placement and/or amount of cannonballs", tags={"combat","notifications","ranged","overlay"}) public class CannonPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description CannonPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.runelite.api.coords.WorldAreagetCannonPosition()intgetCannonWorld()intgetCballsLeft()List<net.runelite.api.coords.WorldPoint>getSpotPoints()booleanisCannonPlaced()voidonChatMessage(net.runelite.api.events.ChatMessage event)voidonConfigChanged(ConfigChanged event)voidonGameStateChanged(net.runelite.api.events.GameStateChanged gameStateChanged)voidonItemContainerChanged(net.runelite.api.events.ItemContainerChanged event)voidonVarbitChanged(net.runelite.api.events.VarbitChanged varbitChanged)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
-
onItemContainerChanged
@Subscribe public void onItemContainerChanged(net.runelite.api.events.ItemContainerChanged event)
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
onGameStateChanged
@Subscribe public void onGameStateChanged(net.runelite.api.events.GameStateChanged gameStateChanged)
-
onVarbitChanged
@Subscribe public void onVarbitChanged(net.runelite.api.events.VarbitChanged varbitChanged)
-
onChatMessage
@Subscribe public void onChatMessage(net.runelite.api.events.ChatMessage event)
-
getCballsLeft
public int getCballsLeft()
-
isCannonPlaced
public boolean isCannonPlaced()
-
getCannonPosition
public net.runelite.api.coords.WorldArea getCannonPosition()
-
getCannonWorld
public int getCannonWorld()
-
getSpotPoints
public List<net.runelite.api.coords.WorldPoint> getSpotPoints()
-
-