Class NetworkReplicator.SerializeFunc
Network object replication serialization/deserialization delegate.
Inheritance
System.Object
NetworkReplicator.SerializeFunc
Namespace: FlaxEngine.Networking
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class SerializeFunc : MulticastDelegate
Remarks
Use Object.FromUnmanagedPtr(instancePtr/streamPtr) to get object or NetworkStream from raw native pointers.
Constructors
SerializeFunc(Object, IntPtr)
Declaration
public SerializeFunc(object object, IntPtr method)
Parameters
System.Object
object
|
System.IntPtr
method
|
Methods
BeginInvoke(IntPtr, IntPtr, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(IntPtr instancePtr, IntPtr streamPtr, AsyncCallback callback, object object)
Parameters
System.IntPtr
instancePtr
|
System.IntPtr
streamPtr
|
System.AsyncCallback
callback
|
System.Object
object
|
Returns
System.IAsyncResult
|
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
System.IAsyncResult
result
|
Invoke(IntPtr, IntPtr)
Declaration
public virtual void Invoke(IntPtr instancePtr, IntPtr streamPtr)
Parameters
System.IntPtr
instancePtr
|
System.IntPtr
streamPtr
|