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

@@ -9,7 +9,7 @@ namespace Content.Server.DeviceNetwork.Components
[RegisterComponent]
[Friend(typeof(ApcNetworkSystem))]
[ComponentProtoName("ApcNetworkConnection")]
public class ApcNetworkComponent : Component
public sealed class ApcNetworkComponent : Component
{
/// <summary>
/// The node Group the ApcNetworkConnection is connected to

View File

@@ -7,7 +7,7 @@ namespace Content.Server.DeviceNetwork.Components
{
[RegisterComponent]
[ComponentProtoName("DeviceNetworkComponent")]
public class DeviceNetworkComponent : Component
public sealed class DeviceNetworkComponent : Component
{
/// <summary>
/// Valid device network NetIDs.

View File

@@ -7,7 +7,7 @@ namespace Content.Server.DeviceNetwork.Components.Devices
{
[RegisterComponent]
[Friend(typeof(ApcNetSwitchSystem))]
public class ApcNetSwitchComponent : Component
public sealed class ApcNetSwitchComponent : Component
{
[ViewVariables] public bool State;
}

View File

@@ -4,7 +4,7 @@ namespace Content.Server.DeviceNetwork.Components
{
[RegisterComponent]
[ComponentProtoName("WiredNetworkConnection")]
public class WiredNetworkComponent : Component
public sealed class WiredNetworkComponent : Component
{
}
}

View File

@@ -8,7 +8,7 @@ namespace Content.Server.DeviceNetwork.Components
/// </summary>
[RegisterComponent]
[ComponentProtoName("WirelessNetworkConnection")]
public class WirelessNetworkComponent : Component
public sealed class WirelessNetworkComponent : Component
{
[DataField("range")]
public int Range { get; set; }