Link Search Menu Expand Document

Fixed size (6)

Event Mouse Click

Mouse click packets are written whenever the player clicks anywhere on their client, whether it be dead space, or any entity in-game. Note that only left and right mouse clicks are written in this packet.

Payload

Only a single mouse click is recorded per event mouse click packet.

Type Description
Unsigned Short The first bit of the short indicates which mouse button was pressed(a value of 0 means left click, 1 means right click).
The remaining bits after that indicate the number of client cycles that have passed since the last mouse click occurred, capped to a value of 32,767.
Unsigned Short The x pixel that was clicked in relation to the top left corner of the client.
Unsigned Short The y pixel that was clicked in relation to the top left corner of the client.