Space Engineers
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Properties | List of all members
VRage.Network.MyReplicationLayerBase Class Referenceabstract
Inheritance diagram for VRage.Network.MyReplicationLayerBase:
VRage.Network.MyReplicationLayer VRage.Network.MyReplicationSingle VRage.Network.MyReplicationClient VRage.Network.MyReplicationServer

Public Member Functions

Type GetType (TypeId id)
 
TypeId GetTypeId (Type id)
 
void RaiseEvent< T1, T2 > (T1 arg1, T2 arg2, Func< T1, Action > action, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RaiseEvent< T1, T2, T3 > (T1 arg1, T3 arg3, Func< T1, Action< T2 >> action, T2 arg2, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RaiseEvent< T1, T2, T3, T4 > (T1 arg1, T4 arg4, Func< T1, Action< T2, T3 >> action, T2 arg2, T3 arg3, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RaiseEvent< T1, T2, T3, T4, T5 > (T1 arg1, T5 arg5, Func< T1, Action< T2, T3, T4 >> action, T2 arg2, T3 arg3, T4 arg4, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RaiseEvent< T1, T2, T3, T4, T5, T6 > (T1 arg1, T6 arg6, Func< T1, Action< T2, T3, T4, T5 >> action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RaiseEvent< T1, T2, T3, T4, T5, T6, T7 > (T1 arg1, T7 arg7, Func< T1, Action< T2, T3, T4, T5, T6 >> action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RaiseEvent< T1, T2, T3, T4, T5, T6, T7, T8 > (T1 arg1, T8 arg8, Func< T1, Action< T2, T3, T4, T5, T6, T7 >> action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, EndpointId endpointId=default(EndpointId), float unreliablePriority=1)
 
void RegisterFromAssembly (IEnumerable< Assembly > assemblies)
 
void RegisterFromAssembly (Assembly assembly)
 

Protected Member Functions

abstract void DispatchEvent< T1, T2, T3, T4, T5, T6, T7, T8 > (CallSite callSite, EndpointId recipient, float unreliablePriority, ref T1 arg1, ref T2 arg2, ref T3 arg3, ref T4 arg4, ref T5 arg5, ref T6 arg6, ref T7 arg7, ref T8 arg8)
 

Static Protected Member Functions

static bool ShouldServerInvokeLocally (CallSite site, EndpointId?localClientEndpoint, EndpointId recipient)
 

Protected Attributes

readonly MyTypeTable m_typeTable = new MyTypeTable()
 

Properties

DateTime LastMessageFromServer [get, protected set]
 

Detailed Description

Definition at line 14 of file MyReplicationLayerBase.cs.

Member Function Documentation

abstract void VRage.Network.MyReplicationLayerBase.DispatchEvent< T1, T2, T3, T4, T5, T6, T7, T8 > ( CallSite  callSite,
EndpointId  recipient,
float  unreliablePriority,
ref T1  arg1,
ref T2  arg2,
ref T3  arg3,
ref T4  arg4,
ref T5  arg5,
ref T6  arg6,
ref T7  arg7,
ref T8  arg8 
)
protectedpure virtual

Implemented in VRage.Network.MyReplicationLayer, and VRage.Network.MyReplicationSingle.

Type Constraints
T1 :IMyEventOwner 
T8 :IMyEventOwner 
Type VRage.Network.MyReplicationLayerBase.GetType ( TypeId  id)
inline

Definition at line 23 of file MyReplicationLayerBase.cs.

TypeId VRage.Network.MyReplicationLayerBase.GetTypeId ( Type  id)
inline

Definition at line 28 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2 > ( T1  arg1,
T2  arg2,
Func< T1, Action >  action,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T2 :IMyEventOwner 

Definition at line 78 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2, T3 > ( T1  arg1,
T3  arg3,
Func< T1, Action< T2 >>  action,
T2  arg2,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T3 :IMyEventOwner 

Definition at line 85 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2, T3, T4 > ( T1  arg1,
T4  arg4,
Func< T1, Action< T2, T3 >>  action,
T2  arg2,
T3  arg3,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T4 :IMyEventOwner 

Definition at line 92 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2, T3, T4, T5 > ( T1  arg1,
T5  arg5,
Func< T1, Action< T2, T3, T4 >>  action,
T2  arg2,
T3  arg3,
T4  arg4,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T5 :IMyEventOwner 

Definition at line 99 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2, T3, T4, T5, T6 > ( T1  arg1,
T6  arg6,
Func< T1, Action< T2, T3, T4, T5 >>  action,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T6 :IMyEventOwner 

Definition at line 106 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2, T3, T4, T5, T6, T7 > ( T1  arg1,
T7  arg7,
Func< T1, Action< T2, T3, T4, T5, T6 >>  action,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
T6  arg6,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T7 :IMyEventOwner 

Definition at line 113 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RaiseEvent< T1, T2, T3, T4, T5, T6, T7, T8 > ( T1  arg1,
T8  arg8,
Func< T1, Action< T2, T3, T4, T5, T6, T7 >>  action,
T2  arg2,
T3  arg3,
T4  arg4,
T5  arg5,
T6  arg6,
T7  arg7,
EndpointId  endpointId = default(EndpointId),
float  unreliablePriority = 1 
)
inline
Type Constraints
T1 :IMyEventOwner 
T8 :IMyEventOwner 

Definition at line 120 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RegisterFromAssembly ( IEnumerable< Assembly >  assemblies)
inline

Definition at line 142 of file MyReplicationLayerBase.cs.

void VRage.Network.MyReplicationLayerBase.RegisterFromAssembly ( Assembly  assembly)
inline

Definition at line 150 of file MyReplicationLayerBase.cs.

static bool VRage.Network.MyReplicationLayerBase.ShouldServerInvokeLocally ( CallSite  site,
EndpointId localClientEndpoint,
EndpointId  recipient 
)
inlinestaticprotected

Definition at line 35 of file MyReplicationLayerBase.cs.

Member Data Documentation

readonly MyTypeTable VRage.Network.MyReplicationLayerBase.m_typeTable = new MyTypeTable()
protected

Definition at line 21 of file MyReplicationLayerBase.cs.

Property Documentation

DateTime VRage.Network.MyReplicationLayerBase.LastMessageFromServer
getprotected set

Definition at line 33 of file MyReplicationLayerBase.cs.


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