first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using NitroxClient.Communication.Packets.Processors.Abstract;
|
||||
using NitroxClient.GameLogic;
|
||||
using NitroxModel.Packets;
|
||||
|
||||
namespace NitroxClient.Communication.Packets.Processors;
|
||||
|
||||
public class DropSimulationOwnershipProcessor : ClientPacketProcessor<DropSimulationOwnership>
|
||||
{
|
||||
private readonly SimulationOwnership simulationOwnershipManager;
|
||||
|
||||
public DropSimulationOwnershipProcessor(SimulationOwnership simulationOwnershipManager)
|
||||
{
|
||||
this.simulationOwnershipManager = simulationOwnershipManager;
|
||||
}
|
||||
|
||||
public override void Process(DropSimulationOwnership packet)
|
||||
{
|
||||
simulationOwnershipManager.DropSimulationFrom(packet.EntityId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user