2023-08-11 01:16:51 +02:00
|
|
|
|
using NetCoreServer;
|
|
|
|
|
using Server.Packets;
|
2023-08-10 10:47:35 +02:00
|
|
|
|
|
|
|
|
|
namespace Server.PacketHandlers;
|
2023-08-09 16:23:41 +02:00
|
|
|
|
|
2023-08-11 01:16:51 +02:00
|
|
|
|
public interface IPacketHandler<in T> where T : IPacket
|
2023-08-09 16:23:41 +02:00
|
|
|
|
{
|
2023-08-11 01:16:51 +02:00
|
|
|
|
public Task HandleAsync(T packet, TcpSession session);
|
2023-08-09 16:23:41 +02:00
|
|
|
|
}
|