Example #1
0
 // Token: 0x06001AED RID: 6893 RVA: 0x00009B54 File Offset: 0x00007D54
 private void method_1(KeyValuePair <string, string> arg)
 {
     this.class220_0.connect_0.BringToFront();
     this.class220_0.connect_0.Activate();
     DialogBox.smethod_2(Connect.string_16, Connect.string_17, Enum121.const_2);
     Class512.smethod_2(arg.Value);
 }
 // Token: 0x06001C9B RID: 7323 RVA: 0x0000ACCF File Offset: 0x00008ECF
 private void btnLocate_Click(object sender, EventArgs e)
 {
     if (this.method_2())
     {
         Class512.smethod_1((this.lbFiles.SelectedItem as Class524).string_1);
     }
 }
Example #3
0
            // Token: 0x06001B5B RID: 7003 RVA: 0x000549F8 File Offset: 0x00052BF8
            public void method_0()
            {
                DialogResult dialogResult = DialogBox.smethod_6(string.Format(UninstallationCleanUp.string_25, this.string_0.Length), UninstallationCleanUp.string_26, new Enum39[]
                {
                    Enum39.const_5,
                    Enum39.const_6
                });

                if (dialogResult == DialogResult.Yes && this.uninstallationCleanUp_0.folderBrowserDialog_0.ShowDialog() == DialogResult.OK)
                {
                    Class356.smethod_0(this.string_0, this.uninstallationCleanUp_0.folderBrowserDialog_0.SelectedPath);
                    return;
                }
                DialogResult dialogResult2 = DialogBox.smethod_6(string.Format(UninstallationCleanUp.string_23, Class291.string_2), UninstallationCleanUp.string_24, new Enum39[]
                {
                    Enum39.const_5,
                    Enum39.const_6
                });

                if (dialogResult2 != DialogResult.Yes)
                {
                    return;
                }
                Class512.smethod_0(Class291.string_2);
            }
