public GameDatabase(IGogLibrary gogLibrary, ISteamLibrary steamLibrary, IOriginLibrary originLibrary, IUplayLibrary uplayLibrary) { this.gogLibrary = gogLibrary; this.steamLibrary = steamLibrary; this.originLibrary = originLibrary; this.uplayLibrary = uplayLibrary; }
public GameDatabase() { gogLibrary = new GogLibrary(); steamLibrary = new SteamLibrary(); originLibrary = new OriginLibrary(); uplayLibrary = new UplayLibrary(); }
public GameDatabase(Settings settings, IGogLibrary gogLibrary, ISteamLibrary steamLibrary, IOriginLibrary originLibrary, IUplayLibrary uplayLibrary, IBattleNetLibrary battleNetLibrary) { AppSettings = settings; this.gogLibrary = gogLibrary; this.steamLibrary = steamLibrary; this.originLibrary = originLibrary; this.uplayLibrary = uplayLibrary; this.battleNetLibrary = battleNetLibrary; }
public GameDatabase(Settings settings) { AppSettings = settings; gogLibrary = new GogLibrary(); steamLibrary = new SteamLibrary(); originLibrary = new OriginLibrary(); uplayLibrary = new UplayLibrary(); battleNetLibrary = new BattleNetLibrary(); }
public SteamGameStateMonitor(string id, ISteamLibrary steamLibrary) { this.id = id; library = steamLibrary; watchers = new List <FileSystemWatcher>(); foreach (var folder in library.GetLibraryFolders()) { var watcher = new FileSystemWatcher() { NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName, Path = Path.Combine(folder, "steamapps"), Filter = string.Format("appmanifest_{0}.acf", id) }; watchers.Add(watcher); } }
public GameDatabase(Settings settings, string path, IGogLibrary gogLibrary, ISteamLibrary steamLibrary, IOriginLibrary originLibrary, IUplayLibrary uplayLibrary, IBattleNetLibrary battleNetLibrary) : this(settings, gogLibrary, steamLibrary, originLibrary, uplayLibrary, battleNetLibrary) { Path = path; }