Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -11,7 +11,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Body.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(BloodstreamSystem))]
|
||||
public class BloodstreamComponent : Component
|
||||
public sealed class BloodstreamComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Max volume of internal solution storage
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Body.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedBodyComponent))]
|
||||
public class BodyComponent : SharedBodyComponent
|
||||
public sealed class BodyComponent : SharedBodyComponent
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Body.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedBodyPartComponent))]
|
||||
public class BodyPartComponent : SharedBodyPartComponent
|
||||
public sealed class BodyPartComponent : SharedBodyPartComponent
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Server.Body.Components
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(IActivate))]
|
||||
[ComponentReference(typeof(SharedBodyScannerComponent))]
|
||||
public class BodyScannerComponent : SharedBodyScannerComponent, IActivate
|
||||
public sealed class BodyScannerComponent : SharedBodyScannerComponent, IActivate
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
|
||||
namespace Content.Server.Body.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(BrainSystem))]
|
||||
public class BrainComponent : Component
|
||||
public sealed class BrainComponent : Component
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Body.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class InternalsComponent : Component
|
||||
public sealed class InternalsComponent : Component
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Server.Body.Components
|
||||
/// Handles metabolizing various reagents with given effects.
|
||||
/// </summary>
|
||||
[RegisterComponent, Friend(typeof(MetabolizerSystem))]
|
||||
public class MetabolizerComponent : Component
|
||||
public sealed class MetabolizerComponent : Component
|
||||
{
|
||||
public float AccumulatedFrametime = 0.0f;
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace Content.Server.Body.Components
|
||||
/// This allows metabolizers to remove certain groups much faster, or not at all.
|
||||
/// </summary>
|
||||
[DataDefinition]
|
||||
public class MetabolismGroupEntry
|
||||
public sealed class MetabolismGroupEntry
|
||||
{
|
||||
[DataField("id", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<MetabolismGroupPrototype>))]
|
||||
public string Id = default!;
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Body.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(StomachSystem))]
|
||||
public class StomachComponent : Component
|
||||
public sealed class StomachComponent : Component
|
||||
{
|
||||
public float AccumulatedFrameTime;
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace Content.Server.Body.Components
|
||||
/// <summary>
|
||||
/// Used to track quantity changes when ingesting & digesting reagents
|
||||
/// </summary>
|
||||
public class ReagentDelta
|
||||
public sealed class ReagentDelta
|
||||
{
|
||||
public readonly string ReagentId;
|
||||
public readonly FixedPoint2 Quantity;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Server.Body.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
[Friend(typeof(ThermalRegulatorSystem))]
|
||||
public class ThermalRegulatorComponent : Component
|
||||
public sealed class ThermalRegulatorComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Heat generated due to metabolism. It's generated via metabolism
|
||||
|
||||
Reference in New Issue
Block a user