public List <Goods_goods.GoodShowData> GetEquipShowAttrs(LocalSave.EquipOne one)
        {
            List <Goods_goods.GoodShowData> list = new List <Goods_goods.GoodShowData>();
            int         level    = one.Level;
            Equip_equip beanById = base.GetBeanById(one.EquipID);
            int         index    = 0;
            int         length   = beanById.Attributes.Length;

            while (index < length)
            {
                Goods_goods.GoodData goodData = Goods_goods.GetGoodData(beanById.Attributes[index]);
                level = MathDxx.Clamp(level, 0, one.CurrentMaxLevel);
                if (goodData.percent)
                {
                    goodData.value += ((level - 1) * beanById.AttributesUp[index]) * 100;
                }
                else
                {
                    goodData.value += (level - 1) * beanById.AttributesUp[index];
                }
                goodData.value = (long)(goodData.value * (1f + GameLogic.SelfAttributeShow.GetUpPercent(one.Position)));
                Goods_goods.GoodShowData goodShowData = Goods_goods.GetGoodShowData(goodData);
                if (one.IsBaby && !goodData.goodType.Contains("EquipBaby:"))
                {
                    string   languageByTID = GameLogic.Hold.Language.GetLanguageByTID("Attr_BabyParentContent", Array.Empty <object>());
                    object[] args          = new object[] { languageByTID, goodShowData.goodType };
                    goodShowData.goodType = Utils.FormatString("{0}{1}", args);
                }
                list.Add(goodShowData);
                index++;
            }
            return(list);
        }
        public List <string> GetEquipShowAddAttributes(LocalSave.EquipOne one)
        {
            List <string> list     = new List <string>();
            Equip_equip   beanById = base.GetBeanById(one.EquipID);
            int           index    = 0;
            int           length   = beanById.AdditionSkills.Length;

            while (index < length)
            {
                string item = string.Empty;
                if (!int.TryParse(beanById.AdditionSkills[index], out int num3))
                {
                    string str2 = beanById.AdditionSkills[index];
                    Goods_goods.GoodShowData goodShowData = Goods_goods.GetGoodShowData(str2);
                    if (one.IsBaby && !str2.Contains("EquipBaby:"))
                    {
                        string   languageByTID = GameLogic.Hold.Language.GetLanguageByTID("Attr_BabyParentContent", Array.Empty <object>());
                        object[] args          = new object[] { languageByTID, goodShowData.goodType };
                        goodShowData.goodType = Utils.FormatString("{0}{1}", args);
                    }
                    item = goodShowData.ToString();
                }
                else
                {
                    object[] args = new object[] { num3 };
                    item = GameLogic.Hold.Language.GetLanguageByTID(Utils.FormatString("技能描述{0}", args), Array.Empty <object>());
                }
                list.Add(item);
                index++;
            }
            return(list);
        }