feat: add usedimplicitly attribute
This commit is contained in:
parent
0b3f543c69
commit
27af53eb56
3 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@ using JetBrains.Annotations;
|
|||
using NetCoreServer;
|
||||
using Packets;
|
||||
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
||||
public interface IPacketHandler<in T> where T : IPacket
|
||||
{
|
||||
[UsedImplicitly]
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
namespace Server.Packets;
|
||||
|
||||
using JetBrains.Annotations;
|
||||
|
||||
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
||||
public interface IPacket
|
||||
{
|
||||
public void Deserialize(byte[] data);
|
||||
|
|
Loading…
Add table
Reference in a new issue