Example #4
0
 // Token: 0x06002005 RID: 8197
 // RVA: 0x000B62FC File Offset: 0x000B44FC
 internal Class93(Class512 class512_1)
     : base(Class41.GetString(OsuString.ScoreDialog_ScoreManagement), false)
 {
     this.class512_0 = class512_1;
     string arg_3D_1 = Class41.GetString(OsuString.ScoreDialog_DeleteScore);
     Color arg_3D_2 = Color.get_YellowGreen();
     EventHandler eventHandler_ = delegate(object sender, EventArgs e)
     {
         Class908.smethod_7(Class466.Current.string_3, this.class512_0.method_1());
         if (Class115.class61_0 is Class68)
         {
             Class68 class = (Class68)Class115.class61_0;
Example #5
0
 // Token: 0x06001DEA RID: 7658 RVA: 0x00060F00 File Offset: 0x0005F100
 public void method_3(Exception ex, string msg)
 {
     ex.smethod_1(new object[]
     {
         msg
     });
     if (DialogResult.Yes == DialogBox.smethod_5(string.Format(Class283.string_0, Class291.CommonApplicationDataDirectory), Class283.string_1, new Enum39[]
     {
         Enum39.const_5,
         Enum39.const_2
     }))
     {
         Class512.smethod_1(Class291.string_17);
     }
     this.action_0();
     this.action_1();
     this.action_2();
     Environment.Exit(0);
 }
Example #6
0
 // Token: 0x0600234A RID: 9034
 // RVA: 0x000D5878 File Offset: 0x000D3A78
 public Class513(Class512 class512_0)
 {
     this.bool_2 = class512_0.bool_2;
     this.int_4 = class512_0.int_4;
     this.string_1 = class512_0.string_1;
     this.string_2 = class512_0.string_2;
     this.string_3 = class512_0.string_3;
     this.ushort_1 = class512_0.ushort_1;
     this.ushort_0 = class512_0.ushort_0;
     this.ushort_2 = class512_0.ushort_2;
     this.ushort_3 = class512_0.ushort_3;
     this.ushort_4 = class512_0.ushort_4;
     this.ushort_5 = class512_0.ushort_5;
     this.int_3 = class512_0.int_3;
     this.int_0 = class512_0.int_0;
     this.bool_4 = class512_0.bool_4;
     this.class623_0 = class512_0.class623_0;
     this.string_4 = class512_0.string_4;
     this.dateTime_0 = class512_0.dateTime_0;
 }
Example #7
0
 // Token: 0x06002A0F RID: 10767
 // RVA: 0x0010CD38 File Offset: 0x0010AF38
 public Class99(Class73 class73_0)
     : base("", true)
 {
     this.class512_0 = class73_0.class512_0;
     this.int_1 = Class908.smethod_2(this.class512_0, true, true);
     if (Class341.class605_20.Value.Length > 0)
     {
         string string_ = string.Concat(new string[]
         {
             "http://osu.ppy.sh/web/osu-rate.php?u=",
             Class341.class605_20,
             "&p=",
             Class341.class605_17,
             "&c=",
             Class466.Current.string_3
         });
         Class133 class = new Class133(string_);
Example #8
0
 // Token: 0x06001F3B RID: 7995
 // RVA: 0x000198E3 File Offset: 0x00017AE3
 internal void method_4()
 {
     this.class512_0 = Class62.class512_0;
     if (!this.bool_0)
     {
         return;
     }
     if (this.class413_0 != null)
     {
         this.class413_0.Reset();
     }
     if (this.class410_0 != null)
     {
         this.class410_0.Reset();
     }
 }
Example #9
0
		// Token: 0x060028E0 RID: 10464
		// RVA: 0x0001F71B File Offset: 0x0001D91B
		internal override void vmethod_0(Class512 class512_1)
		{
			this.class512_0 = class512_1;
			this.int_3 = class512_1.int_3;
		}
Example #10
0
 // Token: 0x0600285C RID: 10332 RVA: 0x000124F7 File Offset: 0x000106F7
 private void ViewScreenshotDirectory_Click(object sender, EventArgs e)
 {
     Class512.smethod_0(this.class112_0.ScreenshotSaveDirectory);
 }
Example #11
0
 // Token: 0x0600285A RID: 10330 RVA: 0x000124EB File Offset: 0x000106EB
 private void ViewDataDirectoryBtn_Click(object sender, EventArgs e)
 {
     Class512.smethod_0(Class291.CommonApplicationDataDirectory);
 }
Example #12
0
 // Token: 0x06002943 RID: 10563
 // RVA: 0x00104454 File Offset: 0x00102654
 internal override void Initialize()
 {
     Class802.class512_0 = (this.class512_1 = Class721.Create(Class62.Mode, "osu!", this.class64_0.class297_0.class296_0));
     this.class64_0.class427_0.vmethod_29();
     Class62.class512_0.bool_0 = false;
     base.Initialize();
 }
Example #13
0
 // Token: 0x06002968 RID: 10600
 // RVA: 0x001054AC File Offset: 0x001036AC
 protected override bool vmethod_7(bool bool_49)
 {
     this.class512_1 = Class802.class512_0;
     this.class533_2 = new Class533("\n", 10f, new Vector2(1f, 44f), Vector2.get_Zero(), 1f, true, Color.get_White(), true);
     this.class533_2.bool_15 = false;
     this.class533_2.bool_17 = false;
     this.class533_2.nullable_2 = new bool?(true);
     this.class911_2.Add(this.class533_2);
     int num = (int)(this.class533_2.vmethod_11().Y * 1f / Class115.float_4);
     this.class533_3 = new Class533(string.Empty, 10f, new Vector2(1f, (float)(50 + num)), Vector2.get_Zero(), 1f, true, Color.get_White(), true);
     this.class533_3.bool_15 = false;
     this.class533_3.bool_17 = false;
     this.class533_3.nullable_2 = new bool?(true);
     this.class911_2.Add(this.class533_3);
     this.class533_4 = new Class533(string.Empty, 10f, new Vector2(1f, this.class533_3.vector2_1.Y + (float)(num * 9) + 6f), Vector2.get_Zero(), 1f, true, new Color(231, 255, 208), true);
     this.class533_4.bool_15 = false;
     this.class533_4.bool_17 = false;
     this.class533_4.nullable_2 = new bool?(true);
     this.class911_2.Add(this.class533_4);
     int num2 = this.int_38;
     if (Class62.Mode == PlayModes.OsuMania)
     {
         num2 = 1000000;
     }
     this.class533_4.Text = string.Format("Star Rating: {3:0.00}\nTotal Play Length: {0}s\nMaximum Score: {1:0,0}\nMaximum Combo: {2:0,0}\n\nTab: autoplay\nCtrl-B: bookmark\nCtrl-P: Toggle pause\nF1: quick exit\nF2: exit at current pos\nF3: change autoplay speed", new object[]
     {
         Class466.Current.int_9,
         num2,
         this.int_37,
         Class466.Current.method_26()
     });
     Class340 class = Class331.smethod_7();