1
0

CrewManifestViewerComponent.cs 698 B

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