Station records (#8720)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using Content.Shared.StationRecords;
|
||||
|
||||
namespace Content.Server.StationRecords;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class GeneralStationRecordConsoleComponent : Component
|
||||
{
|
||||
public StationRecordKey? ActiveKey { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using Content.Shared.StationRecords;
|
||||
|
||||
namespace Content.Server.StationRecords;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class StationRecordKeyStorageComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The key stored in this component.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public StationRecordKey? Key;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Content.Server.StationRecords;
|
||||
|
||||
[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();
|
||||
}
|
||||
Reference in New Issue
Block a user