CatStation/Content.Shared/StationRecords/Components/StationRecordsComponent.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

15 lines
541 B
C#

using Content.Shared.StationRecords.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.StationRecords.Components;
[Access(typeof(StationRecordsSystem))]
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
public sealed partial class StationRecordsComponent : Component
{
// Every single record in this station, by key.
// Essentially a columnar database, but I really suck
// at implementing that so
[IncludeDataField, AutoNetworkedField]
public StationRecordSet Records = new();
}