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 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 CamMoveToArc : OutgoingGameMessage

Camera move to arc packet is used to move camera to a new coordinate with finer control behind it. This packet differs from CamMoveToCycles 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
class CamMoveToCycles : OutgoingGameMessage

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

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 CamRotateBy : OutgoingGameMessage

Cam rotate by 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 CamRotateTo : OutgoingGameMessage

Cam rotate to 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 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
Link copied to clipboard
Link copied to clipboard
class CamTargetV1(val type: CamTargetV1.CamTargetType) : OutgoingGameMessage

Camera target packet is used to attach to camera on another entity in the scene. If the entity by the specified index cannot be found in the client, the camera will always be focused back on the local player. Furthermore, depth buffering (z-buffer) will be enabled if the WorldEntityTarget type is used. Other types will use the traditional priority system.

Link copied to clipboard
class CamTargetV2(val type: CamTargetV2.CamTargetType) : OutgoingGameMessage

Camera target packet is used to attach to camera on another entity in the scene. If the entity by the specified index cannot be found in the client, the camera will always be focused back on the local player. Furthermore, depth buffering (z-buffer) will be enabled if the WorldEntityTarget type is used. Other types will use the traditional priority system.

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.