~ruther/NosSmooth

8610668d17586fc8d502d8c86842af9504729c7a — František Boháček 3 years ago e0780df
feat(packets): make position ushort
M Packets/NosSmooth.Packets/Client/Movement/WalkPacket.cs => Packets/NosSmooth.Packets/Client/Movement/WalkPacket.cs +2 -2
@@ 27,9 27,9 @@ namespace NosSmooth.Packets.Client.Movement;
public record WalkPacket
(
    [PacketIndex(0)]
    short PositionX,
    ushort PositionX,
    [PacketIndex(1)]
    short PositionY,
    ushort PositionY,
    [PacketIndex(2)]
    byte CheckSum,
    [PacketIndex(3)]

M Packets/NosSmooth.Packets/Server/Maps/AtPacket.cs => Packets/NosSmooth.Packets/Server/Maps/AtPacket.cs +2 -2
@@ 24,7 24,7 @@ public record AtPacket
    [PacketIndex(1)]
    int MapId,
    [PacketIndex(2)]
    short X,
    ushort X,
    [PacketIndex(3)]
    short Y
    ushort Y
) : IPacket;
\ No newline at end of file

Do not follow this link