EventBasedLiteNetListenerOnPeerDisconnected Delegate |
Delegate for the event that occurs when a peer disconnects or the connection is lost.
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic delegate void OnPeerDisconnected(
LiteNetPeer peer,
DisconnectInfo disconnectInfo
)
Parameters
- peer LiteNetPeer
- The disconnected peer.
- disconnectInfo DisconnectInfo
- Information regarding the reason and data associated with the disconnection.
See Also