Formats UO Content (#201)

This commit is contained in:
Kamron Batman 2020-08-27 18:30:38 -07:00 • committed by GitHub
parent 86b7b3aed1
commit ad3775c4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3249 changed files with 431083 additions and 440981 deletions

View file

@ -1,32 +1,32 @@
using Server.Guilds;
using Server.Network;
namespace Server.Gumps
{
public class GuildRosterGump : GuildMobileListGump
{
public GuildRosterGump(Mobile from, Guild guild) : base(from, guild, false, guild.Members)
{
}
protected override void Design()
{
AddHtml(20, 10, 500, 35, $"<center>{m_Guild.Name}</center>");
AddButton(20, 400, 4005, 4007, 1);
AddHtmlLocalized(55, 400, 300, 35, 1011120); // Return to the main menu.
}
public override void OnResponse(NetState state, RelayInfo info)
{
if (GuildGump.BadMember(m_Mobile, m_Guild))
return;
if (info.ButtonID == 1)
{
GuildGump.EnsureClosed(m_Mobile);
m_Mobile.SendGump(new GuildGump(m_Mobile, m_Guild));
}
}
}
}
using Server.Guilds;
using Server.Network;
namespace Server.Gumps
{
public class GuildRosterGump : GuildMobileListGump
{
public GuildRosterGump(Mobile from, Guild guild) : base(from, guild, false, guild.Members)
{
}
protected override void Design()
{
AddHtml(20, 10, 500, 35, $"<center>{m_Guild.Name}</center>");
AddButton(20, 400, 4005, 4007, 1);
AddHtmlLocalized(55, 400, 300, 35, 1011120); // Return to the main menu.
}
public override void OnResponse(NetState state, RelayInfo info)
{
if (GuildGump.BadMember(m_Mobile, m_Guild))
return;
if (info.ButtonID == 1)
{
GuildGump.EnsureClosed(m_Mobile);
m_Mobile.SendGump(new GuildGump(m_Mobile, m_Guild));
}
}
}
}