continuity/Server/PacketHandlers/IPacketHandler.cs
Timothy Schenk 1455bdd75a
All checks were successful
Test if Server can be built / build-server (push) Successful in 22s
chore: apply dotnet format
2023-10-12 09:15:34 +02:00

12 lines
296 B
C#

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