Table of Contents

Class LiteNetLibNetPeer

Namespace
LiteEntitySystem.Transport
Assembly
LiteEntitySystem.dll
public class LiteNetLibNetPeer : AbstractNetPeer
Inheritance
object
LiteNetLibNetPeer

Constructors

LiteNetLibNetPeer(LiteNetPeer, bool)

public LiteNetLibNetPeer(LiteNetPeer netPeer, bool assignToTag)

Parameters

netPeer LiteNetPeer
assignToTag bool

Fields

NetPeer

public readonly LiteNetPeer NetPeer

Field Value

LiteNetPeer

Methods

GetMaxUnreliablePacketSize()

public override int GetMaxUnreliablePacketSize()

Returns

int

SendReliableOrdered(ReadOnlySpan<byte>)

public override void SendReliableOrdered(ReadOnlySpan<byte> data)

Parameters

data ReadOnlySpan<byte>

SendUnreliable(ReadOnlySpan<byte>)

public override void SendUnreliable(ReadOnlySpan<byte> data)

Parameters

data ReadOnlySpan<byte>

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

TriggerSend()

public override void TriggerSend()