예제 #1
0
        protected IEnumerable <CGameCtnGhost> ExtractAllGhosts(CGameCtnMediaClipGroup clipGroup)
        {
            var ghosts = Enumerable.Empty <CGameCtnGhost>();

            foreach (var clip in clipGroup.Clips)
            {
                ghosts = ghosts.Concat(ExtractGhosts(clip.Item1));
            }

            return(ghosts);
        }
예제 #2
0
 protected Dictionary <CGameCtnMediaClip, IEnumerable <CGameCtnGhost> > ExtractAllGhostsDictionary(CGameCtnMediaClipGroup clipGroup)
 {
     return(clipGroup.Clips.ToDictionary(x => x.Item1, x => ExtractGhosts(x.Item1)));
 }