LiteNetLib
LiteNetLib
Table of contents
-
LiteNetLib
-
ConnectionState Enumeration
-
DisconnectInfo Structure
-
DisconnectInfo Fields
-
AdditionalData Field
-
Reason Field
-
SocketErrorCode Field
-
DisconnectReason Enumeration
-
EventBasedNatPunchListener Class
-
EventBasedNatPunchListener Constructor
-
EventBasedNatPunchListener Events
-
NatIntroductionRequest Event
-
NatIntroductionSuccess Event
-
EventBasedNetListener Class
-
EventBasedNetListener Constructor
-
EventBasedNetListener Events
-
NetworkErrorEvent Event
-
NetworkLatencyUpdateEvent Event
-
NetworkReceiveEvent Event
-
NetworkReceiveUnconnectedEvent Event
-
PeerConnectedEvent Event
-
PeerDisconnectedEvent Event
-
INatPunchListener Interface
-
INatPunchListener Methods
-
OnNatIntroductionRequest Method
-
OnNatIntroductionSuccess Method
-
INetEventListener Interface
-
INetEventListener Methods
-
OnNetworkError Method
-
OnNetworkLatencyUpdate Method
-
OnNetworkReceive Method
-
OnNetworkReceiveUnconnected Method
-
OnPeerConnected Method
-
OnPeerDisconnected Method
-
INetLogger Interface
-
INetLogger Methods
-
WriteNet Method
-
LocalAddrType Enumeration
-
NatPunchModule Class
-
NatPunchModule Methods
-
Init Method
-
NatIntroduce Method
-
PollEvents Method
-
SendNatIntroduceRequest Method
-
NatPunchModule Fields
-
MaxTokenLength Field
-
NetConstants Class
-
NetConstants Fields
-
DefaultWindowSize Field
-
FlowIncreaseThreshold Field
-
FlowUpdateTime Field
-
FragmentHeaderSize Field
-
HalfMaxSequence Field
-
HeaderSize Field
-
MaxSequence Field
-
MinPacketDataSize Field
-
MinPacketSize Field
-
MinSequencedPacketDataSize Field
-
SequencedHeaderSize Field
-
SocketBufferSize Field
-
SocketTTL Field
-
NetDebug Class
-
NetDebug Fields
-
Logger Field
-
NetEndPoint Class
-
NetEndPoint Constructor
-
NetEndPoint Properties
-
Host Property
-
Port Property
-
NetEndPoint Methods
-
Equals Method
-
GetHashCode Method
-
ToString Method
-
NetManager Class
-
NetManager Constructor
-
NetManager Constructor (INetEventListener, String)
-
NetManager Constructor (INetEventListener, Int32, String)
-
NetManager Properties
-
BytesReceived Property
-
BytesSent Property
-
IsRunning Property
-
LocalPort Property
-
PacketsReceived Property
-
PacketsSent Property
-
PeersCount Property
-
UpdateTime Property
-
NetManager Methods
-
AddFlowMode Method
-
Connect Method
-
Connect Method (NetEndPoint)
-
Connect Method (String, Int32)
-
DisconnectPeer Method
-
DisconnectPeer Method (NetPeer)
-
DisconnectPeer Method (NetPeer, NetDataWriter)
-
DisconnectPeer Method (NetPeer, Byte[])
-
DisconnectPeer Method (NetPeer, Byte[], Int32, Int32)
-
Flush Method
-
GetFirstPeer Method
-
GetPeers Method
-
GetPeersNonAlloc Method
-
PollEvents Method
-
SendDiscoveryRequest Method
-
SendDiscoveryRequest Method (Byte[], Int32)
-
SendDiscoveryRequest Method (NetDataWriter, Int32)
-
SendDiscoveryRequest Method (Byte[], Int32, Int32, Int32)
-
SendDiscoveryResponse Method
-
SendDiscoveryResponse Method (Byte[], NetEndPoint)
-
SendDiscoveryResponse Method (NetDataWriter, NetEndPoint)
-
SendDiscoveryResponse Method (Byte[], Int32, Int32, NetEndPoint)
-
SendToAll Method
-
SendToAll Method (Byte[], SendOptions)
-
SendToAll Method (NetDataWriter, SendOptions)
-
SendToAll Method (Byte[], SendOptions, NetPeer)
-
SendToAll Method (NetDataWriter, SendOptions, NetPeer)
-
SendToAll Method (Byte[], Int32, Int32, SendOptions)
-
SendToAll Method (Byte[], Int32, Int32, SendOptions, NetPeer)
-
SendUnconnectedMessage Method
-
SendUnconnectedMessage Method (Byte[], NetEndPoint)
-
SendUnconnectedMessage Method (NetDataWriter, NetEndPoint)
-
SendUnconnectedMessage Method (Byte[], Int32, Int32, NetEndPoint)
-
Start Method
-
Start Method
-
Start Method (Int32)
-
Stop Method
-
NetManager Fields
-
ConnectKey Field
-
DisconnectTimeout Field
-
DiscoveryEnabled Field
-
MaxConnectAttempts Field
-
MergeEnabled Field
-
NatPunchEnabled Field
-
NatPunchModule Field
-
PingInterval Field
-
ReconnectDelay Field
-
ReuseAddress Field
-
SimulateLatency Field
-
SimulatePacketLoss Field
-
SimulationMaxLatency Field
-
SimulationMinLatency Field
-
SimulationPacketLossChance Field
-
UnconnectedMessagesEnabled Field
-
UnsyncedEvents Field
-
NetPeer Class
-
NetPeer Properties
-
ConnectId Property
-
ConnectionState Property
-
CurrentFlowMode Property
-
EndPoint Property
-
Mtu Property
-
NetManager Property
-
PacketsCountInReliableOrderedQueue Property
-
PacketsCountInReliableQueue Property
-
Ping Property
-
TimeSinceLastPacket Property
-
NetPeer Methods
-
Flush Method
-
GetMaxSinglePacketSize Method
-
Send Method
-
Send Method (Byte[], SendOptions)
-
Send Method (NetDataWriter, SendOptions)
-
Send Method (Byte[], Int32, Int32, SendOptions)
-
NetPeer Fields
-
Tag Field
-
NetUtils Class
-
NetUtils Methods
-
GetLocalIp Method
-
GetLocalIpList Method
-
GetLocalIpList Method (LocalAddrType)
-
GetLocalIpList Method (List(String), LocalAddrType)
-
RequestTimeFromNTP Method
-
SendOptions Enumeration
-
UnconnectedMessageType Enumeration
-
LiteNetLib.Utils
-
FastBitConverter Class
-
FastBitConverter Methods
-
GetBytes Method
-
GetBytes Method (Byte[], Int32, Double)
-
GetBytes Method (Byte[], Int32, Int16)
-
GetBytes Method (Byte[], Int32, Int32)
-
GetBytes Method (Byte[], Int32, Int64)
-
GetBytes Method (Byte[], Int32, Single)
-
GetBytes Method (Byte[], Int32, UInt16)
-
GetBytes Method (Byte[], Int32, UInt32)
-
GetBytes Method (Byte[], Int32, UInt64)
-
WriteLittleEndian Method
-
FNVHasher Class
-
FNVHasher Constructor
-
FNVHasher Methods
-
GetHash Method
-
ReadHash Method
-
WriteHash Method
-
INetSerializable Interface
-
INetSerializable Methods
-
Desereialize Method
-
Serialize Method
-
NetDataReader Class
-
NetDataReader Constructor
-
NetDataReader Constructor
-
NetDataReader Constructor (Byte[])
-
NetDataReader Constructor (Byte[], Int32)
-
NetDataReader Constructor (Byte[], Int32, Int32)
-
NetDataReader Properties
-
AvailableBytes Property
-
Data Property
-
EndOfData Property
-
Position Property
-
NetDataReader Methods
-
Clear Method
-
GetBool Method
-
GetBoolArray Method
-
GetByte Method
-
GetBytes Method
-
GetBytesWithLength Method
-
GetDouble Method
-
GetDoubleArray Method
-
GetFloat Method
-
GetFloatArray Method
-
GetInt Method
-
GetIntArray Method
-
GetLong Method
-
GetLongArray Method
-
GetNetEndPoint Method
-
GetRemainingBytes Method
-
GetRemainingBytes Method
-
GetRemainingBytes Method (Byte[])
-
GetSByte Method
-
GetShort Method
-
GetShortArray Method
-
GetString Method
-
GetString Method
-
GetString Method (Int32)
-
GetStringArray Method
-
GetUInt Method
-
GetUIntArray Method
-
GetULong Method
-
GetULongArray Method
-
GetUShort Method
-
GetUShortArray Method
-
PeekBool Method
-
PeekByte Method
-
PeekDouble Method
-
PeekFloat Method
-
PeekInt Method
-
PeekLong Method
-
PeekSByte Method
-
PeekShort Method
-
PeekString Method
-
PeekString Method
-
PeekString Method (Int32)
-
PeekUInt Method
-
PeekULong Method
-
PeekUShort Method
-
SetSource Method
-
SetSource Method (Byte[])
-
SetSource Method (NetDataWriter)
-
SetSource Method (Byte[], Int32)
-
SetSource Method (Byte[], Int32, Int32)
-
NetDataReader Fields
-
_data Field
-
_dataSize Field
-
_position Field
-
NetDataWriter Class
-
NetDataWriter Constructor
-
NetDataWriter Constructor
-
NetDataWriter Constructor (Boolean)
-
NetDataWriter Constructor (Boolean, Int32)
-
NetDataWriter Properties
-
Data Property
-
Length Property
-
NetDataWriter Methods
-
CopyData Method
-
Put Method
-
Put Method (Boolean)
-
Put Method (Byte)
-
Put Method (Byte[])
-
Put Method (Double)
-
Put Method (Int16)
-
Put Method (Int32)
-
Put Method (Int64)
-
Put Method (SByte)
-
Put Method (Single)
-
Put Method (String)
-
Put Method (UInt16)
-
Put Method (UInt32)
-
Put Method (UInt64)
-
Put Method (NetEndPoint)
-
Put Method (String, Int32)
-
Put Method (Byte[], Int32, Int32)
-
PutArray Method
-
PutArray Method (Boolean[])
-
PutArray Method (Double[])
-
PutArray Method (Int16[])
-
PutArray Method (Int32[])
-
PutArray Method (Int64[])
-
PutArray Method (Single[])
-
PutArray Method (String[])
-
PutArray Method (UInt16[])
-
PutArray Method (UInt32[])
-
PutArray Method (UInt64[])
-
PutArray Method (String[], Int32)
-
PutBytesWithLength Method
-
PutBytesWithLength Method (Byte[])
-
PutBytesWithLength Method (Byte[], Int32, Int32)
-
Reset Method
-
Reset Method
-
Reset Method (Int32)
-
ResizeIfNeed Method
-
NetDataWriter Fields
-
_data Field
-
_position Field
-
NetSerializer Class
-
NetSerializer Constructor
-
NetSerializer Constructor
-
NetSerializer Constructor (NetSerializerHasher)
-
NetSerializer Methods
-
ReadAllPackets Method
-
ReadAllPackets Method (NetDataReader)
-
ReadAllPackets(T) Method (NetDataReader, T)
-
ReadKnownPacket Method
-
ReadKnownPacket(T) Method (NetDataReader)
-
ReadKnownPacket(T) Method (NetDataReader, T)
-
ReadPacket Method
-
ReadPacket Method (NetDataReader)
-
ReadPacket Method (NetDataReader, Object)
-
Register(T) Method
-
RegisterCustomType Method
-
RegisterCustomType(T) Method
-
RegisterCustomType(T) Method (Func(T))
-
RegisterCustomType(T) Method (Action(NetDataWriter, T), Func(NetDataReader, T))
-
Serialize Method
-
Serialize(T) Method (T)
-
Serialize(T) Method (NetDataWriter, T)
-
Subscribe Method
-
Subscribe(T) Method (Action(T), Func(T))
-
Subscribe(T, TUserData) Method (Action(T, TUserData), Func(T))
-
SubscribeReusable Method
-
SubscribeReusable(T) Method (Action(T))
-
SubscribeReusable(T, TUserData) Method (Action(T, TUserData))
-
NetSerializerHasher Class
-
NetSerializerHasher Constructor
-
NetSerializerHasher Methods
-
GetHash Method
-
ReadHash Method
-
WriteHash Method