Server.Items.DyeTub.OnDoubleClick C# (CSharp) Метод

OnDoubleClick() публичный Метод

public OnDoubleClick ( Mobile from ) : void
from Mobile
Результат void
		public override void OnDoubleClick( Mobile from )
		{
			if ( from.InRange( this.GetWorldLocation(), 1 ) )
			{
				from.SendLocalizedMessage( TargetMessage );
				from.Target = new InternalTarget( this );
			}
			else
			{
				from.SendLocalizedMessage( 500446 ); // That is too far away.
			}
		}