예제 #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);
        }
예제 #2
0
 public void AddSharedFile(SteamDepotSharedFile sharedFile)
 {
     sharedFiles.Add(sharedFile);
 }