Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
43
Scripts/Services/Town Cryer/Gumps/TownCryerEMGump.cs
Normal file
43
Scripts/Services/Town Cryer/Gumps/TownCryerEMGump.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user