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,43 @@
using Server;
using System;
using System.Collections.Generic;
using Server.Mobiles;
using Server.Gumps;
namespace Server.Services.TownCryer
{
public class TownCryerEventModeratorGump : BaseTownCryerGump
{
public TownCryerModeratorEntry Entry { get; private set; }
public TownCryerEventModeratorGump(PlayerMobile pm, TownCrier cryer, TownCryerModeratorEntry entry)
: base(pm, cryer)
{
Entry = entry;
}
public override void AddGumpLayout()
{
base.AddGumpLayout();
AddHtml(58, 150, 724, 20, Entry.Title, false, false);
AddHtmlLocalized(58, 180, 724, 20, 1154760, Entry.ModeratorName, 0, false, false); // By: ~1_NAME~
AddHtml(58, 215, 724, 205, Entry.Body1, false, false);
AddHtml(58, 280, 724, 205, Entry.Body2, false, false);
AddHtml(58, 345, 724, 205, Entry.Body3, false, false);
AddImage(85, 425, 0x5EF);
}
public override void OnResponse(RelayInfo info)
{
if (info.ButtonID == 0)
{
var gump = new TownCryerGump(User, Cryer);
gump.Category = TownCryerGump.GumpCategory.EventModerator;
BaseGump.SendGump(gump);
}
}
}
}