Server.Items.SecureTradeContainer.CheckHold C# (CSharp) Méthode

CheckHold() public méthode

public CheckHold ( Mobile m, Server.Items.Item item, bool message, bool checkItems, int plusItems, int plusWeight ) : bool
m Mobile
item Server.Items.Item
message bool
checkItems bool
plusItems int
plusWeight int
Résultat bool
        public override bool CheckHold( Mobile m, Item item, bool message, bool checkItems, int plusItems, int plusWeight )
        {
            Mobile to;

            if ( this.Trade.From.Container != this )
                to = this.Trade.From.Mobile;
            else
                to = this.Trade.To.Mobile;

            return m.CheckTrade( to, item, this, message, checkItems, plusItems, plusWeight );
        }