// // RdlstPacketMover.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.Raids; namespace Anonymizer.Movers.Basic; /// public class RdlstPacketMover : AbstractMover { /// public override RdlstPacket Move(IAnonymizer anonymizer, RdlstPacket packet) => packet with { Players = packet.Players.Select ( p => p with { Id = anonymizer.AnonymizeId(p.Id), Name = anonymizer.AnonymizeName(p.Name) } ) .ToArray() }; }