Table of Contents

Class LiteNetLibNetPeer

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

Constructors

LiteNetLibNetPeer(NetPeer, bool)

public LiteNetLibNetPeer(NetPeer netPeer, bool assignToTag)

Parameters

netPeer NetPeer
assignToTag bool

Fields

NetPeer

public readonly NetPeer NetPeer

Field Value

NetPeer

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()