Beispiel #1
0
        void DownloadSteamVRRuntime(SteamVRVersion ver, string name, SteamVRDepot depot)
        {
            var dir = string.Format("steamvr-{0}\\{1}", ver.Version, name);

            Console.WriteLine("Working on {0}", dir);
            var dl = new Downloadable();

            dl.AppId      = ver.AppId;
            dl.DepotId    = depot.DepotId;
            dl.ManifestId = depot.ManifestId;
            Download(dir, dl);
        }
Beispiel #2
0
 public static void PopulateDepot(string branch, SteamVRVersion ver, ref SteamVRDepot depot)
 {
     ContentDownloader.Config.ManifestId = ContentDownloader.INVALID_MANIFEST_ID;
     depot.ManifestId = ContentDownloader.GetSteam3DepotManifest(depot.DepotId, ver.AppId, branch);
 }