Beispiel #1
0
 // Token: 0x0600511E RID: 20766 RVA: 0x00182B90 File Offset: 0x00180D90
 public static ProRiftLevel RiftLevelToPBRiftLevel(RiftLevel riftLevel)
 {
     return(new ProRiftLevel
     {
         LevelId = riftLevel.LevelId,
         Nums = riftLevel.Nums,
         Star = riftLevel.Stars
     });
 }
Beispiel #2
0
        // Token: 0x06005115 RID: 20757 RVA: 0x00182A4C File Offset: 0x00180C4C
        public static ProRiftChapter RiftChapterToPBRiftChapter(RiftChapter riftChapter)
        {
            ProRiftChapter proRiftChapter = new ProRiftChapter();

            foreach (RiftLevel riftLevel in riftChapter.ChapterLevels)
            {
                proRiftChapter.ChapterLevels.Add(RiftLevel.RiftLevelToPBRiftLevel(riftLevel));
            }
            foreach (int item in riftChapter.StarRewardIndexes)
            {
                proRiftChapter.StarRewardIndexes.Add(item);
            }
            return(proRiftChapter);
        }
Beispiel #3
0
        // Token: 0x06005114 RID: 20756 RVA: 0x0018298C File Offset: 0x00180B8C
        public static RiftChapter PBRiftChapterToRiftCHapter(ProRiftChapter pbRiftChapter)
        {
            RiftChapter riftChapter = new RiftChapter();

            foreach (ProRiftLevel pbRiftLevel in pbRiftChapter.ChapterLevels)
            {
                riftChapter.ChapterLevels.Add(RiftLevel.PBRiftLevelToRiftLevel(pbRiftLevel));
            }
            foreach (int item in pbRiftChapter.StarRewardIndexes)
            {
                riftChapter.StarRewardIndexes.Add(item);
            }
            return(riftChapter);
        }
Beispiel #4
0
 // Token: 0x06004D07 RID: 19719 RVA: 0x00179F4C File Offset: 0x0017814C
 public int GetLevelChallengeNums(RiftLevel riftLevel)
 {
     return(riftLevel.Nums);
 }
Beispiel #5
0
 // Token: 0x06004D06 RID: 19718 RVA: 0x00179F34 File Offset: 0x00178134
 public void AddLevelChallengeNums(RiftLevel riftLevel, int nums)
 {
     riftLevel.Nums += nums;
     base.SetDirty(true);
 }