16 lines
465 B
C#
16 lines
465 B
C#
// Licensed to Timothy Schenk under the GNU AGPL Version 3 License.
|
|
|
|
using RaiNote.PacketMediator;
|
|
|
|
namespace Wonderking.Packets.Outgoing;
|
|
|
|
[WonderkingPacketId(OperationCode.CharacterDeletionResponse)]
|
|
public class CharacterDeleteResponsePacket : IOutgoingPacket {
|
|
public required byte HasToBeZero { get; set; }
|
|
|
|
public byte[] Serialize() {
|
|
Span<byte> data = stackalloc byte[1];
|
|
data[0] = HasToBeZero;
|
|
return data.ToArray();
|
|
}
|
|
}
|