25 lines
747 B
C#
25 lines
747 B
C#
using NitroxClient.Communication.Abstract;
|
|
using NitroxClient.Communication.Packets.Processors.Abstract;
|
|
using NitroxClient.GameLogic;
|
|
using NitroxModel_Subnautica.Packets;
|
|
|
|
namespace NitroxClient.Communication.Packets.Processors
|
|
{
|
|
public class CyclopsFireCreatedProcessor : ClientPacketProcessor<CyclopsFireCreated>
|
|
{
|
|
private readonly IPacketSender packetSender;
|
|
private readonly Fires fires;
|
|
|
|
public CyclopsFireCreatedProcessor(IPacketSender packetSender, Fires fires)
|
|
{
|
|
this.packetSender = packetSender;
|
|
this.fires = fires;
|
|
}
|
|
|
|
public override void Process(CyclopsFireCreated packet)
|
|
{
|
|
fires.Create(packet.FireCreatedData);
|
|
}
|
|
}
|
|
}
|