2020-09-13 14:23:52 +02:00
|
|
|
|
using System;
|
2020-08-31 04:33:05 -06:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
2020-09-21 17:51:07 +02:00
|
|
|
|
namespace Content.Shared.GameObjects.Components.Atmos
|
2020-08-31 04:33:05 -06:00
|
|
|
|
{
|
|
|
|
|
|
[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;
|
2020-08-31 16:29:53 -06:00
|
|
|
|
public readonly bool PumpEnabled;
|
2020-08-31 04:33:05 -06:00
|
|
|
|
|
2020-08-31 16:29:53 -06:00
|
|
|
|
public PumpVisualState(PipeDirection inletDirection, PipeDirection outletDirection, ConduitLayer inletConduitLayer, ConduitLayer outletConduitLayer, bool pumpEnabled)
|
2020-08-31 04:33:05 -06:00
|
|
|
|
{
|
|
|
|
|
|
InletDirection = inletDirection;
|
|
|
|
|
|
OutletDirection = outletDirection;
|
|
|
|
|
|
InletConduitLayer = inletConduitLayer;
|
|
|
|
|
|
OutletConduitLayer = outletConduitLayer;
|
2020-08-31 16:29:53 -06:00
|
|
|
|
PumpEnabled = pumpEnabled;
|
2020-08-31 04:33:05 -06:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|