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 void ToDetail()
    {
        SaveCurrentScrollPosition();
        int num = (int)GameSection.GetEventData();

        sellItemData.Clear();
        SortCompareData sortCompareData = inventories[(int)tab].datas[num];

        if (!sortCompareData.CanSale())
        {
            if (sortCompareData.IsFavorite())
            {
                GameSection.ChangeEvent("NOT_SELL_FAVORITE", null);
            }
            else if (sortCompareData.IsEquipping())
            {
                GameSection.ChangeEvent("NOT_SELL_EQUIPPING", null);
            }
            else
            {
                GameSection.ChangeEvent("CAN_NOT_SELL", null);
            }
        }
        else if (!MonoBehaviourSingleton <UserInfoManager> .I.CheckTutorialBit(TUTORIAL_MENU_BIT.SKILL_EQUIP) && sortCompareData.GetTableID() == 10000000)
        {
            GameSection.ChangeEvent("NOT_SELL_DEFAULT_WEAPON", null);
        }
        else if (tab == TAB_MODE.MATERIAL)
        {
            GameSection.ChangeEvent("SELECT", sortCompareData);
        }
        else
        {
            sellItemData.Add(inventories[(int)tab].datas[num]);
            GameSection.ChangeEvent("EQUIP_SELECT", null);
            OnQuery_SELL();
        }
    }