Lite |
| Class | Description | |
|---|---|---|
| ConnectionRequest | ||
| EventBasedLiteNetListener | Simple event based listener for simple setups and benchmarks | |
| EventBasedNatPunchListener | An implementation of INatPunchListener that maps callbacks to events. | |
| EventBasedNetListener | Simple event based listener for simple setups and benchmarks | |
| InvalidPacketException | ||
| LiteConnectionRequest | ||
| LiteNetManager | Main class for all network operations. Can be used as client and/or server. | |
| LiteNetPeer | Network peer. Main purpose is sending messages to specific peer. | |
| NatPunchModule | Module for UDP NAT Hole punching operations. Can be accessed from NetManager | |
| NetConnectRequestPacket | ||
| NetConstants | Network constants. Can be tuned from sources for your purposes. | |
| NetDebug | Static class for defining your own LiteNetLib logger instead of Console.WriteLine or Debug.Log if compiled with UNITY flag | |
| NetEvent | Internally used event type | |
| NetManager | More feature rich network manager with adjustable channels count | |
| NetPacketReader | ||
| NetPeer | Improved LiteNetPeer with full multi-channel support | |
| NetStatistics | Thread-safe counter for network statistics including sent/received packets, bytes, and packet loss. | |
| NetUtils | Some specific network utilities | |
| TooBigPacketException |
| Structure | Description | |
|---|---|---|
| DisconnectInfo | Additional information about disconnection | |
| LiteNetManagerNetPeerEnumeratorT | ||
| PooledPacket |
| Interface | Description | |
|---|---|---|
| ILiteNetEventListener | Interface for implementing own ILiteNetEventListener. This is a bit faster than use EventBasedListener | |
| INatPunchListener | Interface for handling events related to NAT punchthrough and introduction. | |
| INetEventListener | Interface for implementing own INetEventListener. This is a bit faster than use EventBasedListener | |
| INetLogger | Interface to implement for your own logger |
| Delegate | Description | |
|---|---|---|
| EventBasedLiteNetListenerOnConnectionRequest | Delegate for the event that occurs when a new connection request is received. | |
| EventBasedLiteNetListenerOnDeliveryEvent | Delegate for the event that occurs when a reliable packet is successfully delivered or acknowledged. | |
| EventBasedLiteNetListenerOnNetworkError | Delegate for the event that occurs when a network error is detected in the underlying socket. | |
| EventBasedLiteNetListenerOnNetworkLatencyUpdate | Delegate for the event that occurs when the round-trip time (RTT) to a peer is updated. | |
| EventBasedLiteNetListenerOnNetworkReceive | Delegate for the event that occurs when data is received from a connected peer. | |
| EventBasedLiteNetListenerOnNetworkReceiveUnconnected | Delegate for the event that occurs when a message is received from an unconnected endpoint. | |
| EventBasedLiteNetListenerOnPeerAddressChangedEvent | Delegate for the event that occurs when a peer's remote address changes (roaming). | |
| EventBasedLiteNetListenerOnPeerConnected | Delegate for the event that occurs when a new peer has successfully connected. | |
| EventBasedLiteNetListenerOnPeerDisconnected | Delegate for the event that occurs when a peer disconnects or the connection is lost. | |
| EventBasedNatPunchListenerOnNatIntroductionRequest | Delegate for NAT introduction request events. | |
| EventBasedNatPunchListenerOnNatIntroductionSuccess | Delegate for NAT introduction success events. | |
| EventBasedNetListenerOnConnectionRequest | Delegate for the event that occurs when a new connection request is received. | |
| EventBasedNetListenerOnDeliveryEvent | Delegate for the event that occurs when a reliable packet is successfully delivered or acknowledged. | |
| EventBasedNetListenerOnNetworkError | Delegate for the event that occurs when a network error is detected in the underlying socket. | |
| EventBasedNetListenerOnNetworkLatencyUpdate | Delegate for the event that occurs when the round-trip time (RTT) to a peer is updated. | |
| EventBasedNetListenerOnNetworkReceive | Delegate for the event that occurs when data is received from a connected peer. | |
| EventBasedNetListenerOnNetworkReceiveUnconnected | Delegate for the event that occurs when a message is received from an unconnected endpoint. | |
| EventBasedNetListenerOnNtpResponseEvent | Delegate for the event that occurs when an NTP response is received from a time server. | |
| EventBasedNetListenerOnPeerAddressChangedEvent | Delegate for the event that occurs when a peer's remote address changes (roaming). | |
| EventBasedNetListenerOnPeerConnected | Delegate for the event that occurs when a new peer has successfully connected. | |
| EventBasedNetListenerOnPeerDisconnected | Delegate for the event that occurs when a peer disconnects or the connection is lost. |
| Enumeration | Description | |
|---|---|---|
| ConnectionState | Peer connection state | |
| DeliveryMethod | Sending method type | |
| DisconnectReason | Disconnect reason that you receive in OnPeerDisconnected event | |
| LocalAddrType | Address type that you want to receive from NetUtils.GetLocalIp method | |
| NatAddressType | Specifies the type of network address discovered during NAT punchthrough. | |
| NetEventEType | Specifies the category of the network event. | |
| NetLogLevel | ||
| UnconnectedMessageType | Type of message that you receive in OnNetworkReceiveUnconnected event |