LiteNetLib Namespace
From LiteNetLib
LiteNetLib Namespace |
LiteNetLib |
Main module
Classes
| Class | Description | |
|---|---|---|
| EventBasedNatPunchListener | ||
| EventBasedNetListener | ||
| 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
| |
| NetEndPoint |
Network End Point. Contains ip address and port
| |
| NetManager |
Main class for all network operations. Can be used as client and/or server.
| |
| NetPeer |
Network peer. Main purpose is sending messages to specific peer.
| |
| NetUtils |
Some specific network utilities
|
Structures
| Structure | Description | |
|---|---|---|
| DisconnectInfo |
Additional information about disconnection
|
Interfaces
| Interface | Description | |
|---|---|---|
| INatPunchListener | ||
| INetEventListener | ||
| INetLogger |
Interface to implement for your own logger
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| ConnectionState |
Peer connection state
| |
| DisconnectReason |
Disconnect reason that you receive in OnPeerDisconnected event
| |
| LocalAddrType |
Address type that you want to receive from NetUtils.GetLocalIp method
| |
| SendOptions |
Sending method type
| |
| UnconnectedMessageType |
Type of message that you receive in OnNetworkReceiveUnconnected event
|