Show / Hide Table of Contents

Namespace LiteNetLib

Classes

ConnectionRequest

EventBasedLiteNetListener

Simple event based listener for simple setups and benchmarks

EventBasedNatPunchListener

EventBasedNetListener

Simple event based listener for simple setups and benchmarks

InvalidPacketException

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

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

NetUtils

Some specific network utilities

TooBigPacketException

Structs

DisconnectInfo

Additional information about disconnection

LiteNetManager.NetPeerEnumerator

PooledPacket

Interfaces

ILiteNetEventListener

Interface for implementing own ILiteNetEventListener. This is a bit faster than use EventBasedListener

INatPunchListener

INetEventListener

Interface for implementing own INetEventListener. This is a bit faster than use EventBasedListener

INetLogger

Interface to implement for your own logger

Enums

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

NetEvent.EType

NetLogLevel

UnconnectedMessageType

Type of message that you receive in OnNetworkReceiveUnconnected event

In this article
Back to top Generated by DocFX