Class MousePackets
- java.lang.Object
-
- com.kraken.api.core.packet.entity.MousePackets
-
public class MousePackets extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MousePackets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidqueueClickPacket(int x, int y)Queues a click packet to send to the game server.
-
-
-
Method Detail
-
queueClickPacket
public void queueClickPacket(int x, int y)Queues a click packet to send to the game server. The click packet should be sent before any game interaction (Widget, Movement, Npc, Object etc...) packets are sent. The click packet encapsulates the x and y coordinates of the canvas for the click that was made.- Parameters:
x- The x canvas coordinate.y- The y canvas coordinate.
-
-