Exemple #1
0
        public void StartGroupSkillPowerUpAnimation(ConceptCardDetailLevel.EffectCallBack cb)
        {
            this.mCallback = cb;
            int  num1 = this.Master.CalcConceptCardLevel((int)this.mConceptCardData.Rarity, this.mExpStart, (int)this.mConceptCardData.CurrentLvCap);
            bool bGroupSkillPowerUp = this.mAddAwakeLv > 0;

            ConceptCardEffectRoutine.EffectAltData altData = new ConceptCardEffectRoutine.EffectAltData();
            int num2 = this.mAddAwakeLv / (int)MonoSingleton <GameManager> .Instance.MasterParam.FixParam.CardAwakeUnlockLevelCap;

            altData.prevAwakeCount = (int)this.mConceptCardData.AwakeCount - num2;
            altData.prevLevel      = num1;
            this.StartCoroutine(this.GroupSkillPowerUpUpdate(this.mConceptCardData, bGroupSkillPowerUp, altData));
        }
Exemple #2
0
 private IEnumerator GroupSkillMaxPowerUpUpdate(ConceptCardData cardData, bool bGroupSkillMaxPowerUp, ConceptCardEffectRoutine.EffectAltData altData)
 {
     // ISSUE: object of a compiler-generated type is created
     return((IEnumerator) new ConceptCardDetailLevel.\u003CGroupSkillMaxPowerUpUpdate\u003Ec__IteratorFA()
     {
         bGroupSkillMaxPowerUp = bGroupSkillMaxPowerUp,
         cardData = cardData,
         altData = altData,
         \u003C\u0024\u003EbGroupSkillMaxPowerUp = bGroupSkillMaxPowerUp,
         \u003C\u0024\u003EcardData = cardData,
         \u003C\u0024\u003EaltData = altData,
         \u003C\u003Ef__this = this
     });
 }
 public IEnumerator PlayGroupSkilMaxPowerUp(Canvas overlayCanvas, ConceptCardData data, ConceptCardEffectRoutine.EffectAltData altData)
 {
     // ISSUE: object of a compiler-generated type is created
     return((IEnumerator) new ConceptCardEffectRoutine.\u003CPlayGroupSkilMaxPowerUp\u003Ec__Iterator100()
     {
         overlayCanvas = overlayCanvas,
         data = data,
         altData = altData,
         \u003C\u0024\u003EoverlayCanvas = overlayCanvas,
         \u003C\u0024\u003Edata = data,
         \u003C\u0024\u003EaltData = altData,
         \u003C\u003Ef__this = this
     });
 }
 private IEnumerator EffectRoutine(Canvas overlayCanvas, string path, ConceptCardEffectRoutine.EffectType type = ConceptCardEffectRoutine.EffectType.DEFAULT, ConceptCardData data = null, ConceptCardEffectRoutine.EffectAltData altData = null)
 {
     // ISSUE: object of a compiler-generated type is created
     return((IEnumerator) new ConceptCardEffectRoutine.\u003CEffectRoutine\u003Ec__Iterator101()
     {
         path = path,
         overlayCanvas = overlayCanvas,
         type = type,
         data = data,
         altData = altData,
         \u003C\u0024\u003Epath = path,
         \u003C\u0024\u003EoverlayCanvas = overlayCanvas,
         \u003C\u0024\u003Etype = type,
         \u003C\u0024\u003Edata = data,
         \u003C\u0024\u003EaltData = altData
     });
 }