* 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
28 lines
759 B
C#
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;
|
|
}
|