mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* 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
26 lines
726 B
C#
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;
|
|
}
|