continuity/Server/PacketHandlers/IPacketHandler.cs

9 lines
200 B
C#

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