com.onlineobject.objectnet Namespace

PositionNetwork Methods

The PositionNetwork type exposes the following members.

Methods


  Name Description
Public method ComputeActive
Computes the active state of the networked object, updating its position if it has moved beyond a threshold.
Public method ComputePassive
Computes the passive state of the networked object, handling interpolation and prediction if necessary.
Public method Extract
Extracts synchronization data from the provided data stream and updates the object's state accordingly.
Public method GetPassiveArguments
Retrieves the current position of the object for passive synchronization.
Public method IsCorrectlyPositionOnPast(Vector3, Boolean)
Return if this object was int os closeslly this postion on past
Public method IsCorrectlyPositionOnPast(Vector3, Int32, Int32, Boolean)
Return if this object was int os closeslly this postion on past
Public method RecoverFrameTimeOnPast
Recovers the frame time from the past based on the time to go back and the start sequence.
Public method SetCustomPrediction
Sets a custom prediction logic.
Public method SynchonizeActive
Synchronizes the active state of the object with the network by writing necessary data to the provided data stream.
Public method SynchonizePassive
Synchronizes the passive state of the object by updating its position.