Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -8,7 +8,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Shared.Body.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class MechanismComponent : Component, ISerializationHooks
|
||||
public sealed class MechanismComponent : Component, ISerializationHooks
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
private SharedBodyPartComponent? _part;
|
||||
|
||||
@@ -407,7 +407,7 @@ namespace Content.Shared.Body.Components
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class BodyComponentState : ComponentState
|
||||
public sealed class BodyComponentState : ComponentState
|
||||
{
|
||||
private Dictionary<string, SharedBodyPartComponent>? _parts;
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ namespace Content.Shared.Body.Components
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class BodyPartComponentState : ComponentState
|
||||
public sealed class BodyPartComponentState : ComponentState
|
||||
{
|
||||
[NonSerialized] private List<MechanismComponent>? _mechanisms;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Shared.Body.Components
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class BodyScannerUIState : BoundUserInterfaceState
|
||||
public sealed class BodyScannerUIState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly EntityUid Uid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user