Server.Items.BasePotion.StackWith C# (CSharp) Méthode

StackWith() public méthode

public StackWith ( Server.Mobile from, Item dropped, bool playSound ) : bool
from Server.Mobile
dropped Item
playSound bool
Résultat bool
        public override bool StackWith( Mobile from, Item dropped, bool playSound )
        {
            if( dropped is BasePotion && ((BasePotion)dropped).m_PotionEffect == m_PotionEffect )
                return base.StackWith( from, dropped, playSound );

            return false;
        }