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

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

public OnDoubleClick ( Mobile from ) : void
from Mobile
Результат void
		public override void OnDoubleClick( Mobile from )
		{
			if ( !from.Player )
				return;

			if ( from.InRange( GetWorldLocation(), 1 ) )
				CheckGate( from, 1 );
			else
				from.SendLocalizedMessage( 500446 ); // That is too far away.
		}