Server.Items.IDWand.OnWandTarget C# (CSharp) Méthode

OnWandTarget() public méthode

public OnWandTarget ( Mobile from, object o ) : bool
from Mobile
o object
Résultat bool
		public override bool OnWandTarget( Mobile from, object o )
		{
			if ( o is BaseWeapon )
				((BaseWeapon)o).Identified = true;
			else if ( o is BaseArmor )
				((BaseArmor)o).Identified = true;

			if ( o is Item )
				((Item)o).OnSingleClick( from );

			return ( o is Item );
		}
	}