Add fax admin panel (#15215)
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
using Content.Shared.Fax;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Client.GameObjects;
|
||||
|
||||
namespace Content.Client.Fax.UI;
|
||||
|
||||
[UsedImplicitly]
|
||||
public sealed class FaxBoundUi : BoundUserInterface
|
||||
{
|
||||
private FaxWindow? _window;
|
||||
|
||||
|
||||
public FaxBoundUi(ClientUserInterfaceComponent owner, Enum uiKey) : base(owner, uiKey)
|
||||
{
|
||||
}
|
||||
@@ -42,7 +44,7 @@ public sealed class FaxBoundUi : BoundUserInterface
|
||||
protected override void UpdateState(BoundUserInterfaceState state)
|
||||
{
|
||||
base.UpdateState(state);
|
||||
|
||||
|
||||
if (_window == null || state is not FaxUiState cast)
|
||||
return;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System.Linq;
|
||||
using Content.Shared.Fax;
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user