Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -3,7 +3,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class SignalButtonComponent : Component
|
||||
public sealed class SignalButtonComponent : Component
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class SignalLinkerComponent : Component
|
||||
public sealed class SignalLinkerComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public (SignalTransmitterComponent transmitter, string port)? Port;
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class SignalReceiverComponent : Component
|
||||
public sealed class SignalReceiverComponent : Component
|
||||
{
|
||||
[DataField("inputs")]
|
||||
private List<SignalPort> _inputs = new();
|
||||
|
||||
@@ -3,7 +3,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class SignalSwitchComponent : Component
|
||||
public sealed class SignalSwitchComponent : Component
|
||||
{
|
||||
public bool State;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class SignalTransmitterComponent : Component
|
||||
public sealed class SignalTransmitterComponent : Component
|
||||
{
|
||||
[DataField("outputs")]
|
||||
private List<SignalPort> _outputs = new();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class TriggerOnSignalReceivedComponent : Component
|
||||
public sealed class TriggerOnSignalReceivedComponent : Component
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class TwoWayLeverComponent : Component
|
||||
public sealed class TwoWayLeverComponent : Component
|
||||
{
|
||||
public TwoWayLeverSignal State;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user