INetEventListenerOnPeerDisconnected Method |
LiteNetLib |
Peer disconnected
Namespace: LiteNetLib
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
void OnPeerDisconnected( NetPeer peer, DisconnectInfo disconnectInfo )
Parameters
- peer
- Type: LiteNetLibNetPeer
disconnected peer - disconnectInfo
- Type: LiteNetLibDisconnectInfo
additional info about reason, errorCode or data received with disconnect message
See Also