Space Engineers
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
VRage.Network.MySyncedBase< T > Class Template Referenceabstract
Inheritance diagram for VRage.Network.MySyncedBase< T >:
VRage.Network.IMySyncedValue

Public Member Functions

abstract void Write (ref T value, BitStream s)
 
abstract void Read (out T value, BitStream s)
 
MySyncedDataStateEnum GetDataState (int clientIndex)
 
bool IsDefault ()
 
void SetParent (MySyncedClass parent)
 
void ResetPending (int clientIndex)
 
void Invalidate ()
 
Get ()
 
void Set (T value)
 
override string ToString ()
 
override int GetHashCode ()
 
virtual void Serialize (BitStream bs, int clientIndex)
 
virtual void Deserialize (BitStream bs)
 
virtual void SerializeDefault (BitStream bs, int clientIndex=-1)
 
virtual void DeserializeDefault (BitStream bs)
 
virtual bool Equals (T other)
 

Static Public Member Functions

static implicit operator T (MySyncedBase< T > self)
 

Protected Attributes

MySyncedDataStateEnum[] m_dirty = new MySyncedDataStateEnum[64]
 
m_value
 

Detailed Description

Definition at line 13 of file MySyncedBase.cs.

Member Function Documentation

virtual void VRage.Network.MySyncedBase< T >.Deserialize ( BitStream  bs)
inlinevirtual

Implements VRage.Network.IMySyncedValue.

Definition at line 115 of file MySyncedBase.cs.

virtual void VRage.Network.MySyncedBase< T >.DeserializeDefault ( BitStream  bs)
inlinevirtual

Implements VRage.Network.IMySyncedValue.

Definition at line 156 of file MySyncedBase.cs.

virtual bool VRage.Network.MySyncedBase< T >.Equals ( other)
inlinevirtual

Definition at line 169 of file MySyncedBase.cs.

T VRage.Network.MySyncedBase< T >.Get ( )
inline

Definition at line 68 of file MySyncedBase.cs.

MySyncedDataStateEnum VRage.Network.MySyncedBase< T >.GetDataState ( int  clientIndex)
inline

Implements VRage.Network.IMySyncedValue.

Definition at line 19 of file MySyncedBase.cs.

override int VRage.Network.MySyncedBase< T >.GetHashCode ( )
inline

Definition at line 95 of file MySyncedBase.cs.

void VRage.Network.MySyncedBase< T >.Invalidate ( )
inline

Definition at line 49 of file MySyncedBase.cs.

bool VRage.Network.MySyncedBase< T >.IsDefault ( )
inline

Implements VRage.Network.IMySyncedValue.

Definition at line 25 of file MySyncedBase.cs.

static implicit VRage.Network.MySyncedBase< T >.operator T ( MySyncedBase< T >  self)
inlinestatic

Definition at line 61 of file MySyncedBase.cs.

abstract void VRage.Network.MySyncedBase< T >.Read ( out T  value,
BitStream  s 
)
pure virtual
void VRage.Network.MySyncedBase< T >.ResetPending ( int  clientIndex)
inline

Implements VRage.Network.IMySyncedValue.

Definition at line 40 of file MySyncedBase.cs.

virtual void VRage.Network.MySyncedBase< T >.Serialize ( BitStream  bs,
int  clientIndex 
)
inlinevirtual

Implements VRage.Network.IMySyncedValue.

Definition at line 100 of file MySyncedBase.cs.

virtual void VRage.Network.MySyncedBase< T >.SerializeDefault ( BitStream  bs,
int  clientIndex = -1 
)
inlinevirtual

Implements VRage.Network.IMySyncedValue.

Definition at line 129 of file MySyncedBase.cs.

void VRage.Network.MySyncedBase< T >.Set ( value)
inline

Definition at line 77 of file MySyncedBase.cs.

void VRage.Network.MySyncedBase< T >.SetParent ( MySyncedClass  parent)
inline

Implements VRage.Network.IMySyncedValue.

Definition at line 34 of file MySyncedBase.cs.

override string VRage.Network.MySyncedBase< T >.ToString ( )
inline

Definition at line 90 of file MySyncedBase.cs.

abstract void VRage.Network.MySyncedBase< T >.Write ( ref T  value,
BitStream  s 
)
pure virtual

Member Data Documentation

Definition at line 18 of file MySyncedBase.cs.

T VRage.Network.MySyncedBase< T >.m_value
protected

Definition at line 30 of file MySyncedBase.cs.


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