continuity/Wonderking/Packets/IPacket.cs

12 lines
301 B
C#

// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
using JetBrains.Annotations;
namespace Wonderking.Packets;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public interface IPacket
{
public void Deserialize(byte[] data);
public byte[] Serialize();
}