2024-01-14 08:18:39 +01:00
|
|
|
using Content.Shared.CCVar;
|
|
|
|
|
|
2022-08-08 22:10:01 -07:00
|
|
|
namespace Content.Server.CrewManifest;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class CrewManifestViewerComponent : Component
|
2022-08-08 22:10:01 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If this manifest viewer is unsecure or not. If it is,
|
2024-01-14 08:18:39 +01:00
|
|
|
/// <see cref="CCVars.CrewManifestUnsecure"/> being false will
|
2022-08-08 22:10:01 -07:00
|
|
|
/// not allow this entity to be processed by CrewManifestSystem.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("unsecure")] public bool Unsecure;
|
2024-01-14 08:18:39 +01:00
|
|
|
|
|
|
|
|
/// <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!;
|
2022-08-08 22:10:01 -07:00
|
|
|
}
|