~ruther/NosSmooth

9e685d1ee6aadfb03076207417fdf4ad45cb40a9 — Rutherther 2 years ago b7f56a6
fix(packets): Add new unknown field to ski packet, make rank of SkiSubPacket optional
M Packets/NosSmooth.Packets/Server/Skills/SkiPacket.cs => Packets/NosSmooth.Packets/Server/Skills/SkiPacket.cs +4 -2
@@ 19,9 19,11 @@ namespace NosSmooth.Packets.Server.Skills;
public record SkiPacket
(
    [PacketIndex(0)]
    int PrimarySkillVNum,
    int? Unknown,
    [PacketIndex(1)]
    int PrimarySkillVNum,
    [PacketIndex(2)]
    int SecondarySkillVNum,
    [PacketListIndex(2, InnerSeparator = '|', ListSeparator = ' ')]
    [PacketListIndex(3, InnerSeparator = '|', ListSeparator = ' ')]
    IReadOnlyList<SkiSubPacket> SkillSubPackets
) : IPacket;
\ No newline at end of file

M Packets/NosSmooth.Packets/Server/Skills/SkiSubPacket.cs => Packets/NosSmooth.Packets/Server/Skills/SkiSubPacket.cs +2 -2
@@ 19,6 19,6 @@ public record SkiSubPacket
(
    [PacketIndex(0)]
    int SkillVNum,
    [PacketIndex(1)]
    byte Rank
    [PacketIndex(1, IsOptional = true)]
    byte? Rank
) : IPacket;
\ No newline at end of file

Do not follow this link