Esempio n. 1
0
    public void Selling(BaseItemSellingSlot baseItemSellingSlot)
    {
        int index = baseItemSellingSlot.ITEMSHOP.ItemSetIdIndex;

        if (!ReferenceEquals(_inventoryContainer.container_item_entry[index], null))
        {
            _characterStatusController.IncreaseCurrentMoney(baseItemSellingSlot.ITEMSHOP.ItemPrice);
            _inventoryContainer.SellingItem(index);
            baseItemSellingSlot.Selling();
            _notificationController.SellingItem(baseItemSellingSlot);
            CheckInvIsEmpty();
        }
    }