Show / Hide Table of Contents

Class NetEvent

Internally used event type

Inheritance
object
NetEvent
Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public sealed class NetEvent

Constructors

NetEvent(LiteNetManager)

Declaration
public NetEvent(LiteNetManager manager)
Parameters
Type Name Description
LiteNetManager manager

Fields

ChannelNumber

Declaration
public byte ChannelNumber
Field Value
Type Description
byte

ConnectionRequest

Declaration
public ConnectionRequest ConnectionRequest
Field Value
Type Description
ConnectionRequest

DataReader

Declaration
public readonly NetPacketReader DataReader
Field Value
Type Description
NetPacketReader

DeliveryMethod

Declaration
public DeliveryMethod DeliveryMethod
Field Value
Type Description
DeliveryMethod

DisconnectReason

Declaration
public DisconnectReason DisconnectReason
Field Value
Type Description
DisconnectReason

ErrorCode

Declaration
public SocketError ErrorCode
Field Value
Type Description
SocketError

Latency

Declaration
public int Latency
Field Value
Type Description
int

Next

Declaration
public NetEvent Next
Field Value
Type Description
NetEvent

Peer

Declaration
public LiteNetPeer Peer
Field Value
Type Description
LiteNetPeer

RemoteEndPoint

Declaration
public IPEndPoint RemoteEndPoint
Field Value
Type Description
IPEndPoint

Type

Declaration
public NetEvent.EType Type
Field Value
Type Description
NetEvent.EType

UserData

Declaration
public object UserData
Field Value
Type Description
object
In this article
Back to top Generated by DocFX