adds ahelp relay (#5837)
This commit is contained in:
@@ -1,24 +1,13 @@
|
||||
#nullable enable
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Content.Client.UserInterface;
|
||||
using Content.Client.Administration;
|
||||
using Content.Shared;
|
||||
using Robust.Client.Credits;
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.Player;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.CustomControls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Utility;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.GameObjects;
|
||||
using YamlDotNet.RepresentationModel;
|
||||
using Robust.Shared.Network;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Client.Administration.UI
|
||||
{
|
||||
@@ -33,14 +22,13 @@ namespace Content.Client.Administration.UI
|
||||
|
||||
private readonly NetUserId _channelId;
|
||||
|
||||
public BwoinkWindow(NetUserId channelId, string title)
|
||||
public BwoinkWindow(NetUserId userId, string channelName)
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
IoCManager.InjectDependencies(this);
|
||||
|
||||
|
||||
_channelId = channelId;
|
||||
Title = (_playerManager.LocalPlayer?.UserId == _channelId) ? "Admin Message" : title;
|
||||
_channelId = userId;
|
||||
Title = (_playerManager.LocalPlayer?.UserId == _channelId) ? "Admin Message" : channelName;
|
||||
|
||||
SenderLineEdit.OnTextEntered += Input_OnTextEntered;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user