continuity/Wonderking/Packets/IPacket.cs

11 lines
219 B
C#
Raw Normal View History

2023-08-13 14:12:04 +02:00
using JetBrains.Annotations;
2023-11-06 10:11:36 +01:00
namespace Wonderking.Packets;
2023-08-13 14:12:04 +02:00
[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
}