diff --git a/Content.Client/Cargo/BUI/CargoBountyConsoleBoundUserInterface.cs b/Content.Client/Cargo/BUI/CargoBountyConsoleBoundUserInterface.cs index 04075000f5b..4983d3df13d 100644 --- a/Content.Client/Cargo/BUI/CargoBountyConsoleBoundUserInterface.cs +++ b/Content.Client/Cargo/BUI/CargoBountyConsoleBoundUserInterface.cs @@ -2,6 +2,7 @@ using Content.Client.Cargo.UI; using Content.Shared.Cargo.Components; using JetBrains.Annotations; using Robust.Client.UserInterface; +using Content.Shared._DV.Cargo.Components; // DeltaV: Bounty claim messages namespace Content.Client.Cargo.BUI; @@ -30,6 +31,18 @@ public sealed class CargoBountyConsoleBoundUserInterface : BoundUserInterface { SendMessage(new BountySkipMessage(id)); }; + + // DeltaV: bounty claim stuff begins + _menu.OnClaimButtonPressed += id => + { + SendMessage(new BountyClaimedMessage(id)); + }; + + _menu.OnStatusOptionSelected += (id, status) => + { + SendMessage(new BountySetStatusMessage(id, status)); + }; + // DeltaV: bounty claim stuff ends } protected override void UpdateState(BoundUserInterfaceState message) diff --git a/Content.Client/Cargo/UI/BountyEntry.xaml b/Content.Client/Cargo/UI/BountyEntry.xaml index 99874cf1a5d..837edc7d900 100644 --- a/Content.Client/Cargo/UI/BountyEntry.xaml +++ b/Content.Client/Cargo/UI/BountyEntry.xaml @@ -10,6 +10,8 @@ + + @@ -17,14 +19,22 @@