Delta-v/Content.Server/_Goobstation/Singularity/RadCollectorSignalComponent.cs

27 lines
680 B
C#

// SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
// SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
using Robust.Shared.Serialization;
namespace Content.Server._Goobstation.Singularity;
/// <summary>
/// Emits signals depending on tank pressure for automated radiation collectors.
/// </summary>
[RegisterComponent, Access(typeof(RadCollectorSignalSystem))]
public sealed partial class RadCollectorSignalComponent : Component
{
[DataField]
public RadCollectorState LastState = RadCollectorState.Empty;
}
[Serializable]
public enum RadCollectorState : byte
{
Empty,
Low,
Full
}