Show / Hide Table of Contents

# Class AbstractNetPeer

##### Inheritance

object
AbstractNetPeer
LiteNetLibNetPeer

###### Namespace: LiteEntitySystem.Transport

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public abstract class AbstractNetPeer

### Methods

#### GetMaxUnreliablePacketSize()

##### Declaration

    public abstract int GetMaxUnreliablePacketSize()

##### Returns

Type | Description
--- | ---
int |

#### SendReliableOrdered(ReadOnlySpan<byte>)

##### Declaration

    public abstract void SendReliableOrdered(ReadOnlySpan<byte> data)

##### Parameters

Type | Name | Description
--- | --- | ---
ReadOnlySpan<byte> | data |

#### SendUnreliable(ReadOnlySpan<byte>)

##### Declaration

    public abstract void SendUnreliable(ReadOnlySpan<byte> data)

##### Parameters

Type | Name | Description
--- | --- | ---
ReadOnlySpan<byte> | data |

#### TriggerSend()

##### Declaration

    public abstract void TriggerSend()