Package net.openosrs.api.dispatch
Class MenuDispatcher
- java.lang.Object
-
- net.openosrs.api.dispatch.MenuDispatcher
-
- All Implemented Interfaces:
Dispatcher
@Singleton public class MenuDispatcher extends java.lang.Object implements Dispatcher
Primary dispatch tier: routes interactions through the client's native menu-action pipeline (doAction). This path is maintained by the game's own opcode resolution and survives revisions without per-rev tables.
-
-
Constructor Summary
Constructors Constructor Description MenuDispatcher(net.runelite.api.Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandispatch(net.runelite.api.MenuAction action, int identifier, int param0, int param1, java.lang.String option, java.lang.String target, int itemId, int worldViewId)booleandispatch(net.runelite.api.MenuAction action, int identifier, int param0, int param1, java.lang.String option, java.lang.String target, int itemId, int worldViewId, int canvasX, int canvasY)java.util.List<net.runelite.api.MenuAction>unsupportedActions()Actions this dispatcher cannot carry; the router falls back to another tier.
-
-
-
Method Detail
-
dispatch
public boolean dispatch(net.runelite.api.MenuAction action, int identifier, int param0, int param1, java.lang.String option, java.lang.String target, int itemId, int worldViewId)- Specified by:
dispatchin interfaceDispatcher
-
dispatch
public boolean dispatch(net.runelite.api.MenuAction action, int identifier, int param0, int param1, java.lang.String option, java.lang.String target, int itemId, int worldViewId, int canvasX, int canvasY)- Specified by:
dispatchin interfaceDispatcher
-
unsupportedActions
public java.util.List<net.runelite.api.MenuAction> unsupportedActions()
Description copied from interface:DispatcherActions this dispatcher cannot carry; the router falls back to another tier.- Specified by:
unsupportedActionsin interfaceDispatcher
-
-