void RequestDownloads() { ProgressUI.SetMessage("Downloading files", "Waiting for headers..."); ProgressUI.Show(); Debug.Log("Requesting downloads"); LargeRPC download = new LargeRPC("InitialGameDownload"); download.ListenForDownload(); download.OnDownloadComplete += FinishedDownloadingFromHost; download.OnProgressUpdated += UpdateProgressBar; CustomMessagingManager.SendNamedMessage("DownloadFilesRequest", NetworkingManager.Singleton.ServerClientId, Stream.Null); }
public void Test_OpenToFileReception() { LargeRPC download = new LargeRPC("gameDownload"); download.ListenForDownload(); }