Delegate OnClientDisconnectedDelegate
- Namespace
- Netick.Unity
- Assembly
- Netick.Unity.dll
public delegate void OnClientDisconnectedDelegate(NetworkSandbox sandbox, NetworkConnection client, TransportDisconnectReason transportDisconnectReason)
Parameters
sandbox
NetworkSandbox
client
NetworkConnection
transportDisconnectReason
TransportDisconnectReason
Constructors
OnClientDisconnectedDelegate(object, IntPtr)
public OnClientDisconnectedDelegate(object @object, IntPtr method)
Parameters
object
object
method
IntPtr
Methods
BeginInvoke(NetworkSandbox, NetworkConnection, TransportDisconnectReason, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(NetworkSandbox sandbox, NetworkConnection client, TransportDisconnectReason transportDisconnectReason, AsyncCallback callback, object @object)
Parameters
sandbox
NetworkSandbox
client
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 client, TransportDisconnectReason transportDisconnectReason)
Parameters
sandbox
NetworkSandbox
client
NetworkConnection
transportDisconnectReason
TransportDisconnectReason