Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
LiteNetLib
DisconnectInfo
C# Class LiteNetLib.DisconnectInfo
Additional information about disconnection
Show file
Open project: neon-izm/NobleConnectMirrorSample
Class Usage Examples
Public Properties
Property
Type
Description
AdditionalData
LiteNetLib.NetPacketReader
Reason
DisconnectReason
SocketErrorCode
SocketError
Property Details
AdditionalData
public property
Additional data that can be accessed (only if reason is RemoteConnectionClose)
public
NetPacketReader,LiteNetLib
AdditionalData
return
LiteNetLib.NetPacketReader
Reason
public property
Additional info why peer disconnected
public
DisconnectReason
Reason
return
DisconnectReason
SocketErrorCode
public property
Error code (if reason is SocketSendError or SocketReceiveError)
public
SocketError
SocketErrorCode
return
SocketError