Table of Contents

Delegate OnDataReceivedDelegate

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public delegate void OnDataReceivedDelegate(NetworkSandbox sandbox, NetworkConnection sender, byte id, byte* data, int length, TransportDeliveryMethod transportDeliveryMethod)

Parameters

sandbox NetworkSandbox
sender NetworkConnection
id byte
data byte*
length int
transportDeliveryMethod TransportDeliveryMethod

Constructors

OnDataReceivedDelegate(object, IntPtr)

public OnDataReceivedDelegate(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(NetworkSandbox, NetworkConnection, byte, byte*, int, TransportDeliveryMethod, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(NetworkSandbox sandbox, NetworkConnection sender, byte id, byte* data, int length, TransportDeliveryMethod transportDeliveryMethod, AsyncCallback callback, object @object)

Parameters

sandbox NetworkSandbox
sender NetworkConnection
id byte
data byte*
length int
transportDeliveryMethod TransportDeliveryMethod
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(NetworkSandbox, NetworkConnection, byte, byte*, int, TransportDeliveryMethod)

public virtual void Invoke(NetworkSandbox sandbox, NetworkConnection sender, byte id, byte* data, int length, TransportDeliveryMethod transportDeliveryMethod)

Parameters

sandbox NetworkSandbox
sender NetworkConnection
id byte
data byte*
length int
transportDeliveryMethod TransportDeliveryMethod