Chatterer.chatterer.get_latest_version C# (CSharp) Method

get_latest_version() private method

private get_latest_version ( ) : void
return void
        private void get_latest_version()
        {
            bool got_all_info = false;

            WWWForm form = new WWWForm();
            form.AddField("version", this_version);

            WWW version = new WWW("http://rbri.co.nf/ksp/chatterer/get_latest_version.php", form.data);

            while (got_all_info == false)
            {
                if (version.isDone)
                {
                    latest_version = version.text;
                    got_all_info = true;
                }
            }
            recvd_latest_version = true;
            if (debugging) Debug.Log("[CHATR] recv'd latest version info: " + latest_version);
        }
chatterer