internal static HeroLevel[] Parse(DLCPackage.Manifest.PhraseIteration phraseIteration) { var heroLevels = new HeroLevel[3]; for (var i = 0; i < heroLevels.Length; i++) { heroLevels[i] = new HeroLevel { Hero = i + 1, Difficulty = (byte) phraseIteration.MaxScorePerDifficulty[i] }; } return heroLevels; }
internal static HeroLevel[] Parse(DLCPackage.Manifest.PhraseIteration phraseIteration) { var heroLevels = new HeroLevel[3]; for (var i = 0; i < heroLevels.Length; i++) { var hero = new HeroLevel(); hero.Hero = i + 1; hero.Difficulty = (byte)phraseIteration.MaxScorePerDifficulty[i]; heroLevels[i] = hero; } return(heroLevels); }
internal static HeroLevel[] Parse(Sng2014HSL.PhraseIteration phraseIteration) { var heroLevels = new HeroLevel[3]; for (var i = 0; i < heroLevels.Length; i++) { var hero = new HeroLevel(); hero.Hero = i + 1; hero.Difficulty = (byte)phraseIteration.Difficulty[i]; heroLevels[i] = hero; } return(heroLevels); }
public static SongPhraseIteration2014[] Parse(Sng2014HSL.PhraseIterationSection piSection) { var piter = new SongPhraseIteration2014[piSection.Count]; for (int i = 0; i < piSection.Count; i++) { var pi = new SongPhraseIteration2014(); pi.PhraseId = piSection.PhraseIterations[i].PhraseId; pi.Time = piSection.PhraseIterations[i].StartTime; pi.Variation = ""; if (!piSection.PhraseIterations[i].Difficulty.SequenceEqual(new Int32[] { 0, 0, 0 })) { pi.HeroLevels = HeroLevel.Parse(piSection.PhraseIterations[i]); } piter[i] = pi; } return(piter); }
internal static HeroLevel[] Parse(Sng2014HSL.PhraseIteration phraseIteration) { var heroLevels = new HeroLevel[3]; for(var i = 0; i < heroLevels.Length; i++) { var hero = new HeroLevel(); hero.Hero = i + 1; hero.Difficulty = (byte)phraseIteration.Difficulty[i]; heroLevels[i] = hero; } return heroLevels; }