~ruther/Nostale-Anonymizer

ref: f56393bbc61224da75465542183e478910640a70 Nostale-Anonymizer/src/Anonymizer/Movers/Basic/TitinfoPacketMover.cs -rw-r--r-- 582 bytes
f56393bb — František Boháček feat: add new movers 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  TitinfoPacketMover.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.Character;

namespace Anonymizer.Movers.Basic;

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