Server.Items.InteriorDecorator.InternalTarget.Down C# (CSharp) Méthode

Down() private static méthode

private static Down ( Item item, Server.Mobile from ) : void
item Item
from Server.Mobile
Résultat void
			private static void Down( Item item, Mobile from )
			{
				int floorZ = GetFloorZ( item );

				if ( floorZ > int.MinValue && item.Z > GetFloorZ( item ) )
					item.Location = new Point3D( item.Location, item.Z - 1 );
				else
					from.SendLocalizedMessage( 1042275 ); // You cannot lower it down any further.
			}