Space Engineers
Public Member Functions | Static Public Attributes | List of all members
Sandbox.Game.Replication.History.MyPredictedSnapshotSync Class Reference
Inheritance diagram for Sandbox.Game.Replication.History.MyPredictedSnapshotSync:
Sandbox.Game.Replication.History.IMySnapshotSync

Public Member Functions

 MyPredictedSnapshotSync (MyEntity entity)
 
void Update (MyTimeSpan clientTimestamp, MySnapshotSyncSetup setup)
 
void UpdatePrediction (MyTimeSpan clientTimestamp, MySnapshotSyncSetup setup)
 
void Write (BitStream stream)
 
void Read (BitStream stream, MyTimeSpan timeStamp)
 
void Reset ()
 

Static Public Attributes

static bool SetTransformCorrections = true
 
static bool SetPhysicsCorrections = true
 
static float DeltaFactor = 0.7f
 
static int SmoothTimesteps = 30
 
static bool SmoothPositionCorrection = true
 
static float MinPositionDelta = 0.05f
 
static float MaxPositionDelta = 0.5f
 
static float ReferenceLinearVelocity = 10.0f
 
static bool SmoothRotationCorrection = true
 
static float MinRotationAngle = 2.0f / 180.0f * MathHelper.Pi
 
static float MaxRotationAngle = 10.0f / 180.0f * MathHelper.Pi
 
static float ReferenceAngularVelocity = 0.5f
 
static bool SmoothLinearVelocityCorrection = true
 
static float MinLinearVelocityDelta = 0.01f
 
static float MaxLinearVelocityDelta = 4.0f
 
static bool SmoothAngularVelocityCorrection = true
 
static float MinAngularVelocityDelta = 0.01f
 
static float MinVelocityChangeToReset = 10
 

Detailed Description

Definition at line 20 of file MyPredictedSnapshotSync.cs.

Constructor & Destructor Documentation

Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MyPredictedSnapshotSync ( MyEntity  entity)
inline

Definition at line 80 of file MyPredictedSnapshotSync.cs.

Member Function Documentation

void Sandbox.Game.Replication.History.MyPredictedSnapshotSync.Read ( BitStream  stream,
MyTimeSpan  timeStamp 
)
inline
void Sandbox.Game.Replication.History.MyPredictedSnapshotSync.Reset ( )
inline
void Sandbox.Game.Replication.History.MyPredictedSnapshotSync.Update ( MyTimeSpan  clientTimestamp,
MySnapshotSyncSetup  setup 
)
inline
void Sandbox.Game.Replication.History.MyPredictedSnapshotSync.UpdatePrediction ( MyTimeSpan  clientTimestamp,
MySnapshotSyncSetup  setup 
)
inline

Definition at line 100 of file MyPredictedSnapshotSync.cs.

void Sandbox.Game.Replication.History.MyPredictedSnapshotSync.Write ( BitStream  stream)
inline

Member Data Documentation

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.DeltaFactor = 0.7f
static

Definition at line 26 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MaxLinearVelocityDelta = 4.0f
static

Definition at line 41 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MaxPositionDelta = 0.5f
static

Definition at line 31 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MaxRotationAngle = 10.0f / 180.0f * MathHelper.Pi
static

Definition at line 36 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MinAngularVelocityDelta = 0.01f
static

Definition at line 44 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MinLinearVelocityDelta = 0.01f
static

Definition at line 40 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MinPositionDelta = 0.05f
static

Definition at line 30 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MinRotationAngle = 2.0f / 180.0f * MathHelper.Pi
static

Definition at line 35 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.MinVelocityChangeToReset = 10
static

Definition at line 46 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.ReferenceAngularVelocity = 0.5f
static

Definition at line 37 of file MyPredictedSnapshotSync.cs.

float Sandbox.Game.Replication.History.MyPredictedSnapshotSync.ReferenceLinearVelocity = 10.0f
static

Definition at line 32 of file MyPredictedSnapshotSync.cs.

bool Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SetPhysicsCorrections = true
static

Definition at line 24 of file MyPredictedSnapshotSync.cs.

bool Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SetTransformCorrections = true
static

Definition at line 23 of file MyPredictedSnapshotSync.cs.

bool Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SmoothAngularVelocityCorrection = true
static

Definition at line 43 of file MyPredictedSnapshotSync.cs.

bool Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SmoothLinearVelocityCorrection = true
static

Definition at line 39 of file MyPredictedSnapshotSync.cs.

bool Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SmoothPositionCorrection = true
static

Definition at line 29 of file MyPredictedSnapshotSync.cs.

bool Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SmoothRotationCorrection = true
static

Definition at line 34 of file MyPredictedSnapshotSync.cs.

int Sandbox.Game.Replication.History.MyPredictedSnapshotSync.SmoothTimesteps = 30
static

Definition at line 27 of file MyPredictedSnapshotSync.cs.


The documentation for this class was generated from the following file: