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

@@ -12,7 +12,7 @@ namespace Content.Server.Kitchen.Components
/// </summary>
[RegisterComponent]
[Friend(typeof(ReagentGrinderSystem))]
public class ExtractableComponent : Component
public sealed class ExtractableComponent : Component
{
[ViewVariables]
[DataField("juiceSolution")]

View File

@@ -13,12 +13,12 @@ using System.Threading;
namespace Content.Server.Kitchen.Components
{
[RegisterComponent, Friend(typeof(KitchenSpikeSystem))]
public class KitchenSpikeComponent : SharedKitchenSpikeComponent, ISuicideAct
public sealed class KitchenSpikeComponent : SharedKitchenSpikeComponent, ISuicideAct
{
public int MeatParts;
public string? MeatPrototype;
// TODO: Spiking alive mobs? (Replace with uid) (deal damage to their limbs on spiking, kill on first butcher attempt?)
// TODO: Spiking alive mobs? (Replace with uid) (deal damage to their limbs on spiking, kill on first butcher attempt?)
public string MeatSource1p = "?";
public string MeatSource0 = "?";
public string MeatName = "?";

View File

@@ -31,7 +31,7 @@ namespace Content.Server.Kitchen.Components
{
[RegisterComponent]
[ComponentReference(typeof(IActivate))]
public class MicrowaveComponent : SharedMicrowaveComponent, IActivate, IInteractUsing, ISuicideAct, IBreakAct
public sealed class MicrowaveComponent : SharedMicrowaveComponent, IActivate, IInteractUsing, ISuicideAct, IBreakAct
{
[Dependency] private readonly IEntityManager _entities = default!;
@@ -550,7 +550,7 @@ namespace Content.Server.Kitchen.Components
}
}
public class BeingMicrowavedEvent : HandledEntityEventArgs
public sealed class BeingMicrowavedEvent : HandledEntityEventArgs
{
public EntityUid Microwave;

View File

@@ -15,7 +15,7 @@ namespace Content.Server.Kitchen.Components
/// it contained, juice an apple and get "apple juice".
/// </summary>
[RegisterComponent]
public class ReagentGrinderComponent : SharedReagentGrinderComponent
public sealed class ReagentGrinderComponent : SharedReagentGrinderComponent
{
[ViewVariables] public ContainerSlot BeakerContainer = default!;