private void OnChagenSlider()
    {
        int progressInt = GetProgressInt((Enum)UI.SLD_SALE_NUM);
        int num         = data.GetSalePrice() * progressInt;

        SetLabelText((Enum)UI.LBL_SALE_NUM, string.Format("{0,8:#,0}", progressInt));
        SetLabelText((Enum)UI.LBL_SALE_PRICE, string.Format("{0,8:#,0}", num));
    }
    public override void UpdateUI()
    {
        ItemInfo itemInfo = data.GetItemData() as ItemInfo;

        SetActive((Enum)UI.STR_SELL, data.CanSale());
        SetActive((Enum)UI.BTN_DETAIL_SELL, data.CanSale() && MonoBehaviourSingleton <ItemExchangeManager> .I.IsExchangeScene());
        SetLabelText((Enum)UI.LBL_NAME, data.GetName());
        SetLabelText((Enum)UI.LBL_HAVE_NUM, data.GetNum().ToString());
        SetLabelText((Enum)UI.LBL_DESCRIPTION, itemInfo.tableData.text);
        SetLabelText((Enum)UI.LBL_SELL, data.GetSalePrice().ToString());
        int num  = 0;
        int num2 = 0;

        num  = itemInfo.tableData.enemyIconID;
        num2 = itemInfo.tableData.enemyIconID2;
        GET_TYPE getType = data.GetGetType();

        ItemIcon.Create(data.GetIconType(), data.GetIconID(), data.GetRarity(), GetCtrl(UI.OBJ_ICON_ROOT), data.GetIconElement(), data.GetIconMagiEnableType(), -1, null, 0, false, -1, false, null, false, num, num2, false, getType);
    }
 protected override int GetSellGold()
 {
     return(item.GetSalePrice() * num);
 }