~ruther/NosSmooth

24f45c487e9fd19ebf313b8d4cebaf570c102fff — František Boháček 2 years ago dd86f61
fix(packets): make upgrade rare sub packet nullable
M Packets/NosSmooth.Packets/Server/Inventory/EquipPacket.cs => Packets/NosSmooth.Packets/Server/Inventory/EquipPacket.cs +2 -2
@@ 20,9 20,9 @@ namespace NosSmooth.Packets.Server.Inventory;
public record EquipPacket
(
    [PacketIndex(0)]
    UpgradeRareSubPacket WeaponUpgradeRareSubPacket,
    UpgradeRareSubPacket? WeaponUpgradeRareSubPacket,
    [PacketIndex(1)]
    UpgradeRareSubPacket ArmorUpgradeRareSubPacket,
    UpgradeRareSubPacket? ArmorUpgradeRareSubPacket,
    [PacketListIndex(2, ListSeparator = ' ', InnerSeparator = '.')]
    IReadOnlyList<EquipSubPacket> EquipSubPacket
) : IPacket;
\ No newline at end of file

M Packets/NosSmooth.Packets/Server/Maps/InPlayerSubPacket.cs => Packets/NosSmooth.Packets/Server/Maps/InPlayerSubPacket.cs +2 -2
@@ 88,9 88,9 @@ public record InPlayerSubPacket
    [PacketIndex(15)]
    short Unknown3,
    [PacketIndex(16)]
    UpgradeRareSubPacket WeaponUpgradeRareSubPacket,
    UpgradeRareSubPacket? WeaponUpgradeRareSubPacket,
    [PacketIndex(17)]
    UpgradeRareSubPacket ArmorUpgradeRareSubPacket,
    UpgradeRareSubPacket? ArmorUpgradeRareSubPacket,
    [PacketIndex(18, InnerSeparator = '.')]
    NullableWrapper<FamilySubPacket> FamilySubPacket,
    [PacketIndex(19)]

Do not follow this link