CamMoveToCycles

class CamMoveToCycles : OutgoingGameMessage

Camera move to cycles packet is used to move camera to a new coordinate with finer control behind it.

Constructors

Link copied to clipboard
constructor(xInBuildArea: Int, zInBuildArea: Int, height: Int, cycles: Int, ignoreTerrain: Boolean, easing: Int)

Properties

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

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

Link copied to clipboard

the dest x coordinate within the build area, in range of 0 to 103 (inclusive)

Link copied to clipboard

the dest z coordinate within the build area, in range of 0 to 103 (inclusive)

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 height: Int

the height of the camera once it arrives at the destination

Link copied to clipboard

whether the camera moves along the terrain, moving up and down according to bumps in the terrain. If true, the camera will move in a straight line from the starting position towards the end position, ignoring any changes in the terrain.

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