1
0

StationRecordKeyStorageComponent.cs 616 B

12345678910111213141516171819202122232425
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.StationRecords;
  4. [RegisterComponent, NetworkedComponent]
  5. public sealed partial class StationRecordKeyStorageComponent : Component
  6. {
  7. /// <summary>
  8. /// The key stored in this component.
  9. /// </summary>
  10. [ViewVariables]
  11. public StationRecordKey? Key;
  12. }
  13. [Serializable, NetSerializable]
  14. public sealed class StationRecordKeyStorageComponentState : ComponentState
  15. {
  16. public (NetEntity, uint)? Key;
  17. public StationRecordKeyStorageComponentState((NetEntity, uint)? key)
  18. {
  19. Key = key;
  20. }
  21. }