EventNativeMouseClick

class EventNativeMouseClick : IncomingGameMessage

Mouse click messages are sent whenever the user clicks with the right or left mouse button, and if the "Middle mouse button controls camera" is disabled, middle buttons (the scroll wheel itself).

Constructors

Link copied to clipboard
constructor(lastTransmittedMouseClick: Int, code: Int, x: Int, y: Int)

Properties

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

the hook code from windows. See link here.

Link copied to clipboard

how many milliseconds since the last mouse click event was transmitted

Link copied to clipboard
val x: Int

the x coordinate clicked, always a positive integer, capped to the client frame width.

Link copied to clipboard
val y: Int

the y coordinate clicked, always a positive integer, capped to the client frame height.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String