continuity/Wonderking/Packets/IPacket.cs

11 lines
219 B
C#
Raw Normal View History

2023-08-13 12:12:04 +00:00
using JetBrains.Annotations;
2023-11-06 09:11:36 +00:00
namespace Wonderking.Packets;
2023-08-13 12:12:04 +00:00
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
2023-08-09 18:14:14 +00:00
public interface IPacket
{
2023-08-11 09:31:30 +00:00
public void Deserialize(byte[] data);
public byte[] Serialize();
2023-08-11 09:31:30 +00:00
}