Package com.kraken.api.core.interaction
Class InteractionDispatcher
- java.lang.Object
-
- com.kraken.api.core.interaction.InteractionDispatcher
-
public class InteractionDispatcher extends java.lang.ObjectHandles the low-level sending of a resolved menu interaction: queuing the mouse click packet and invoking the menu action viaDoActionInvoker.
-
-
Constructor Summary
Constructors Constructor Description InteractionDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispatch(net.runelite.api.Point point, java.lang.String action, ResolvedMenuAction resolvedAction)Dispatches a resolved menu action at the given canvas point.
-
-
-
Method Detail
-
dispatch
public void dispatch(net.runelite.api.Point point, java.lang.String action, ResolvedMenuAction resolvedAction)Dispatches a resolved menu action at the given canvas point.- Parameters:
point- Canvas coordinates to clickaction- Action label (e.g. "Attack") — used for logging and the engine callresolvedAction- The fully resolved menu option and target string
-
-