chore: Removes dead gump code (#2403)
This commit is contained in:
parent
5b6ea0c3b5
commit
c0d75562be
28 changed files with 460 additions and 724 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue