Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -14,7 +14,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.Client.Alerts;
|
||||
|
||||
[UsedImplicitly]
|
||||
internal class ClientAlertsSystem : AlertsSystem
|
||||
internal sealed class ClientAlertsSystem : AlertsSystem
|
||||
{
|
||||
public AlertOrderPrototype? AlertOrder { get; set; }
|
||||
|
||||
@@ -37,7 +37,7 @@ internal class ClientAlertsSystem : AlertsSystem
|
||||
protected override void LoadPrototypes()
|
||||
{
|
||||
base.LoadPrototypes();
|
||||
|
||||
|
||||
AlertOrder = _prototypeManager.EnumeratePrototypes<AlertOrderPrototype>().FirstOrDefault();
|
||||
if (AlertOrder == null)
|
||||
Logger.ErrorS("alert", "no alertOrder prototype found, alerts will be in random order");
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Client.Alerts.UI
|
||||
{
|
||||
public class AlertControl : BaseButton
|
||||
public sealed class AlertControl : BaseButton
|
||||
{
|
||||
// shorter than default tooltip delay so user can more easily
|
||||
// see what alerts they have
|
||||
|
||||
@@ -16,7 +16,7 @@ using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Client.Alerts.UI;
|
||||
|
||||
public class AlertsFramePresenter : IDisposable
|
||||
public sealed class AlertsFramePresenter : IDisposable
|
||||
{
|
||||
[Dependency] private readonly IEntitySystemManager _systemManager = default!;
|
||||
[Dependency] private readonly IUserInterfaceManager _userInterfaceManager = default!;
|
||||
|
||||
Reference in New Issue
Block a user