IfSetAngle

class IfSetAngle : OutgoingGameMessage

If set-angle is used to change the angle of a model on an interface component.

Constructors

Link copied to clipboard
constructor(interfaceId: Int, componentId: Int, angleX: Int, angleY: Int, zoom: Int)
constructor(combinedId: Int, angleX: Int, angleY: Int, zoom: Int)

Properties

Link copied to clipboard
val angleX: Int

the new x model angle to set to, a value from 0 to 2047 (inclusive)

Link copied to clipboard
val angleY: Int

the new y model angle to set to, a value from 0 to 2047 (inclusive)

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 on which the model resides

Link copied to clipboard

the interface id on which the component resides

Link copied to clipboard
val zoom: Int

the zoom of the model, defaults to a value of 100 in the client. The greater the zoom value, the smaller the model will appear - it is inverted.

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