Adds AddRecord/AddRecordEntry to StationRecordsSystem (#11732)
* adds an API to add station records from StationRecordsSystem * removes a lingering comment * adds a comment to AddRecord * Update Content.Server/StationRecords/Systems/StationRecordsSystem.cs Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com> Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
namespace Content.Server.StationRecords;
|
||||
|
||||
[Access(typeof(StationRecordsSystem))]
|
||||
[RegisterComponent]
|
||||
public sealed class StationRecordsComponent : Component
|
||||
{
|
||||
// Every single record in this station, by key.
|
||||
// Essentially a columnar database, but I really suck
|
||||
// at implementing that so
|
||||
[ViewVariables]
|
||||
public StationRecordSet Records = new();
|
||||
[ViewVariables] public readonly StationRecordSet Records = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user