MoveGameClick

class MoveGameClick : IncomingGameMessage

Move gameclick packets are sent when the user clicks to walk within their main game window (not minimap).

Constructors

Link copied to clipboard
constructor(x: Int, z: Int, keyCombination: Int)

Properties

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

the combination of keys held down to move there. Possible values include 0, 1 and 2, where: A value of 2 is sent if the user is holding down the 'Control' and 'Shift' keys simultaneously. A value of 1 is sent if the user is holding down the 'Control' key without the 'Shift' key. In any other scenario, a value of 0 is sent. The 'Control' key is used to invert move speed for the single movement request, and the 'Control' + 'Shift' combination is presumably for J-Mods to teleport around - although there are no validations for J-Mod privileges in the client, it will send the value of 2 even for regular users.

Link copied to clipboard
val x: Int

the absolute x coordinate to walk to

Link copied to clipboard
val z: Int

the absolute z coordinate to walk to

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