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 WorldArea
getCannonPosition()
int
getCannonWorld()
int
getCballsLeft()
List<WorldPoint>
getSpotPoints()
boolean
isCannonPlaced()
void
onChatMessage(ChatMessage event)
void
onConfigChanged(ConfigChanged event)
void
onGameStateChanged(GameStateChanged gameStateChanged)
void
onItemContainerChanged(ItemContainerChanged event)
void
onVarbitChanged(VarbitChanged varbitChanged)
protected void
shutDown()
protected void
startUp()
-
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(ItemContainerChanged event)
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
onGameStateChanged
@Subscribe public void onGameStateChanged(GameStateChanged gameStateChanged)
-
onVarbitChanged
@Subscribe public void onVarbitChanged(VarbitChanged varbitChanged)
-
onChatMessage
@Subscribe public void onChatMessage(ChatMessage event)
-
getCballsLeft
public int getCballsLeft()
-
isCannonPlaced
public boolean isCannonPlaced()
-
getCannonPosition
public WorldArea getCannonPosition()
-
getCannonWorld
public int getCannonWorld()
-
getSpotPoints
public List<WorldPoint> getSpotPoints()
-
-