Variable byte
Randomized order
Byte transformations
Move Game Click
Move game click is the packet that the client sends upon clicking on a game square to move towards it.
Payload
Even though the packet itself is defined as a variable-byte size, the payload’s actual size is always a constant value of 5 bytes.
Type | Description |
---|---|
Byte | Informs the client whether if the player held ctrl, or ctrl+shift when they clicked. The former is used to toggle movement speed for that specific movement. |
Unsigned Short | X coordinate of the game square the player clicked on. |
Unsigned Short | Z coordinate of the game square the player clicked on. |