コード例 #1
0
        private void RemoveVendorItem( Item item )
        {
            VendorItem vi = GetVendorItem( item );

            if ( vi != null )
            {
                vi.Invalidate();
                m_SellItems.Remove( item );
                item.OnRemovedFromSale( this );

                foreach ( Item subItem in item.Items )
                {
                    RemoveVendorItem( subItem );
                }

                item.InvalidateProperties();
            }
        }