OpLoc

class OpLoc : IncomingGameMessage

OpLoc messages are fired when a player clicks one of the five (excluding oploc6) options on a loc in the game.

Constructors

Link copied to clipboard
constructor(id: Int, x: Int, z: Int, controlKey: Boolean, op: Int)

Properties

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

whether the control key was held down, used to invert movement speed

Link copied to clipboard
val id: Int

the base(non-multi-transformed) id of the loc the player clicked on

Link copied to clipboard
val op: Int

the option clicked, ranging from 1 to 5 (inclusive)

Link copied to clipboard
val x: Int

the absolute x coordinate of the south-western corner of the loc

Link copied to clipboard
val z: Int

the absolute z coordinate of the south-western corner of the loc

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