CamSmoothReset

class CamSmoothReset : OutgoingGameMessage

Cam smooth reset is used to smoothly reset camera back to the state where the user is in control, instead of it happening instantaneously.

Note that the properties of this packet are unused in the Java client.

WARNING: The client code requires that the camera is in a locked state for this packet's code to be executed in Java. If the camera isn't in a locked state, an error condition is hit at the bottom of the function and the player will be kicked out of the game!

Constructors

Link copied to clipboard
constructor(cameraMoveConstantSpeed: Int, cameraMoveProportionalSpeed: Int, cameraLookConstantSpeed: Int, cameraLookProportionalSpeed: Int)

Properties

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

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