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

Up() private static méthode

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

				if ( floorZ > int.MinValue && item.Z < (floorZ + 15) ) // Confirmed : no height checks here
					item.Location = new Point3D( item.Location, item.Z + 1 );
				else
					from.SendLocalizedMessage( 1042274 ); // You cannot raise it up any higher.
			}