KSP_AVC.Addon.SetRemoteAvcInfo C# (CSharp) Method

SetRemoteAvcInfo() private method

private SetRemoteAvcInfo ( WWW www ) : void
www UnityEngine.WWW
return void
        private void SetRemoteAvcInfo(WWW www)
        {
            this.RemoteInfo = new AddonInfo(this.LocalInfo.Url, www.text, AddonInfo.RemoteType.AVC);
            this.RemoteInfo.FetchRemoteData();

            if (this.LocalInfo.Version == this.RemoteInfo.Version)
            {
                Logger.Log("Identical remote version found: Using remote version information only.");
                Logger.Log(this.RemoteInfo);
                Logger.Blank();
                this.LocalInfo = this.RemoteInfo;
            }
            else
            {
                Logger.Log(this.LocalInfo);
                Logger.Log(this.RemoteInfo + "\n\tUpdateAvailable: " + this.IsUpdateAvailable);
                Logger.Blank();
            }

            this.IsRemoteReady = true;
            this.IsProcessingComplete = true;
        }