~ruther/NosTale-Anonymizer

ref: ea7f402eeeab1806c24312e297da64c8276aeb77 NosTale-Anonymizer/src/Anonymizer/Movers/Basic/StPacketMover.cs -rw-r--r-- 550 bytes
ea7f402e — František Boháček chore: update packets version 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  StPacketMover.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 NosSmooth.Packets.Server.Entities;

namespace Anonymizer.Movers.Basic;

/// <inheritdoc />
public class StPacketMover : AbstractMover<StPacket>
{
    /// <inheritdoc />
    public override StPacket Move(IAnonymizer anonymizer, StPacket packet)
        => packet with
        {
            EntityId = anonymizer.AnonymizeId(packet.EntityId)
        };
}
Do not follow this link