TcpPeer.OnDisconnected Method
Namespace: Riptide.Transports.Tcp
Assembly: RiptideNetworking.dll
OnDisconnected(Connection, DisconnectReason)
Invokes the Disconnected event.
protected virtual void OnDisconnected(Connection connection, DisconnectReason reason)
Parameters
Connection | connection |
The closed connection. |
DisconnectReason | reason |
The reason for the disconnection. |