예제 #1
0
 public static void Play(ModFile f)
 {
     if (!f.Enabled)
     {
         ModPlayer.Play(f.Base);
         return;
     }
     ModPlayer.Play(f.FilePath);
 }
예제 #2
0
        public static void Play(ElswordFile f)
        {
            string fileName = f.FileName;

            ModPlayer.Play(Path.Combine((fileName.EndsWith(".ogg") ? Paths.Elsword.Music : Paths.Elsword.Movie), fileName));
        }