Server.Mobiles.PackLlama.OnDragDrop C# (CSharp) Méthode

OnDragDrop() public méthode

public OnDragDrop ( Mobile from, Item item ) : bool
from Mobile
item Item
Résultat bool
		public override bool OnDragDrop( Mobile from, Item item )
		{
			if ( CheckFeed( from, item ) )
				return true;

			if ( PackAnimal.CheckAccess( this, from ) )
			{
				AddToBackpack( item );
				return true;
			}

			return base.OnDragDrop( from, item );
		}