10 lines
219 B
C#
10 lines
219 B
C#
using JetBrains.Annotations;
|
|
|
|
namespace Wonderking.Packets;
|
|
|
|
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
|
|
public interface IPacket
|
|
{
|
|
public void Deserialize(byte[] data);
|
|
public byte[] Serialize();
|
|
}
|