2022-11-14 20:06:55 +01:00
|
|
|
|
using Robust.Client.AutoGenerated;
|
2024-08-25 22:18:42 +10:00
|
|
|
|
using Robust.Client.UserInterface.Controls;
|
2022-11-14 20:06:55 +01:00
|
|
|
|
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);
|
2023-09-22 14:08:28 -07:00
|
|
|
|
|
|
|
|
|
|
TabContainer.SetTabTitle(0, Loc.GetString("ban-list-bans"));
|
|
|
|
|
|
TabContainer.SetTabTitle(1, Loc.GetString("ban-list-role-bans"));
|
2022-11-14 20:06:55 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void SetTitlePlayer(string playerName)
|
|
|
|
|
|
{
|
|
|
|
|
|
Title = Loc.GetString("ban-list-title", ("player", playerName));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|