continuity/Server/PacketHandlers/IPacketHandler.cs

11 lines
243 B
C#

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