IfSetPosition

class IfSetPosition : OutgoingGameMessage

If set-position events are used to move a component on an interface.

Constructors

Link copied to clipboard
constructor(interfaceId: Int, componentId: Int, x: Int, y: Int)
constructor(combinedId: Int, x: Int, y: Int)

Properties

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

the bitpacked combination of interfaceId and componentId.

Link copied to clipboard

the component id to move

Link copied to clipboard

the interface on which the component to move exists

Link copied to clipboard
val x: Int

the x coordinate to move to

Link copied to clipboard
val y: Int

the y coordinate to move to

Functions

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