diff --git a/Content.Client/Revenant/Ui/RevenantBoundUserInterface.cs b/Content.Client/Revenant/Ui/RevenantBoundUserInterface.cs deleted file mode 100644 index 17f7d88875..0000000000 --- a/Content.Client/Revenant/Ui/RevenantBoundUserInterface.cs +++ /dev/null @@ -1,54 +0,0 @@ -using Content.Shared.Revenant; -using JetBrains.Annotations; -using Robust.Client.GameObjects; - -namespace Content.Client.Revenant.Ui; - -[UsedImplicitly] -public sealed class RevenantBoundUserInterface : BoundUserInterface -{ - private RevenantMenu? _menu; - - public RevenantBoundUserInterface(ClientUserInterfaceComponent owner, object uiKey) : base(owner, uiKey) - { - - } - - protected override void Open() - { - _menu = new(); - _menu.OpenCentered(); - _menu.OnClose += Close; - - _menu.OnListingButtonPressed += (_, listing) => - { - SendMessage(new RevenantBuyListingMessage(listing)); - }; - } - - protected override void UpdateState(BoundUserInterfaceState state) - { - base.UpdateState(state); - - if (_menu == null) - return; - - switch (state) - { - case RevenantUpdateState msg: - _menu.UpdateEssence(msg.Essence); - _menu.UpdateListing(msg.Listings); - break; - } - } - - protected override void Dispose(bool disposing) - { - base.Dispose(disposing); - if (!disposing) - return; - - _menu?.Close(); - _menu?.Dispose(); - } -} diff --git a/Content.Client/Revenant/Ui/RevenantListingControl.xaml b/Content.Client/Revenant/Ui/RevenantListingControl.xaml deleted file mode 100644 index 6adcfdc896..0000000000 --- a/Content.Client/Revenant/Ui/RevenantListingControl.xaml +++ /dev/null @@ -1,21 +0,0 @@ - - - -