Class MovementPackets


  • public class MovementPackets
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MovementPackets()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void queueMovement​(int worldPointX, int worldPointY, boolean ctrlDown)
      Queues a movement packet for a specific world point x and y location.
      void queueMovement​(net.runelite.api.coords.LocalPoint location)
      Queues a movement packet for a specific local point.
      void queueMovement​(net.runelite.api.coords.WorldPoint location)
      Queues a movement packet for a specific world point.
      • Methods inherited from class java.lang.Object

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

      • MovementPackets

        public MovementPackets()
    • Method Detail

      • queueMovement

        public void queueMovement​(int worldPointX,
                                  int worldPointY,
                                  boolean ctrlDown)
        Queues a movement packet for a specific world point x and y location.
        Parameters:
        worldPointX - The X location of the world point
        worldPointY - The Y location of the world point
        ctrlDown - True if control should be pressed (walks when run is toggled on and runs when walk is toggled on).
      • queueMovement

        public void queueMovement​(net.runelite.api.coords.WorldPoint location)
        Queues a movement packet for a specific world point.
        Parameters:
        location - The world point to queue a packet to move to.
      • queueMovement

        public void queueMovement​(net.runelite.api.coords.LocalPoint location)
        Queues a movement packet for a specific local point.
        Parameters:
        location - The local point to queue a packet to move to.