Class InteractionDispatcher


  • public class InteractionDispatcher
    extends java.lang.Object
    Handles the low-level sending of a resolved menu interaction: queuing the mouse click packet and invoking the menu action via DoActionInvoker.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispatch​(net.runelite.api.Point point, java.lang.String action, ResolvedMenuAction resolvedAction)
      Dispatches a resolved menu action at the given canvas point.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InteractionDispatcher

        public InteractionDispatcher()
    • 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 click
        action - Action label (e.g. "Attack") — used for logging and the engine call
        resolvedAction - The fully resolved menu option and target string