EventNativeMouseMove

class EventNativeMouseMove : IncomingGameMessage

Mouse move messages are sent when the user moves their mouse across the client, in this case, on the enhanced C++ clients.

Constructors

Link copied to clipboard
constructor(averageTime: Int, remainingTime: Int, movements: MouseMovements)

Properties

Link copied to clipboard

the average time in milliseconds between each movement. The average time is truncated according to integer division rules in the JVM. This is equal to totalTime / count.

Link copied to clipboard
open override val category: ClientProtCategory
Link copied to clipboard

all the recorded mouse movements within this message. Mouse movements are recorded by the client at a 50 millisecond interval, meaning any movements within that 50 milliseconds are discarded, and only the position changes of the mouse at each 50 millisecond interval are sent.

Link copied to clipboard

the remaining time from the averageTime integer division. This is equal to totalTime % count.

Link copied to clipboard

the total time in milliseconds that all the movements inside this event span across

Functions

Link copied to clipboard
open override fun toString(): String