19 lines
471 B
C#
19 lines
471 B
C#
namespace Wonderking.Packets.Outgoing;
|
|
|
|
[PacketId(OperationCode.CharacterDeletionResponse)]
|
|
public class CharacterDeleteResponsePacket : IPacket
|
|
{
|
|
public required CharacterDeletionResponse Response { get; set; }
|
|
|
|
public void Deserialize(byte[] data)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public byte[] Serialize()
|
|
{
|
|
Span<byte> data = stackalloc byte[1];
|
|
data[0] = (byte)Response;
|
|
return data.ToArray();
|
|
}
|
|
}
|