Files
tbd-station-14/Content.Shared/StationRecords/StationRecordKeyStorageComponent.cs

26 lines
614 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.StationRecords;
[RegisterComponent, NetworkedComponent]
public sealed partial class StationRecordKeyStorageComponent : Component
{
/// <summary>
/// The key stored in this component.
/// </summary>
[ViewVariables]
public StationRecordKey? Key;
}
[Serializable, NetSerializable]
public sealed class StationRecordKeyStorageComponentState : ComponentState
{
public StationRecordKey? Key;
public StationRecordKeyStorageComponentState(StationRecordKey? key)
{
Key = key;
}
}