MouseMovements

class MouseMovements(movements: LongArray)

A class that wraps around an array of mouse movements, with the encoding specified by MousePosChange.

Constructors

Link copied to clipboard
constructor(movements: LongArray)

Types

Link copied to clipboard
class MousePosChange(val packed: Long)

A class for mouse position changes, packed into a primitive long. We utilize bitpacking in order to use primitive long arrays for space constraints.

Properties

Link copied to clipboard
val length: Int

the number of mouse movements in this packet.

Functions

Link copied to clipboard
Link copied to clipboard

Gets the mouse position change at the specified index