Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,39 @@
using System;
using Server.Gumps;
using Server.Network;
namespace Server.Engines.Help
{
public class PageResponseGump : Gump
{
private readonly Mobile m_From;
private readonly string m_Name;
private readonly string m_Text;
public PageResponseGump(Mobile from, string name, string text)
: base(0, 0)
{
this.m_From = from;
this.m_Name = name;
this.m_Text = text;
this.AddBackground(50, 25, 540, 430, 2600);
this.AddPage(0);
this.AddHtmlLocalized(150, 40, 360, 40, 1062610, false, false); // <CENTER><U>Ultima Online Help Response</U></CENTER>
this.AddHtml(80, 90, 480, 290, String.Format("{0} tells {1}: {2}", name, from.Name, text), true, true);
this.AddHtmlLocalized(80, 390, 480, 40, 1062611, false, false); // Clicking the OKAY button will remove the reponse you have received.
this.AddButton(400, 417, 2074, 2075, 1, GumpButtonType.Reply, 0); // OKAY
this.AddButton(475, 417, 2073, 2072, 0, GumpButtonType.Reply, 0); // CANCEL
}
public override void OnResponse(NetState sender, RelayInfo info)
{
if (info.ButtonID != 1)
this.m_From.SendGump(new MessageSentGump(this.m_From, this.m_Name, this.m_Text));
}
}
}