public async Task method_1() { string sUrl = GClass829.smethod_1(this.Web.Server, "internalSkylab"); DarkOrbitWebAPI.Response response = await this.Web.GetAsync(sUrl, null); response.Data.EnsureSuccessStatusCode(); this.method_0().method_9(response.Content); }
private void enoHxSomUi(object sender, RoutedEventArgs e) { BrowserWindow.dKnHyFdWmi(); this.method_0(); object arg = this.Browser.GetType().InvokeMember("ActiveXInstance", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.GetProperty, null, this.Browser, new object[0]); if (BrowserWindow.< > o__19.< > p__0 == null) { BrowserWindow.< > o__19.< > p__0 = CallSite <Func <CallSite, object, bool, object> > .Create(Microsoft.CSharp.RuntimeBinder.Binder.SetMember(CSharpBinderFlags.None, "Silent", typeof(BrowserWindow), new CSharpArgumentInfo[] { CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.None, null), CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.UseCompileTimeType | CSharpArgumentInfoFlags.Constant, null) })); } BrowserWindow.< > o__19.< > p__0.Target(BrowserWindow.< > o__19.< > p__0, arg, true); Uri uri = new Uri("https://" + this.Server + ".darkorbit.com"); foreach (object obj in this.Web.Cookies.GetCookies(uri)) { Cookie cookie = (Cookie)obj; Application.SetCookie(uri, cookie.Name + "=" + cookie.Value); } this.Browser.Navigate(GClass829.smethod_1(this.Server, null) ?? ""); }
public static string smethod_9(string string_1) { return(GClass829.smethod_1(string_1, "internalNanoTechFactory")); }
public static string smethod_4(string string_1) { return(GClass829.smethod_1(string_1, "externalLogout")); }
public static string smethod_2(string string_1) { return(GClass829.smethod_1(string_1, "internalMapRevolution")); }
public async Task <bool> method_2(int int_0, int int_1) { Dictionary <string, string> data = new Dictionary <string, string> { { "reloadToken", this.Web.ReloadToken }, { "action", "internalSkylab" }, { "subaction", "startTransport" }, { "mode", "normal" }, { "construction", "TRANSPORT_MODULE" }, { "count_prometium", "0" }, { "count_endurium", "0" }, { "count_terbium", "0" }, { "count_prometid", "0" }, { "count_duranium", "0" }, { "count_xenomit", "0" }, { "count_promerium", string.Format("{0}", int_0) }, { "count_seprom", string.Format("{0}", int_1) } }; DarkOrbitWebAPI.Response response = await this.Web.PostAsync(GClass829.smethod_1(this.Web.Server, null), data, GClass829.smethod_1(this.Web.Server, "internalSkylab"), null); bool result; if (!response.Data.IsSuccessStatusCode) { result = false; } else { this.method_0().method_9(response.Content); result = (this.method_0().method_10("transportModule").method_0() != null); } return(result); }