Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRage.Replication.MyReplicableClientData Class Reference

Public Member Functions

void UpdateSleep (bool isRelevant, MyTimeSpan currentTime)
 
bool ShouldRemove (MyTimeSpan currentTime, MyTimeSpan maxSleep)
 

Public Attributes

MyTimeSpan CreationTime
 
MyTimeSpan SleepTime
 
bool IsPending = true
 
bool IsStreaming = false
 
float Priority
 

Properties

bool IsSleeping [get]
 When replicable is sleeping, it should not receive state updates. But it has to receive events. More...
 
bool HasActiveStateSync [get]
 Returns true when replicable is not pending and is not sleeping. More...
 

Detailed Description

Definition at line 9 of file MyReplicableClientData.cs.

Member Function Documentation

bool VRage.Replication.MyReplicableClientData.ShouldRemove ( MyTimeSpan  currentTime,
MyTimeSpan  maxSleep 
)
inline

Definition at line 43 of file MyReplicableClientData.cs.

void VRage.Replication.MyReplicableClientData.UpdateSleep ( bool  isRelevant,
MyTimeSpan  currentTime 
)
inline

Definition at line 35 of file MyReplicableClientData.cs.

Member Data Documentation

MyTimeSpan VRage.Replication.MyReplicableClientData.CreationTime

Definition at line 11 of file MyReplicableClientData.cs.

bool VRage.Replication.MyReplicableClientData.IsPending = true

Definition at line 14 of file MyReplicableClientData.cs.

bool VRage.Replication.MyReplicableClientData.IsStreaming = false

Definition at line 15 of file MyReplicableClientData.cs.

float VRage.Replication.MyReplicableClientData.Priority

Definition at line 17 of file MyReplicableClientData.cs.

MyTimeSpan VRage.Replication.MyReplicableClientData.SleepTime

Definition at line 12 of file MyReplicableClientData.cs.

Property Documentation

bool VRage.Replication.MyReplicableClientData.HasActiveStateSync
get

Returns true when replicable is not pending and is not sleeping.

Definition at line 31 of file MyReplicableClientData.cs.

bool VRage.Replication.MyReplicableClientData.IsSleeping
get

When replicable is sleeping, it should not receive state updates. But it has to receive events.

Definition at line 23 of file MyReplicableClientData.cs.


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