Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
34
Scripts/Gumps/Guilds/GuildCandidatesGump.cs
Normal file
34
Scripts/Gumps/Guilds/GuildCandidatesGump.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Server.Guilds;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Gumps
|
||||
{
|
||||
public class GuildCandidatesGump : GuildMobileListGump
|
||||
{
|
||||
public GuildCandidatesGump(Mobile from, Guild guild)
|
||||
: base(from, guild, false, guild.Candidates)
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
if (GuildGump.BadMember(this.m_Mobile, this.m_Guild))
|
||||
return;
|
||||
|
||||
if (info.ButtonID == 1)
|
||||
{
|
||||
GuildGump.EnsureClosed(this.m_Mobile);
|
||||
this.m_Mobile.SendGump(new GuildGump(this.m_Mobile, this.m_Guild));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Design()
|
||||
{
|
||||
this.AddHtmlLocalized(20, 10, 500, 35, 1013030, false, false); // <center> Candidates </center>
|
||||
|
||||
this.AddButton(20, 400, 4005, 4007, 1, GumpButtonType.Reply, 0);
|
||||
this.AddHtmlLocalized(55, 400, 300, 35, 1011120, false, false); // Return to the main menu.
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user