refactor: required fields

This commit is contained in:
Timothy Schenk 2024-03-02 13:02:36 +01:00
parent b78c7adf39
commit 18345e775e
Signed by: rainote
SSH key fingerprint: SHA256:pnkNSDwpAnaip00xaZlVFHKKsS7T8UtOomMzvs0yITE

View file

@ -8,9 +8,9 @@ namespace Wonderking.Packets.Incoming;
[WonderkingPacketId(OperationCode.CharacterDeletion)]
public class CharacterDeletePacket : IIncomingPacket
{
public byte Slot { get; set; }
public string Name { get; set; }
public uint Unknown { get; set; }
public required byte Slot { get; set; }
public required string Name { get; set; }
public required uint Unknown { get; set; }
public void Deserialize(byte[] data)
{