Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
using Server;
using System;
using System.Collections.Generic;
using Server.Mobiles;
using Server.Gumps;
namespace Server.Services.TownCryer
{
public class TownCryerCityGump : BaseTownCryerGump
{
public TownCryerCityEntry Entry { get; private set; }
public TownCryerCityGump(PlayerMobile pm, TownCrier cryer, TownCryerCityEntry entry)
: base(pm, cryer)
{
Entry = entry;
}
public override void AddGumpLayout()
{
base.AddGumpLayout();
AddHtml(57, 155, 724, 20, Entry.Title, false, false);
AddHtmlLocalized(57, 180, 724, 20, 1154760, Entry.Author, 0, false, false); // By: ~1_NAME~
AddHtml(57, 215, 724, 205, Entry.Body, 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.City;
BaseGump.SendGump(gump);
}
}
}
}