Files
crystall-punk-14/Content.Server/Atmos/Piping/Unary/Components/GasOutletInjectorComponent.cs
2022-02-16 18:23:23 +11:00

26 lines
697 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Atmos.Piping.Unary.Components
{
[RegisterComponent]
public sealed class GasOutletInjectorComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
public bool Enabled { get; set; } = true;
[ViewVariables(VVAccess.ReadWrite)]
public bool Injecting { get; set; } = false;
[ViewVariables(VVAccess.ReadWrite)]
public float VolumeRate { get; set; } = 50f;
[DataField("inlet")]
public string InletName { get; set; } = "pipe";
// TODO ATMOS: Inject method.
}
}