UdpPeer.OnDisconnected Method
Namespace: Riptide.Transports.Udp
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. |