Esempio n. 1
0
        public static void AddSharedFile(SteamDepotSharedFile sharedFile)
        {
            if (sharedFile == null)
                throw new ArgumentNullException("sharedFile");

            sharedFile.SourceDepot.AddSharedFile(sharedFile);

            SteamDepot[] clientDepots = sharedFile.GetClientDepots();

            foreach (SteamDepot clientDepot in clientDepots)
                clientDepot.AddSharedFile(sharedFile);
        }
Esempio n. 2
0
 public void AddSharedFile(SteamDepotSharedFile sharedFile)
 {
     sharedFiles.Add(sharedFile);
 }