first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using NitroxClient.Communication.Abstract;
|
||||
using NitroxClient.Communication.Packets.Processors.Abstract;
|
||||
using NitroxClient.GameLogic;
|
||||
using NitroxModel_Subnautica.Packets;
|
||||
|
||||
namespace NitroxClient.Communication.Packets.Processors
|
||||
{
|
||||
public class CyclopsFireSuppressionProcessor : ClientPacketProcessor<CyclopsFireSuppression>
|
||||
{
|
||||
private readonly IPacketSender packetSender;
|
||||
private readonly Cyclops cyclops;
|
||||
|
||||
public CyclopsFireSuppressionProcessor(IPacketSender packetSender, Cyclops cyclops)
|
||||
{
|
||||
this.packetSender = packetSender;
|
||||
this.cyclops = cyclops;
|
||||
}
|
||||
|
||||
public override void Process(CyclopsFireSuppression fireSuppressionPacket)
|
||||
{
|
||||
cyclops.StartFireSuppression(fireSuppressionPacket.Id);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user