コード例 #1
0
 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;
 }
コード例 #2
0
        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;
        }
コード例 #3
0
 public InstalledGame( Game game, FileInfo file )
     : this(game, file.Directory)
 {
 }