Table of Contents

Delegate OnPlayerDisconnectedDelegate

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public delegate void OnPlayerDisconnectedDelegate(NetworkSandbox sandbox, NetworkPlayer player, TransportDisconnectReason transportDisconnectReason)

Parameters

sandbox NetworkSandbox
player NetworkPlayer
transportDisconnectReason TransportDisconnectReason

Constructors

OnPlayerDisconnectedDelegate(object, IntPtr)

public OnPlayerDisconnectedDelegate(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

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

public virtual IAsyncResult BeginInvoke(NetworkSandbox sandbox, NetworkPlayer player, TransportDisconnectReason transportDisconnectReason, AsyncCallback callback, object @object)

Parameters

sandbox NetworkSandbox
player NetworkPlayer
transportDisconnectReason TransportDisconnectReason
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(NetworkSandbox, NetworkPlayer, TransportDisconnectReason)

public virtual void Invoke(NetworkSandbox sandbox, NetworkPlayer player, TransportDisconnectReason transportDisconnectReason)

Parameters

sandbox NetworkSandbox
player NetworkPlayer
transportDisconnectReason TransportDisconnectReason