OculusSync

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.

Constructors

Link copied to clipboard
constructor(value: Int)

Properties

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

the synchronization value, if the client's value is different, oculus camera is moved to the client's local player. Additionally, this value is sent by the client in the net.rsprot.protocol.game.incoming.misc.user.Teleport packet whenever the oculus causes the player to teleport.

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