Exemple #1
0
    private void UpdateSuitForgeContent()
    {
        EquipSimpleInfo wearingEquipSimpleInfoByPos = EquipGlobal.GetWearingEquipSimpleInfoByPos(this.EquipPos);

        if (wearingEquipSimpleInfoByPos != null)
        {
            if (wearingEquipSimpleInfoByPos.suitId <= 0)
            {
                if (EquipGlobal.CheckForgeMaterialIsEnough(wearingEquipSimpleInfoByPos.equipId))
                {
                    this.equipPosTipText.set_text(GameDataUtils.GetChineseContent(510208, false));
                }
                else
                {
                    this.equipPosTipText.set_text(TextColorMgr.GetColor(GameDataUtils.GetChineseContent(510209, false), "ff0000", string.Empty));
                }
            }
            else
            {
                this.equipPosTipText.set_text(TextColorMgr.GetColor(GameDataUtils.GetChineseContent(510207, false), "33beff", string.Empty));
            }
        }
    }