public static void CalcTotalExpTrust(ConceptCardData selectedCard, MultiConceptCard materials, out int mixTotalExp, out int mixTrustExp, out int mixTotalAwakeLv)
        {
            int num = 0;

            mixTotalExp     = 0;
            mixTrustExp     = 0;
            mixTotalAwakeLv = 0;
            using (List <ConceptCardData> .Enumerator enumerator = materials.GetList().GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    ConceptCardData current = enumerator.Current;
                    mixTotalExp += current.MixExp;
                    mixTrustExp += current.Param.en_trust;
                    if (selectedCard != null && selectedCard.Param.iname == current.Param.iname)
                    {
                        mixTrustExp += (int)MonoSingleton <GameManager> .Instance.MasterParam.FixParam.CardTrustPileUp;
                    }
                    if (selectedCard != null && selectedCard.Param.iname == current.Param.iname && (int)selectedCard.AwakeCount + num < selectedCard.AwakeCountCap)
                    {
                        ++num;
                    }
                }
            }
            mixTotalAwakeLv = (int)MonoSingleton <GameManager> .Instance.MasterParam.FixParam.CardAwakeUnlockLevelCap * num;
        }
 public static void GalcTotalMixZeny(MultiConceptCard materials, out int totalMixZeny)
 {
     totalMixZeny = 0;
     using (List <ConceptCardData> .Enumerator enumerator = materials.GetList().GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             ConceptCardData current = enumerator.Current;
             totalMixZeny += current.Param.en_cost;
         }
     }
 }
        public static string GetWarningTextByMaterials(MultiConceptCard materials)
        {
            string empty = string.Empty;
            bool   flag  = false;

            using (List <ConceptCardData> .Enumerator enumerator = materials.GetList().GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    if ((int)enumerator.Current.Rarity >= 3)
                    {
                        flag = true;
                    }
                }
            }
            if (flag)
            {
                empty = LocalizedText.Get("sys.CONCEPT_CARD_WARNING_HIGH_RARITY");
            }
            return(empty);
        }