Server.Items.BaseClothing.CheckPropertyConfliction C# (CSharp) Méthode

CheckPropertyConfliction() public méthode

public CheckPropertyConfliction ( Mobile m ) : bool
m Mobile
Résultat bool
		public override bool CheckPropertyConfliction( Mobile m )
		{
			if ( base.CheckPropertyConfliction( m ) )
				return true;

			if ( Layer == Layer.Pants )
				return ( m.FindItemOnLayer( Layer.InnerLegs ) != null );

			if ( Layer == Layer.Shirt )
				return ( m.FindItemOnLayer( Layer.InnerTorso ) != null );

			return false;
		}