Class MovementPackets
- java.lang.Object
-
- com.kraken.api.core.packet.entity.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 voidqueueMovement(int worldPointX, int worldPointY, boolean ctrlDown)Queues a movement packet for a specific world point x and y location.voidqueueMovement(net.runelite.api.coords.LocalPoint location)Queues a movement packet for a specific local point.voidqueueMovement(net.runelite.api.coords.WorldPoint location)Queues a movement packet for a specific world point.
-
-
-
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 pointworldPointY- The Y location of the world pointctrlDown- 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.
-
-