Server.Mobiles.VendorBackpack.CheckItemUse C# (CSharp) Méthode

CheckItemUse() public méthode

public CheckItemUse ( Mobile from, Item item ) : bool
from Mobile
item Item
Résultat bool
		public override bool CheckItemUse( Mobile from, Item item )
		{
			if ( !base.CheckItemUse( from, item ) )
				return false;

			if ( item is Container )
				return true;

			from.SendLocalizedMessage( 500447 ); // That is not accessible.
			return false;
		}