NScumm.Scumm.Sound.SetupSfxFile C# (CSharp) Метод

SetupSfxFile() публичный Метод

public SetupSfxFile ( ) : void
Результат void
        void SetupSfxFile()
        {
            var dir = ServiceLocator.FileStorage.GetDirectoryName(vm.Game.Path);
            _sfxFilename = (from filename in new[] { vm.Game.Id + ".sou", "monster.sou" }
                            let path = ScummHelper.NormalizePath(ServiceLocator.FileStorage.Combine(dir, filename))
                            where path != null
                            select path).FirstOrDefault();
        }