chore: Removes dead gump code (#2403)

This commit is contained in:
Kamron Batman 2026-04-08 08:39:23 -06:00 committed by GitHub
parent 5b6ea0c3b5
commit c0d75562be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 460 additions and 724 deletions

View file

@ -59,7 +59,7 @@ namespace Server.Gumps
private const int RedHue = 0x20;
private static readonly string[] m_AccessLevelStrings =
{
[
"Player",
"Counselor",
"Game Master",
@ -67,7 +67,7 @@ namespace Server.Gumps
"Administrator",
"Developer",
"Owner"
};
];
private readonly Mobile m_From;
private readonly List<object> m_List;
@ -703,7 +703,7 @@ namespace Server.Gumps
}
case AdminGumpPage.Accounts:
{
m_List ??= new List<object>();
m_List ??= [];
var rads = state as List<Account>;
@ -1500,7 +1500,7 @@ namespace Server.Gumps
// If we don't have a list, create one
if (!acctExists)
{
accts = new List<Account>();
accts = [];
}
accts.Add(acct);
@ -1829,7 +1829,7 @@ namespace Server.Gumps
--AccountHandler.IPTable[ips[0]];
}
a.LoginIPs = Array.Empty<IPAddress>();
a.LoginIPs = [];
notice = "All addresses in the list have been removed.";
}
@ -2772,7 +2772,7 @@ namespace Server.Gumps
}
else
{
results = new List<IAccount>();
results = [];
foreach (var acct in Accounts.GetAccounts())
{
if (acct.Username.InsensitiveContains(match))