Server.Items.Corpse.OnItemLifted C# (CSharp) Метод

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

public OnItemLifted ( Server.Mobile from, Item item ) : void
from Server.Mobile
item Item
Результат void
		public override void OnItemLifted( Mobile from, Item item )
		{
			base.OnItemLifted( from, item );

			if ( item != this && from != m_Owner )
				from.RevealingAction();

			if ( item != this && IsCriminalAction( from ) )
				from.CriminalAction( true );

			if ( !m_Looters.Contains( from ) )
				m_Looters.Add( from );

			if ( m_InstancedItems != null && m_InstancedItems.ContainsKey( item ) )
				m_InstancedItems.Remove( item );
		}