Struct SyncableRPCRegistrator
- Namespace
- LiteEntitySystem
- Assembly
- LiteEntitySystem.dll
public readonly ref struct SyncableRPCRegistrator
Methods
CreateClientAction<TSyncField>(Action<TSyncField>, ref RemoteCall)
public void CreateClientAction<TSyncField>(Action<TSyncField> methodToCall, ref RemoteCall remoteCallHandle) where TSyncField : SyncableField
Parameters
methodToCall
Action<TSyncField>
remoteCallHandle
RemoteCall
Type Parameters
TSyncField
CreateClientAction<TSyncField>(TSyncField, Action, ref RemoteCall)
public void CreateClientAction<TSyncField>(TSyncField self, Action methodToCall, ref RemoteCall remoteCallHandle) where TSyncField : SyncableField
Parameters
self
TSyncField
methodToCall
Action
remoteCallHandle
RemoteCall
Type Parameters
TSyncField
CreateClientAction<TSyncField, T>(SpanAction<TSyncField, T>, ref RemoteCallSpan<T>)
public void CreateClientAction<TSyncField, T>(SpanAction<TSyncField, T> methodToCall, ref RemoteCallSpan<T> remoteCallHandle) where TSyncField : SyncableField where T : unmanaged
Parameters
methodToCall
SpanAction<TSyncField, T>
remoteCallHandle
RemoteCallSpan<T>
Type Parameters
TSyncField
T
CreateClientAction<TSyncField, T>(Action<TSyncField, T>, ref RemoteCallSerializable<T>)
public void CreateClientAction<TSyncField, T>(Action<TSyncField, T> methodToCall, ref RemoteCallSerializable<T> remoteCallHandle) where TSyncField : SyncableField where T : struct, ISpanSerializable
Parameters
methodToCall
Action<TSyncField, T>
remoteCallHandle
RemoteCallSerializable<T>
Type Parameters
TSyncField
T
CreateClientAction<TSyncField, T>(Action<TSyncField, T>, ref RemoteCall<T>)
public void CreateClientAction<TSyncField, T>(Action<TSyncField, T> methodToCall, ref RemoteCall<T> remoteCallHandle) where TSyncField : SyncableField where T : unmanaged
Parameters
methodToCall
Action<TSyncField, T>
remoteCallHandle
RemoteCall<T>
Type Parameters
TSyncField
T
CreateClientAction<TSyncField, T>(TSyncField, SpanAction<T>, ref RemoteCallSpan<T>)
public void CreateClientAction<TSyncField, T>(TSyncField self, SpanAction<T> methodToCall, ref RemoteCallSpan<T> remoteCallHandle) where TSyncField : SyncableField where T : unmanaged
Parameters
self
TSyncField
methodToCall
SpanAction<T>
remoteCallHandle
RemoteCallSpan<T>
Type Parameters
TSyncField
T
CreateClientAction<TSyncField, T>(TSyncField, Action<T>, ref RemoteCallSerializable<T>)
public void CreateClientAction<TSyncField, T>(TSyncField self, Action<T> methodToCall, ref RemoteCallSerializable<T> remoteCallHandle) where TSyncField : SyncableField where T : struct, ISpanSerializable
Parameters
self
TSyncField
methodToCall
Action<T>
remoteCallHandle
RemoteCallSerializable<T>
Type Parameters
TSyncField
T
CreateClientAction<TSyncField, T>(TSyncField, Action<T>, ref RemoteCall<T>)
public void CreateClientAction<TSyncField, T>(TSyncField self, Action<T> methodToCall, ref RemoteCall<T> remoteCallHandle) where TSyncField : SyncableField where T : unmanaged
Parameters
self
TSyncField
methodToCall
Action<T>
remoteCallHandle
RemoteCall<T>
Type Parameters
TSyncField
T