Table of Contents

Interface IDataPacketManager

Namespace
BSGameLib.Networking
Assembly
BSGameLib.Networking.dll

Serializes packets and runs their handlers.

public interface IDataPacketManager

Methods

Handle<TPacket>(INetConnection, TPacket)

Runs the handlers for packet, which client sent.

void Handle<TPacket>(INetConnection client, TPacket packet) where TPacket : class, IDataPacket

Parameters

client INetConnection
packet TPacket

Type Parameters

TPacket