Add fax admin panel (#15215)

This commit is contained in:
Morb
2023-04-16 23:20:57 -07:00
committed by GitHub
parent 55f82d2c15
commit 0e6b273f1f
13 changed files with 367 additions and 27 deletions

View File

@@ -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;

View File

@@ -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;