Table of Contents

Delegate OnDisconnectedFromServerDelegate

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public delegate void OnDisconnectedFromServerDelegate(NetworkSandbox sandbox, NetworkConnection server, TransportDisconnectReason transportDisconnectReason)

Parameters

sandbox NetworkSandbox
server NetworkConnection
transportDisconnectReason TransportDisconnectReason

Constructors

OnDisconnectedFromServerDelegate(object, IntPtr)

public OnDisconnectedFromServerDelegate(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(NetworkSandbox, NetworkConnection, TransportDisconnectReason, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(NetworkSandbox sandbox, NetworkConnection server, TransportDisconnectReason transportDisconnectReason, AsyncCallback callback, object @object)

Parameters

sandbox NetworkSandbox
server NetworkConnection
transportDisconnectReason TransportDisconnectReason
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(NetworkSandbox, NetworkConnection, TransportDisconnectReason)

public virtual void Invoke(NetworkSandbox sandbox, NetworkConnection server, TransportDisconnectReason transportDisconnectReason)

Parameters

sandbox NetworkSandbox
server NetworkConnection
transportDisconnectReason TransportDisconnectReason