add OnSingleClick for BulkOrderBook and Aquarium

allow primary LadderController instance to be deleted
add MessageRuleset method to DuelContext
This commit is contained in:
Mark Sturgill 2014-02-22 12:56:58 -07:00
parent 041c976ddc
commit 76b7fa6f30
4 changed files with 108 additions and 2 deletions

View file

@ -273,6 +273,16 @@ namespace Server.Engines.BulkOrders
list.Add( 1062481, m_BookName ); // Book Name: ~1_val~
}
public override void OnSingleClick(Mobile from)
{
base.OnSingleClick(from);
LabelTo(from, 1062344, m_Entries.Count.ToString()); // Deeds in book: ~1_val~
if (!String.IsNullOrEmpty(m_BookName))
LabelTo(from, 1062481, m_BookName);
}
public override void GetContextMenuEntries( Mobile from, List<ContextMenuEntry> list )
{
base.GetContextMenuEntries( from, list );