Class NetworkReplicator.ExecuteRPCFunc
Network RPC executing delegate.
Inheritance
System.Object
NetworkReplicator.ExecuteRPCFunc
Namespace: FlaxEngine.Networking
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ExecuteRPCFunc : MulticastDelegate
Remarks
Use Object.FromUnmanagedPtr(objPtr/streamPtr) to get object or NetworkStream from raw native pointers.
Constructors
ExecuteRPCFunc(Object, IntPtr)
Declaration
public ExecuteRPCFunc(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
|