Files
Nitrox/NitroxServer/Communication/Packets/Processors/GoalCompletedProcessor.cs
2025-07-06 00:23:46 +02:00

13 lines
417 B
C#

using NitroxModel.Packets;
using NitroxServer.Communication.Packets.Processors.Abstract;
namespace NitroxServer.Communication.Packets.Processors;
public class GoalCompletedProcessor : AuthenticatedPacketProcessor<GoalCompleted>
{
public override void Process(GoalCompleted packet, Player player)
{
player.PersonalCompletedGoalsWithTimestamp.Add(packet.CompletedGoal, packet.CompletionTime);
}
}