Server.Items.TreasureMap.DigEntry.OnClick C# (CSharp) Méthode

OnClick() public méthode

public OnClick ( ) : void
Résultat void
			public override void OnClick()
			{
				if ( m_Map.Deleted )
					return;

				Mobile from = Owner.From;

				if ( HasDiggingTool( from ) )
					m_Map.OnBeginDig( from );
				else
					from.SendMessage( "You must have a digging tool to dig for treasure." );
			}
		}
TreasureMap.DigEntry