continuity/Server/PacketHandlers/IPacketHandler.cs

12 lines
243 B
C#
Raw Normal View History

namespace Server.PacketHandlers;
2023-08-10 08:47:35 +00:00
using JetBrains.Annotations;
using NetCoreServer;
using Packets;
2023-08-09 14:23:41 +00:00
public interface IPacketHandler<in T> where T : IPacket
2023-08-09 14:23:41 +00:00
{
[UsedImplicitly]
public Task HandleAsync(T packet, TcpSession session);
2023-08-11 09:31:30 +00:00
}