mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-15 08:05:06 +00:00
17 lines
No EOL
431 B
C#
17 lines
No EOL
431 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 UnhandledPacket() { }
|
|
|
|
public void Serialize(Span<byte> data) {
|
|
Data.CopyTo(data);
|
|
}
|
|
|
|
public void Deserialize(Span<byte> data) {
|
|
data.CopyTo(Data);
|
|
}
|
|
} |