Fix a bunch of warnings (#9528)

This commit is contained in:
metalgearsloth
2022-07-09 09:07:47 +10:00
committed by GitHub
parent 9f80b7b68a
commit 4a393d4665
16 changed files with 65 additions and 82 deletions

View File

@@ -34,7 +34,7 @@ namespace Content.Shared.Wires
}
[Serializable, NetSerializable]
public class WiresActionMessage : BoundUserInterfaceMessage
public sealed class WiresActionMessage : BoundUserInterfaceMessage
{
public readonly int Id;
public readonly WiresAction Action;
@@ -116,7 +116,7 @@ namespace Content.Shared.Wires
}
[Serializable, NetSerializable]
public class WiresBoundUserInterfaceState : BoundUserInterfaceState
public sealed class WiresBoundUserInterfaceState : BoundUserInterfaceState
{
public string BoardName { get; }
public string? SerialNumber { get; }
@@ -167,7 +167,7 @@ namespace Content.Shared.Wires
/// what wires there are on an entity.
/// </summary>
[Serializable, NetSerializable]
public class ClientWire
public sealed class ClientWire
{
/// <summary>
/// ID of this wire, which corresponds to