21 lines
703 B
C#
21 lines
703 B
C#
using Content.Server.DeviceNetwork.Systems;
|
|
|
|
namespace Content.Server.DeviceNetwork.Components;
|
|
|
|
[RegisterComponent]
|
|
[Access(typeof(SingletonDeviceNetServerSystem))]
|
|
public sealed partial class SingletonDeviceNetServerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether the server can become the currently active server. The server being unavailable usually means that it isn't powered
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Available = true;
|
|
|
|
/// <summary>
|
|
/// Whether the server is the currently active server for the station it's on
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Active = true;
|
|
}
|