Server.Items.TreasureMap.GetContextMenuEntries C# (CSharp) Method

GetContextMenuEntries() public method

public GetContextMenuEntries ( Server.Mobile from, List list ) : void
from Server.Mobile
list List
return void
		public override void GetContextMenuEntries( Mobile from, List<ContextMenuEntry> list )
		{
			base.GetContextMenuEntries( from, list );

			if ( !m_Completed )
			{
				if ( m_Decoder == null )
				{
					list.Add( new DecodeMapEntry( this ) );
				}
				else
				{
					bool digTool = HasDiggingTool( from );

					list.Add( new OpenMapEntry( this ) );
					list.Add( new DigEntry( this, digTool ) );
				}
			}
		}