0.2.0-dev Download ZIP
20 lines ·599 B Raw
| 1 | using EvilEngine.Adapters.Source.Sounds; |
| 2 | using EvilEngine.Adapters.Steam; |
| 3 | using EvilEngine.Conversion; |
| 4 | |
| 5 | namespace EvilEngine.Adapters.Left4Dead2; |
| 6 | |
| 7 | public sealed class Left4Dead2 : IAdapter |
| 8 | { |
| 9 | public const string Game = "left4dead2"; |
| 10 | |
| 11 | public const string AppId = "550"; |
| 12 | |
| 13 | public void Register(AdapterContext context) |
| 14 | { |
| 15 | context.AddGame(new Left4Dead2Game()); |
| 16 | context.AddConverter(Game, new MusicFileConverter()); |
| 17 | context.AddConverter(Game, |
| 18 | SourceSoundtracks.Records(SteamFinder.StoreName, new SourceTitle("Left 4 Dead 2", AppId), ["update"])); |
| 19 | } |
| 20 | } |