Package-level declarations

Types

Link copied to clipboard
class CamLookAt : OutgoingGameMessage

Cam lookat packet is used to make the camera look towards a certain coordinate in the build area. It is important to note that if this is sent together with a map reload, whether this packet comes before or after the map reload makes a difference - as the build area itself changes.

Link copied to clipboard
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.

Link copied to clipboard
class CamLookAtEasedAngleRelative : 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.

Link copied to clipboard
class CamLookAtEasedCoord : OutgoingGameMessage

Cam look at eased coord is used to make the camera look towards a certain coordinate with various easing functions.

Link copied to clipboard
class CamMode(val mode: Int) : OutgoingGameMessage

Cam mode is used to set the camera into an orb-of-oculus mode, or out of it.

Link copied to clipboard
class CamMoveTo : OutgoingGameMessage

Cam move to packet is used to move the position of the camera to a specific coordinate within the current build area. It is important to note that if this is sent together with a map reload, whether this packet comes before or after the map reload makes a difference - as the build area itself changes.

Link copied to clipboard
class CamMoveToEased : OutgoingGameMessage

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

Link copied to clipboard
class CamMoveToEasedCircular : OutgoingGameMessage

Camera move to eased circular packet is used to move camera to a new coordinate with finer control behind it. This packet differs from CamMoveToEased in that it will first move through a center coordinate before going towards the destination, creating a )-shape movement. An example image of this can be seen here

Link copied to clipboard
data object CamReset : OutgoingGameMessage

Cam reset is used to clear out any camera shaking or any sort of movements that might've been previously set. Additionally, unlocks the camera if it has been locked in place.

Link copied to clipboard
class CamShake : OutgoingGameMessage

Cam shake packet is used to make the camera shake around. It is worth noting that multiple different types of shakes can be executed simultaneously, making the camera more and more volatile as a result.

Link copied to clipboard
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.

Link copied to clipboard
class OculusSync(val value: Int) : OutgoingGameMessage

Oculus sync is used to re-synchronize the orb of oculus camera to the local player in the client, if the value does not match up with the client's value. The client initializes this property as zero.