Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -11,6 +11,7 @@ namespace Content.Server.Power.Nodes
/// Type of node that connects to a <see cref="CableNode"/> below it.
/// </summary>
[DataDefinition]
[Virtual]
public class CableDeviceNode : Node
{
public override IEnumerable<Node> GetReachableNodes(TransformComponent xform,

View File

@@ -9,7 +9,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Power.Nodes
{
[DataDefinition]
public class CableNode : Node
public sealed class CableNode : Node
{
public override IEnumerable<Node> GetReachableNodes(TransformComponent xform,
EntityQuery<NodeContainerComponent> nodeQuery,

View File

@@ -9,7 +9,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Power.Nodes
{
[DataDefinition]
public class CableTerminalNode : CableDeviceNode
public sealed class CableTerminalNode : CableDeviceNode
{
public override IEnumerable<Node> GetReachableNodes(TransformComponent xform,
EntityQuery<NodeContainerComponent> nodeQuery,

View File

@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Power.Nodes
{
[DataDefinition]
public class CableTerminalPortNode : Node
public sealed class CableTerminalPortNode : Node
{
public override IEnumerable<Node> GetReachableNodes(TransformComponent xform,
EntityQuery<NodeContainerComponent> nodeQuery,