CatStation/Content.Shared/StationRecords/Components/GeneralStationRecordConsoleComponent.cs
Rouden 4d0c40f358
Predict StationRecords (#40240)
* Make StationRecords YAML savable

* Update SharedStationRecordsSystem.cs

* Predict Station Records

* Attribute subs, query Resolve & DirtyFields

* Cleanup, prediction fixes, locale fixes

* Update GeneralRecordsUi.cs

Remove GeneralStationRecordConsoleState and obsolete SelectStationRecord
2026-07-17 03:36:39 +00:00

26 lines
726 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.StationRecords.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
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, AutoNetworkedField]
public bool CanDeleteEntries;
}