Esempio n. 1
0
 // Token: 0x060027B1 RID: 10161
 // RVA: 0x000F6AD4 File Offset: 0x000F4CD4
 public Class95()
     : base(Class41.GetString(OsuString.JumpToDialog_Title), true)
 {
     this.class911_0.Add(new Class540(new Vector2(10f, 79f), new Vector2((float)(Class115.smethod_43() - 20), 1f), 1f, Color.get_White()));
     this.class911_0.Add(new Class540(new Vector2(10f, 440f), new Vector2((float)(Class115.smethod_43() - 20), 1f), 1f, Color.get_White()));
     Rectangle rectangle_;
     rectangle_..ctor(10, 80, (int)(640f * Class115.smethod_46()) - 20, 360);
     this.class110_0 = new Class110(rectangle_, Vector2.get_Zero(), true, 0f, Enum98.const_5);
     this.class911_1 = new Class911(true);
     this.class911_2 = new Class911(true);
     this.class911_1.method_4(Class115.bool_21, null);
     this.int_1 = Class115.smethod_43();
     this.class533_0 = new Class533(Class41.GetString(OsuString.SongSelection_Collections) + ":", 20f, new Vector2(10f, 30f), 2f, true, new Color(254, 220, 97));
     this.class753_0 = new Class753(this.class911_2, "All", new Vector2(10f, 55f), 140f, 3f);
     this.class756_0 = new Class756(20, new Vector2(10f, 50f), 20, Enum72.const_3);
     this.int_2 = -1;
     this.class911_0.Add<Class531>(this.class756_0.list_0);
     this.class911_0.Add(this.class533_0);
     this.class110_0.method_30(this.class911_1);
     Class754 arg_1FF_0 = this.class756_0;
     Class754.Delegate37 delegate37_ = delegate(Class754 class754_0, bool bool_6)
     {
         if (bool_6)
         {
             if (this.class756_0.method_29() && this.class756_0.string_0.Length == 1)
             {
                 this.int_2 = Class115.int_1;
                 return;
             }
             if (!this.class756_0.method_29())
             {
                 this.int_2 = Class115.int_1 + 300;
             }
         }
     };
     arg_1FF_0.method_3(delegate37_);
     if (Class95.eventHandler_4 == null)
     {
         Class95.eventHandler_4 = new EventHandler(Class95.smethod_2);
     }
     base.method_2(Class95.eventHandler_4);
     this.class753_0.method_9("All", "All");
     this.class753_0.method_18("All", true);
     foreach (string current in Class476.smethod_0().Keys)
     {
         this.class753_0.method_9(current, current);
     }
     this.class753_0.method_0(new EventHandler(this.method_11));
     this.class296_0 = Class466.Current;
     this.method_9();
 }
Esempio n. 2
0
 // Token: 0x06001FB4 RID: 8116
 // RVA: 0x000B473C File Offset: 0x000B293C
 public override void Initialize()
 {
     this.class911_0.Add(new Class531(Class115.class731_0, Enum115.const_4, Origins.TopLeft, Enum114.const_0, Vector2.get_Zero(), 0f, true, this.color_0, null)
     {
         vector2_2 = new Vector2((float)Class115.int_22, (float)Class115.int_23)
     });
     Class533 class530_ = new Class533("Charts /", 28f, new Vector2(27.5f, 60f), 1f, true, Color.get_White())
     {
         origins_0 = Origins.BottomLeft
     };
     this.class911_0.Add(class530_);
     this.class533_0 = new Class533("All Charts", 20f, new Vector2(120f, 58f), 1f, true, new Color(254, 220, 97))
     {
         origins_0 = Origins.BottomLeft
     };
     this.class911_0.Add(this.class533_0);
     this.class756_0 = new Class756(18, new Vector2(27.5f, 33f), 20, Enum72.const_3);
     this.class756_0.method_3(new Class754.Delegate37(this.method_2));
     this.class911_0.Add<Class531>(this.class756_0.list_0);
     this.class911_0.Add(new Class540(new Vector2(27.5f, 62f), new Vector2((float)Class115.smethod_43() - 55f, 1f), 1f, Color.get_White()));
     this.class533_1 = new Class533("All  /  Monthly  /  Themed  /  Special", 14f, new Vector2(27.5f, 70f), 1f, true, Color.get_White())
     {
         origins_0 = Origins.TopLeft
     };
     this.class911_0.Add(this.class533_1);
     this.class110_0 = new Class110(new RectangleF(13.75f, 90f, (float)Class115.smethod_43() - 27.5f, (float)Class115.smethod_44() - 27.5f - 90f), Vector2.get_Zero(), true, 0f, Enum98.const_2);
     Class133 class = new Class133("http://osu.ppy.sh/web/osu-getcharts.php?u={0}&h={1}", new string[]