13 lines
417 B
C#
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);
|
|
}
|
|
}
|