Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user