Class LiteNetLibNetPeer
Inheritance
LiteNetLibNetPeer
Assembly: LiteEntitySystem.dll
Syntax
public class LiteNetLibNetPeer : AbstractNetPeer
Constructors
LiteNetLibNetPeer(NetPeer, bool)
Declaration
public LiteNetLibNetPeer(NetPeer netPeer, bool assignToTag)
Parameters
Type |
Name |
Description |
NetPeer |
netPeer |
|
bool |
assignToTag |
|
Fields
NetPeer
Declaration
public readonly NetPeer NetPeer
Field Value
Methods
GetMaxUnreliablePacketSize()
Declaration
public override int GetMaxUnreliablePacketSize()
Returns
Overrides
SendReliableOrdered(ReadOnlySpan<byte>)
Declaration
public override void SendReliableOrdered(ReadOnlySpan<byte> data)
Parameters
Overrides
SendUnreliable(ReadOnlySpan<byte>)
Declaration
public override void SendUnreliable(ReadOnlySpan<byte> data)
Parameters
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
TriggerSend()
Declaration
public override void TriggerSend()
Overrides