mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-16 00:25:07 +00:00
15 lines
No EOL
395 B
C#
15 lines
No EOL
395 B
C#
namespace Shared.Packet.Packets;
|
|
|
|
[Packet(PacketType.Unknown)] // empty like boss
|
|
// [Packet(PacketType.Command)]
|
|
public struct UnhandledPacket : IPacket {
|
|
public byte[] Data = new byte[Constants.PacketDataSize];
|
|
|
|
public void Serialize(Span<byte> data) {
|
|
Data.CopyTo(data);
|
|
}
|
|
|
|
public void Deserialize(Span<byte> data) {
|
|
data.CopyTo(Data);
|
|
}
|
|
} |