CamLookAtEasedAngleAbsolute

class CamLookAtEasedAngleAbsolute : OutgoingGameMessage

Cam look at eased angle relative is used to make the camera look towards an angle relative to the current camera angle. One way to think of this packet is that it adds values to the x and y angles of the camera.

Constructors

Link copied to clipboard
constructor(xAngle: Int, yAngle: Int, duration: Int, function: Int)

Properties

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

the duration of the movement in client cycles (20ms/cc)

Link copied to clipboard

the camera easing function, allowing for finer control over the way it moves from the start coordinate to the end.

Link copied to clipboard
val xAngle: Int

the x angle of the camera to set to. Note that the angle is coerced into a range of 128..383, and incorrectly excludes the third and fifth least significant bits before doing so (by doing xAngle& 2027, rather than 2047).

Link copied to clipboard
val yAngle: Int

the x angle of the camera to set to. Note that the angle incorrectly excludes the third and fifth least significant bits (by doing xAngle& 2027, rather than 2047).

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