SingletonDeviceNetServerComponent.cs 703 B

1234567891011121314151617181920
  1. using Content.Server.DeviceNetwork.Systems;
  2. namespace Content.Server.DeviceNetwork.Components;
  3. [RegisterComponent]
  4. [Access(typeof(SingletonDeviceNetServerSystem))]
  5. public sealed partial class SingletonDeviceNetServerComponent : Component
  6. {
  7. /// <summary>
  8. /// Whether the server can become the currently active server. The server being unavailable usually means that it isn't powered
  9. /// </summary>
  10. [DataField, ViewVariables(VVAccess.ReadWrite)]
  11. public bool Available = true;
  12. /// <summary>
  13. /// Whether the server is the currently active server for the station it's on
  14. /// </summary>
  15. [DataField, ViewVariables(VVAccess.ReadWrite)]
  16. public bool Active = true;
  17. }