Files
tbd-station-14/Content.Server/StationRecords/Components/GeneralStationRecordConsoleComponent.cs
nikthechampiongr c8b55e5e44 Record deletion (#27883)
* Allow for Station Records interface for aghosts to delete records

* Fix record consoles not working when there are more than 2 crew members.

HOW DID NOONE NOTICE THIS SOONER???

* Stop being unconventional
2024-05-12 17:07:54 +02:00

28 lines
759 B
C#

using Content.Server.StationRecords.Systems;
using Content.Shared.StationRecords;
namespace Content.Server.StationRecords.Components;
[RegisterComponent, Access(typeof(GeneralStationRecordConsoleSystem))]
public sealed partial class GeneralStationRecordConsoleComponent : Component
{
/// <summary>
/// Selected crewmember record id.
/// Station always uses the station that owns the console.
/// </summary>
[DataField]
public uint? ActiveKey;
/// <summary>
/// Qualities to filter a search by.
/// </summary>
[DataField]
public StationRecordsFilter? Filter;
/// <summary>
/// Whether this Records Console is able to delete entries.
/// </summary>
[DataField]
public bool CanDeleteEntries;
}