Example #1
0
 public LevelChallengeDataItem(int challengeId, LevelMetaData levelMeta, int rewardId = 0)
 {
     this.challengeId = challengeId;
     this._metaData   = LevelChallengeMetaDataReader.GetLevelChallengeMetaDataByKey(challengeId);
     if (this.IsFinishStageFastChallenge() || this.IsFinishStageVeryFastChallenge())
     {
         int num = !this.IsFinishStageFastChallenge() ? levelMeta.sonicBonusTime : levelMeta.fastBonusTime;
         this._metaData = new LevelChallengeMetaData(this._metaData.challengeId, this._metaData.conditionId, new List <int> {
             num
         }, this._metaData.diaplayTarget);
     }
     this.Finished = false;
 }