Пример #1
0
    public void SetEquipExt(EquipItemInfo info, params UILabel[] levelLabels)
    {
        //IL_0023: Unknown result type (might be due to invalid IL or missing references)
        //IL_002d: Unknown result type (might be due to invalid IL or missing references)
        //IL_0032: Unknown result type (might be due to invalid IL or missing references)
        //IL_0041: Unknown result type (might be due to invalid IL or missing references)
        bool flag = info.IsLevelAndEvolveMax();

        SetEquipGrowLimitBG(flag);
        Color color = (!flag) ? Color.get_white() : new Color(0.2117647f, 1f, 0f);
        int   i     = 0;

        for (int num = levelLabels.Length; i < num; i++)
        {
            levelLabels[i].color = color;
        }
    }
Пример #2
0
    public void SetEquipExtInvertedColor(EquipItemInfo info, UILabel levelLabel)
    {
        //IL_0024: Unknown result type (might be due to invalid IL or missing references)
        //IL_003e: Unknown result type (might be due to invalid IL or missing references)
        //IL_005d: Unknown result type (might be due to invalid IL or missing references)
        //IL_0068: Unknown result type (might be due to invalid IL or missing references)
        bool flag = info.IsLevelAndEvolveMax();

        SetEquipGrowLimitBG(flag);
        if (flag)
        {
            levelLabel.color       = new Color(0.2117647f, 1f, 0f);
            levelLabel.effectColor = new Color(0f, 0.0862745f, 0.090196f);
        }
        else
        {
            levelLabel.color       = new Color(0f, 0.17647f, 0.1843137f);
            levelLabel.effectColor = Color.get_white();
        }
    }