GeneralStationRecordConsoleComponent.cs 759 B

123456789101112131415161718192021222324252627
  1. using Content.Server.StationRecords.Systems;
  2. using Content.Shared.StationRecords;
  3. namespace Content.Server.StationRecords.Components;
  4. [RegisterComponent, Access(typeof(GeneralStationRecordConsoleSystem))]
  5. public sealed partial class GeneralStationRecordConsoleComponent : Component
  6. {
  7. /// <summary>
  8. /// Selected crewmember record id.
  9. /// Station always uses the station that owns the console.
  10. /// </summary>
  11. [DataField]
  12. public uint? ActiveKey;
  13. /// <summary>
  14. /// Qualities to filter a search by.
  15. /// </summary>
  16. [DataField]
  17. public StationRecordsFilter? Filter;
  18. /// <summary>
  19. /// Whether this Records Console is able to delete entries.
  20. /// </summary>
  21. [DataField]
  22. public bool CanDeleteEntries;
  23. }