Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Content.Server.MachineLinking.Models
|
||||
{
|
||||
public class SignalLink
|
||||
public sealed class SignalLink
|
||||
{
|
||||
public readonly SignalTransmitterComponent TransmitterComponent;
|
||||
public readonly SignalReceiverComponent ReceiverComponent;
|
||||
|
||||
@@ -4,7 +4,7 @@ using Content.Server.MachineLinking.Exceptions;
|
||||
|
||||
namespace Content.Server.MachineLinking.Models
|
||||
{
|
||||
public class SignalLinkCollection
|
||||
public sealed class SignalLinkCollection
|
||||
{
|
||||
private Dictionary<SignalTransmitterComponent, List<SignalLink>> _transmitterDict = new();
|
||||
private Dictionary<SignalReceiverComponent, List<SignalLink>> _receiverDict = new();
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Server.MachineLinking.Models
|
||||
{
|
||||
[DataDefinition]
|
||||
public class SignalPort
|
||||
public sealed class SignalPort
|
||||
{
|
||||
[DataField("name", required: true)] public string Name { get; } = default!;
|
||||
[DataField("type")] public Type? Type { get; }
|
||||
|
||||
Reference in New Issue
Block a user