Files
tbd-station-14/Content.Server/Atmos/Piping/Binary/Components/GasValveComponent.cs
2021-07-12 09:47:59 +02:00

22 lines
574 B
C#

using Content.Shared.Interaction;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Atmos.Piping.Binary.Components
{
[RegisterComponent]
public class GasValveComponent : Component
{
public override string Name => "GasValve";
[ViewVariables]
[DataField("open")]
public bool Open { get; set; } = true;
[DataField("pipe")]
[ViewVariables(VVAccess.ReadWrite)]
public string PipeName { get; } = "pipe";
}
}