Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -2,7 +2,7 @@ using Content.Shared.Chemistry.Reaction;
|
||||
|
||||
namespace Content.Client.Chemistry
|
||||
{
|
||||
public class ChemicalReactionSystem : SharedChemicalReactionSystem
|
||||
public sealed class ChemicalReactionSystem : SharedChemicalReactionSystem
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.Client.Chemistry.Components
|
||||
/// Client behavior for injectors & syringes. Used for item status on injectors
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class InjectorComponent : SharedInjectorComponent, IItemStatus
|
||||
public sealed class InjectorComponent : SharedInjectorComponent, IItemStatus
|
||||
{
|
||||
[ViewVariables] private FixedPoint2 CurrentVolume { get; set; }
|
||||
[ViewVariables] private FixedPoint2 TotalVolume { get; set; }
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client.Chemistry.UI
|
||||
/// Initializes a <see cref="ChemMasterWindow"/> and updates it when new server messages are received.
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class ChemMasterBoundUserInterface : BoundUserInterface
|
||||
public sealed class ChemMasterBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
private ChemMasterWindow? _window;
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace Content.Client.Chemistry.UI
|
||||
SendMessage(new UiActionMessage(action, button.Amount, button.Id, button.IsBuffer, null, null, null, null));
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
SendMessage(new UiActionMessage(action, null, null, null, label, pillType, pillAmount, bottleAmount));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Content.Client.Chemistry.UI
|
||||
/// Client-side UI used to control a <see cref="SharedChemMasterComponent"/>
|
||||
/// </summary>
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class ChemMasterWindow : DefaultWindow
|
||||
public sealed partial class ChemMasterWindow : DefaultWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
public event Action<string>? OnLabelEntered;
|
||||
@@ -267,7 +267,7 @@ namespace Content.Client.Chemistry.UI
|
||||
}
|
||||
}
|
||||
|
||||
public class ChemButton : Button
|
||||
public sealed class ChemButton : Button
|
||||
{
|
||||
public FixedPoint2 Amount { get; set; }
|
||||
public bool IsBuffer = true;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Client.Chemistry.UI
|
||||
/// Initializes a <see cref="ReagentDispenserWindow"/> and updates it when new server messages are received.
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class ReagentDispenserBoundUserInterface : BoundUserInterface
|
||||
public sealed class ReagentDispenserBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
private ReagentDispenserWindow? _window;
|
||||
private ReagentDispenserBoundUserInterfaceState? _lastState;
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Content.Client.Chemistry.UI
|
||||
/// Client-side UI used to control a <see cref="SharedReagentDispenserComponent"/>
|
||||
/// </summary>
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class ReagentDispenserWindow : DefaultWindow
|
||||
public sealed partial class ReagentDispenserWindow : DefaultWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Client.GameObjects;
|
||||
namespace Content.Client.Chemistry.UI
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class TransferAmountBoundUserInterface : BoundUserInterface
|
||||
public sealed class TransferAmountBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
private TransferAmountWindow? _window;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.XAML;
|
||||
namespace Content.Client.Chemistry.UI
|
||||
{
|
||||
[GenerateTypedNameReferences]
|
||||
public partial class TransferAmountWindow : DefaultWindow
|
||||
public sealed partial class TransferAmountWindow : DefaultWindow
|
||||
{
|
||||
public TransferAmountWindow()
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Client.Chemistry.Visualizers
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class FoamVisualizer : AppearanceVisualizer, ISerializationHooks
|
||||
public sealed class FoamVisualizer : AppearanceVisualizer, ISerializationHooks
|
||||
{
|
||||
private const string AnimationKey = "foamdissolve_animation";
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Maths;
|
||||
namespace Content.Client.Chemistry.Visualizers
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class SmokeVisualizer : AppearanceVisualizer
|
||||
public sealed class SmokeVisualizer : AppearanceVisualizer
|
||||
{
|
||||
public override void OnChangeData(AppearanceComponent component)
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Client.Chemistry.Visualizers
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class SolutionContainerVisualizer : AppearanceVisualizer
|
||||
public sealed class SolutionContainerVisualizer : AppearanceVisualizer
|
||||
{
|
||||
[DataField("maxFillLevels")] private int _maxFillLevels = 0;
|
||||
[DataField("fillBaseName")] private string? _fillBaseName = null;
|
||||
|
||||
@@ -12,7 +12,7 @@ using Robust.Shared.Serialization.Manager.Attributes;
|
||||
namespace Content.Client.Chemistry.Visualizers
|
||||
{
|
||||
[UsedImplicitly]
|
||||
public class VaporVisualizer : AppearanceVisualizer, ISerializationHooks
|
||||
public sealed class VaporVisualizer : AppearanceVisualizer, ISerializationHooks
|
||||
{
|
||||
private const string AnimationKey = "flick_animation";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user