Files
tbd-station-14/Content.Shared/StationRecords/StationRecordKeyStorageComponent.cs
2023-09-11 09:42:41 +10:00

26 lines
616 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 (NetEntity, uint)? Key;
public StationRecordKeyStorageComponentState((NetEntity, uint)? key)
{
Key = key;
}
}