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

@ -40,7 +40,7 @@ namespace Server.Guilds
var list = m_List;
if (WillFilter)
{
m_List = new List<T>();
m_List = [];
for (var i = 0; i < list.Count; i++)
{
if (!IsFiltered(list[i], m_Filter))

View file

@ -78,12 +78,11 @@ namespace Server.Guilds
ascending,
filter,
startNumber,
new[]
{
[
new InfoField<Guild>(1062954, 280, NameComparer.Instance), // Guild Name
new InfoField<Guild>(1062957, 50, AbbrevComparer.Instance), // Abbrev
new InfoField<Guild>(1062958, 120, new StatusComparer(g)) // Guild Title
}
]
)
{
m_Display = display;

View file

@ -10,12 +10,12 @@ namespace Server.Guilds
public class GuildRosterGump : BaseGuildListGump<PlayerMobile>
{
private static readonly InfoField<PlayerMobile>[] m_Fields =
{
[
new(1062955, 130, NameComparer.Instance), // Name
new(1062956, 80, RankComparer.Instance), // Rank
new(1062952, 80, LastOnComparer.Instance), // Last On
new(1062953, 150, TitleComparer.Instance) // Guild Title
};
];
public GuildRosterGump(PlayerMobile pm, Guild g) : this(pm, g, LastOnComparer.Instance)
{