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 NetCoreServer;
|
||||||
using Packets;
|
using Packets;
|
||||||
|
|
||||||
|
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
||||||
public interface IPacketHandler<in T> where T : IPacket
|
public interface IPacketHandler<in T> where T : IPacket
|
||||||
{
|
{
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
namespace Server.Packets;
|
namespace Server.Packets;
|
||||||
|
|
||||||
|
using JetBrains.Annotations;
|
||||||
|
|
||||||
|
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
||||||
public interface IPacket
|
public interface IPacket
|
||||||
{
|
{
|
||||||
public void Deserialize(byte[] data);
|
public void Deserialize(byte[] data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue