public Game( Game game ) { Id = game.Id; Executable32Bit = game.Executable32Bit; Executable64Bit = game.Executable64Bit; Launcher = game.Launcher; Name = game.Name; CompanyName = game.CompanyName; BoxArt = game.BoxArt; ExternalId = game.ExternalId; }
public InstalledGame( Game game, DirectoryInfo directory ) : base(game) { InstanceId = Guid.NewGuid(); ExecutableDirectory = directory.ToString(); LauncherDirectory = GetLauncherDirectory(); LoadImages(); LoadVersion(); watcher = new DelayedFileSystemWatcher(); watcher.Path = ExecutableDirectory; watcher.Filter = Executable32Bit; }
public InstalledGame( Game game, FileInfo file ) : this(game, file.Directory) { }