Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -7,7 +7,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Client.Kitchen.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class MicrowaveComponent : SharedMicrowaveComponent
|
||||
public sealed class MicrowaveComponent : SharedMicrowaveComponent
|
||||
{
|
||||
public IPlayingAudioStream? PlayingStream { get; set; }
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Client.Kitchen.EntitySystems
|
||||
{
|
||||
public class MicrowaveSystem : EntitySystem
|
||||
public sealed class MicrowaveSystem : EntitySystem
|
||||
{
|
||||
public void StartSoundLoop(MicrowaveComponent microwave)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class GrinderMenu : DefaultWindow
|
||||
public sealed partial class GrinderMenu : DefaultWindow
|
||||
{
|
||||
private readonly IEntityManager _entityManager;
|
||||
private readonly IPrototypeManager _prototypeManager ;
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Client.UserInterface.Controls;
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class LabelledContentBox : BoxContainer
|
||||
public sealed partial class LabelledContentBox : BoxContainer
|
||||
{
|
||||
public string? LabelText { get => Label.Text; set => Label.Text = value; }
|
||||
public string? ButtonText { get => EjectButton.Text; set => EjectButton.Text = value; }
|
||||
|
||||
@@ -15,7 +15,7 @@ using static Content.Shared.Kitchen.Components.SharedMicrowaveComponent;
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class MicrowaveBoundUserInterface : BoundUserInterface
|
||||
public sealed class MicrowaveBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
@@ -8,9 +8,9 @@ using Robust.Shared.Localization;
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class MicrowaveMenu : DefaultWindow
|
||||
public sealed partial class MicrowaveMenu : DefaultWindow
|
||||
{
|
||||
public class MicrowaveCookTimeButton : Button
|
||||
public sealed class MicrowaveCookTimeButton : Button
|
||||
{
|
||||
public uint CookTime;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ using static Content.Shared.Chemistry.Components.Solution;
|
||||
|
||||
namespace Content.Client.Kitchen.UI
|
||||
{
|
||||
public class ReagentGrinderBoundUserInterface : BoundUserInterface
|
||||
public sealed class ReagentGrinderBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
@@ -5,7 +5,7 @@ using static Content.Shared.Kitchen.Components.SharedReagentGrinderComponent;
|
||||
|
||||
namespace Content.Client.Kitchen.Visualizers
|
||||
{
|
||||
public class ReagentGrinderVisualizer : AppearanceVisualizer
|
||||
public sealed class ReagentGrinderVisualizer : AppearanceVisualizer
|
||||
{
|
||||
public override void OnChangeData(AppearanceComponent component)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user