Пример #1
0
        public override bool OnDragDropInto(Mobile from, Item item, Point3D p)
        {
            if (!base.OnDragDropInto(from, item, p))
            {
                return(false);
            }

            DefiledRewards.TradeInItem(item, (PlayerMobile)from);

            return(true);
        }
Пример #2
0
        public override bool OnDragDrop(Mobile from, Item dropped)
        {
            if (!base.OnDragDrop(from, dropped))
            {
                return(false);
            }

            DefiledRewards.TradeInItem(dropped, (PlayerMobile)from);

            return(true);
        }