Server.Items.Spellbook.AllowSecureTrade C# (CSharp) Méthode

AllowSecureTrade() public méthode

public AllowSecureTrade ( Server.Mobile from, Server.Mobile to, Server.Mobile newOwner, bool accepted ) : bool
from Server.Mobile
to Server.Mobile
newOwner Server.Mobile
accepted bool
Résultat bool
        public override bool AllowSecureTrade( Mobile from, Mobile to, Mobile newOwner, bool accepted )
        {
            if ( !Ethics.Ethic.CheckTrade( from, to, newOwner, this ) )
                return false;

            return base.AllowSecureTrade( from, to, newOwner, accepted );
        }