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
15 lines
541 B
C#
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();
|
|
}
|