Package rsb.internal
Class NewHooks
java.lang.Object
rsb.internal.NewHooks
- All Implemented Interfaces:
net.runelite.api.hooks.Callbacks
This class contains field required for mixins and runelite hooks to work.
All remaining method hooks in this class are performance-critical or contain client-specific logic and so they
can't just be placed in mixins or sent through event bus.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
drawInterface
(int interfaceId, List<net.runelite.api.widgets.WidgetItem> widgetItems) void
drawLayer
(net.runelite.api.widgets.Widget layer, List<net.runelite.api.widgets.WidgetItem> widgetItems) void
void
frame()
void
keyPressed
(KeyEvent keyEvent) void
keyReleased
(KeyEvent keyEvent) void
mouseClicked
(MouseEvent mouseEvent) mouseDragged
(MouseEvent mouseEvent) mouseEntered
(MouseEvent mouseEvent) mouseExited
(MouseEvent mouseEvent) mouseMoved
(MouseEvent mouseEvent) mousePressed
(MouseEvent mouseEvent) mouseReleased
(MouseEvent mouseEvent) mouseWheelMoved
(MouseWheelEvent event) void
onGameStateChanged
(net.runelite.api.events.GameStateChanged gameStateChanged) void
onScriptCallbackEvent
(net.runelite.api.events.ScriptCallbackEvent scriptCallbackEvent) void
void
postDeferred
(Object event) void
tick()
void
-
Method Details
-
post
- Specified by:
post
in interfacenet.runelite.api.hooks.Callbacks
-
postDeferred
- Specified by:
postDeferred
in interfacenet.runelite.api.hooks.Callbacks
-
tick
public void tick()- Specified by:
tick
in interfacenet.runelite.api.hooks.Callbacks
-
frame
public void frame()- Specified by:
frame
in interfacenet.runelite.api.hooks.Callbacks
-
mousePressed
- Specified by:
mousePressed
in interfacenet.runelite.api.hooks.Callbacks
-
mouseReleased
- Specified by:
mouseReleased
in interfacenet.runelite.api.hooks.Callbacks
-
mouseClicked
- Specified by:
mouseClicked
in interfacenet.runelite.api.hooks.Callbacks
-
mouseEntered
- Specified by:
mouseEntered
in interfacenet.runelite.api.hooks.Callbacks
-
mouseExited
- Specified by:
mouseExited
in interfacenet.runelite.api.hooks.Callbacks
-
mouseDragged
- Specified by:
mouseDragged
in interfacenet.runelite.api.hooks.Callbacks
-
mouseMoved
- Specified by:
mouseMoved
in interfacenet.runelite.api.hooks.Callbacks
-
mouseWheelMoved
- Specified by:
mouseWheelMoved
in interfacenet.runelite.api.hooks.Callbacks
-
keyPressed
- Specified by:
keyPressed
in interfacenet.runelite.api.hooks.Callbacks
-
keyReleased
- Specified by:
keyReleased
in interfacenet.runelite.api.hooks.Callbacks
-
keyTyped
- Specified by:
keyTyped
in interfacenet.runelite.api.hooks.Callbacks
-
draw
public void draw(net.runelite.api.MainBufferProvider mainBufferProvider, Graphics graphics, int x, int y) - Specified by:
draw
in interfacenet.runelite.api.hooks.Callbacks
-
drawScene
public void drawScene()- Specified by:
drawScene
in interfacenet.runelite.api.hooks.Callbacks
-
drawAboveOverheads
public void drawAboveOverheads()- Specified by:
drawAboveOverheads
in interfacenet.runelite.api.hooks.Callbacks
-
onGameStateChanged
@Subscribe public void onGameStateChanged(net.runelite.api.events.GameStateChanged gameStateChanged) -
updateNpcs
public void updateNpcs()- Specified by:
updateNpcs
in interfacenet.runelite.api.hooks.Callbacks
-
drawInterface
- Specified by:
drawInterface
in interfacenet.runelite.api.hooks.Callbacks
-
drawLayer
public void drawLayer(net.runelite.api.widgets.Widget layer, List<net.runelite.api.widgets.WidgetItem> widgetItems) - Specified by:
drawLayer
in interfacenet.runelite.api.hooks.Callbacks
-
onScriptCallbackEvent
@Subscribe public void onScriptCallbackEvent(net.runelite.api.events.ScriptCallbackEvent scriptCallbackEvent)
-