Files
tbd-station-14/Content.Client/Administration/UI/BanList/BanListWindow.xaml.cs
metalgearsloth a89d4c750b Power stuff (#31314)
* Power stuff

- Add shared IsPowered
- Add shared ResolveApc
- Move PowerChangedEvent to shared for now
- Add SlimPoweredLight that actually functions how you'd expect a PoweredLight to function it id didn't have a bunch of bloat on it.

* big update

* boing
2024-08-25 22:18:42 +10:00

24 lines
674 B
C#

using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client.Administration.UI.BanList;
[GenerateTypedNameReferences]
public sealed partial class BanListWindow : DefaultWindow
{
public BanListWindow()
{
RobustXamlLoader.Load(this);
TabContainer.SetTabTitle(0, Loc.GetString("ban-list-bans"));
TabContainer.SetTabTitle(1, Loc.GetString("ban-list-role-bans"));
}
public void SetTitlePlayer(string playerName)
{
Title = Loc.GetString("ban-list-title", ("player", playerName));
}
}