internal static SongPhraseProperty[] Parse(Sng2014HSL.PhraseExtraInfoByLevelSection phraseExtraInfoByLevelSection) { var phraseProperties = new SongPhraseProperty[phraseExtraInfoByLevelSection.Count]; for (var i = 0; i < phraseExtraInfoByLevelSection.Count; i++) { var spp = new SongPhraseProperty(); spp.PhraseId = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].PhraseId; spp.Redundant = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].Redundant; spp.LevelJump = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].LevelJump; spp.Empty = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].Empty; spp.Difficulty = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].Difficulty; phraseProperties[i] = spp; } return(phraseProperties); }
internal static SongPhraseProperty[] Parse(Sng2014HSL.PhraseExtraInfoByLevelSection phraseExtraInfoByLevelSection) { var phraseProperties = new SongPhraseProperty[phraseExtraInfoByLevelSection.Count]; for (var i = 0; i < phraseExtraInfoByLevelSection.Count; i++) { phraseProperties[i] = new SongPhraseProperty { PhraseId = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].PhraseId, Redundant = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].Redundant, LevelJump = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].LevelJump, Empty = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].Empty, Difficulty = phraseExtraInfoByLevelSection.PhraseExtraInfoByLevel[i].Difficulty }; } return(phraseProperties); }