using Wonderking.Packets;
namespace Server.PacketHandlers;
using JetBrains.Annotations;
using NetCoreServer;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public interface IPacketHandler<in T> where T : IPacket
{
[UsedImplicitly]
public Task HandleAsync(T packet, TcpSession session);
}