6
StarHorizon_Public/Content.Server/CrewManifest/CrewManifestViewerComponent.cs
2025-11-03 10:15:18 +03:00

21 lines
698 B
C#

using Content.Shared.CCVar;
namespace Content.Server.CrewManifest;
[RegisterComponent]
public sealed partial class CrewManifestViewerComponent : Component
{
/// <summary>
/// If this manifest viewer is unsecure or not. If it is,
/// <see cref="CCVars.CrewManifestUnsecure"/> being false will
/// not allow this entity to be processed by CrewManifestSystem.
/// </summary>
[DataField("unsecure")] public bool Unsecure;
/// <summary>
/// The owner interface of this crew manifest viewer. When it closes, so too will an opened crew manifest.
/// </summary>
[DataField(required: true)]
public Enum OwnerKey { get; private set; } = default!;
}