first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using NitroxClient.Communication.Abstract;
|
||||
using NitroxClient.Communication.Packets.Processors.Abstract;
|
||||
using NitroxModel.Packets;
|
||||
|
||||
namespace NitroxClient.Communication.Packets.Processors
|
||||
{
|
||||
public class PDALogEntryAddProcessor : ClientPacketProcessor<PDALogEntryAdd>
|
||||
{
|
||||
private readonly IPacketSender packetSender;
|
||||
|
||||
public PDALogEntryAddProcessor(IPacketSender packetSender)
|
||||
{
|
||||
this.packetSender = packetSender;
|
||||
}
|
||||
|
||||
public override void Process(PDALogEntryAdd packet)
|
||||
{
|
||||
using (PacketSuppressor<PDALogEntryAdd>.Suppress())
|
||||
{
|
||||
PDALog.Add(packet.Key);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user