Merge branch 'master' into 2020-08-31-click-attack
This commit is contained in:
31
Content.Shared/GameObjects/Atmos/SharedPumpComponent.cs
Normal file
31
Content.Shared/GameObjects/Atmos/SharedPumpComponent.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Content.Shared.GameObjects.Components.Atmos;
|
||||
using Robust.Shared.Serialization;
|
||||
using System;
|
||||
|
||||
namespace Content.Shared.GameObjects.Atmos
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum PumpVisuals
|
||||
{
|
||||
VisualState
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class PumpVisualState
|
||||
{
|
||||
public readonly PipeDirection InletDirection;
|
||||
public readonly PipeDirection OutletDirection;
|
||||
public readonly ConduitLayer InletConduitLayer;
|
||||
public readonly ConduitLayer OutletConduitLayer;
|
||||
public readonly bool PumpEnabled;
|
||||
|
||||
public PumpVisualState(PipeDirection inletDirection, PipeDirection outletDirection, ConduitLayer inletConduitLayer, ConduitLayer outletConduitLayer, bool pumpEnabled)
|
||||
{
|
||||
InletDirection = inletDirection;
|
||||
OutletDirection = outletDirection;
|
||||
InletConduitLayer = inletConduitLayer;
|
||||
OutletConduitLayer = outletConduitLayer;
|
||||
PumpEnabled = pumpEnabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user