Click or drag to resize

EventBasedLiteNetListenerOnPeerDisconnected Delegate

Delegate for the event that occurs when a peer disconnects or the connection is lost.

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public 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