~ruther/NosTale-PacketLogger

ref: 86b762f16a33f04280b48e0c61c4585ce1e4b3ec NosTale-PacketLogger/src/PacketLogger/Models/PacketComparer.cs -rw-r--r-- 513 bytes
86b762f1 — František Boháček feat: add settings and filter profiles 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  PacketComparer.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Collections.Generic;
using PacketLogger.Models.Packets;

namespace PacketLogger.Models;

/// <inheritdoc />
public class PacketComparer : IComparer<PacketInfo>
{
    /// <inheritdoc />
    public int Compare(PacketInfo x, PacketInfo y)
    {
        return x.PacketIndex.CompareTo(y.PacketIndex);
    }
}
Do not follow this link