continuity/Server/Packets/IPacket.cs

11 lines
215 B
C#
Raw Normal View History

2023-10-12 09:15:34 +02:00
namespace Server.Packets;
2023-08-09 20:14:14 +02:00
2023-08-13 14:12:04 +02:00
using JetBrains.Annotations;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
2023-08-09 20:14:14 +02:00
public interface IPacket
{
2023-08-11 11:31:30 +02:00
public void Deserialize(byte[] data);
public byte[] Serialize();
2023-08-11 11:31:30 +02:00
}