Пример #1
0
    // Token: 0x060005A0 RID: 1440 RVA: 0x0004E35C File Offset: 0x0004C55C
    private void IFGPPIQKOPM(bool OHOBDLMNJMC)
    {
        InvGameItem invGameItem = (!OHOBDLMNJMC) ? null : this.QEHIHKOHHFJ;

        if (invGameItem != null)
        {
            InvBaseItem baseItem = invGameItem.baseItem;
            if (baseItem != null)
            {
                string text = string.Concat(new string[]
                {
                    "[",
                    JGDHIPBGCFP.JPHIJCIGHPQ(invGameItem.color),
                    "]",
                    invGameItem.name,
                    "[-]\n"
                });
                string text2 = text;
                text = string.Concat(new object[]
                {
                    text2,
                    "[AFAFAF]Level ",
                    invGameItem.itemLevel,
                    " ",
                    baseItem.slot
                });
                List <InvStat> list  = invGameItem.QNNCKNCFNMK();
                int            i     = 0;
                int            count = list.Count;
                while (i < count)
                {
                    InvStat invStat = list[i];
                    if (invStat.amount != 0)
                    {
                        if (invStat.amount < 0)
                        {
                            text = text + "\n[FF0000]" + invStat.amount;
                        }
                        else
                        {
                            text = text + "\n[00FF00]+" + invStat.amount;
                        }
                        if (invStat.modifier == InvStat.JPLHHNKQLOI.Percent)
                        {
                            text += "%";
                        }
                        text  = text + " " + invStat.id;
                        text += "[-]";
                    }
                    i++;
                }
                if (!string.IsNullOrEmpty(baseItem.description))
                {
                    text = text + "\n[FF9900]" + baseItem.description;
                }
                GGGPJQEKNJD.MFONIPHOFGF(text);
                return;
            }
        }
        GGGPJQEKNJD.Hide();
    }