2023-08-10 10:47:35 +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);
|
2023-08-10 22:07:58 +02:00
|
|
|
|
public byte[] Serialize();
|
2023-08-11 11:31:30 +02:00
|
|
|
|
}
|