Timothy Schenk
1455bdd75a
All checks were successful
Test if Server can be built / build-server (push) Successful in 22s
12 lines
296 B
C#
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);
|
|
}
|