Station records (#8720)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
21
Content.Shared/StationRecords/StationRecordKey.cs
Normal file
21
Content.Shared/StationRecords/StationRecordKey.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.StationRecords;
|
||||
|
||||
// Station record keys. These should be stored somewhere,
|
||||
// preferably within an ID card.
|
||||
[Serializable, NetSerializable]
|
||||
public readonly struct StationRecordKey
|
||||
{
|
||||
[ViewVariables]
|
||||
public uint ID { get; }
|
||||
|
||||
[ViewVariables]
|
||||
public EntityUid OriginStation { get; }
|
||||
|
||||
public StationRecordKey(uint id, EntityUid originStation)
|
||||
{
|
||||
ID = id;
|
||||
OriginStation = originStation;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user