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,38 @@
using System;
using Server;
using Server.Gumps;
using Server.Network;
namespace Server.Items
{
public class SouthEastGump : Gump
{
public Action<bool> Callback { get; set; }
public SouthEastGump(Action<bool> callback)
: base(50, 50)
{
Callback = callback;
AddBackground(0, 0, 200, 150, 5054);
AddBackground(10, 10, 180, 130, 3000);
AddHtml(55, 50, 150, 16, "South", false, false);
AddHtml(55, 80, 150, 16, "East", false, false);
AddButton(20, 50, 4005, 4007, 1, GumpButtonType.Reply, 0);
AddButton(20, 80, 4005, 4007, 2, GumpButtonType.Reply, 0);
}
public override void OnResponse(NetState sender, RelayInfo info)
{
Mobile from = sender.Mobile;
if (info.ButtonID != 0)
{
if (Callback != null)
Callback(info.ButtonID == 1);
}
}
}
}