Ejemplo n.º 1
0
 // Token: 0x06003136 RID: 12598
 // RVA: 0x001424B8 File Offset: 0x001406B8
 public Class525()
     : base(false)
 {
     this.class531_1 = new Class531(Class885.Load("notification", Enum112.flag_1), Enum115.const_17, Origins.Centre, Enum114.const_0, new Vector2(0f, 0f), 0.8f, true, new Color(0, 0, 0, 128), null);
     this.class911_0.Add(this.class531_1);
     this.class531_0 = new Class531(Class885.Load("loading-small", Enum112.flag_1), Enum115.const_17, Origins.Centre, Enum114.const_0, new Vector2(-100f, 11f), 1f, true, Color.get_White(), null);
     Class746 class = new Class746(TransformationType.Rotation, 0f, 6.28318548f, Class115.int_1, Class115.int_1 + 1500, Enum70.const_0);
Ejemplo n.º 2
0
 // Token: 0x06002D86 RID: 11654
 // RVA: 0x00127F70 File Offset: 0x00126170
 internal Class752(string string_0, object object_1, Vector2 vector2_0, float float_0, bool bool_2, bool bool_3, Class746 class746_0, bool bool_4)
 {
     EventHandler eventHandler = null;
     base..ctor(string_0, object_1, vector2_0, float_0, bool_2, bool_3, class746_0, 1f);
     this.bool_1 = bool_4;
     if (bool_4)
     {
         this.class531_1 = new Class531(Class885.Load("selection-tab-close", Enum112.flag_1), Enum115.const_5, Origins.TopLeft, Enum114.const_0, vector2_0, float_0 + 0.0002f, true, new Color(255, 255, 255, 1), null);
         this.class531_1.vector2_5 = new Vector2(-49f, 8f);
         this.class531_1.object_0 = this;
         this.list_0.Add(this.class531_1);
         this.class531_2 = new Class531(Class885.Load("selection-tab-close", Enum112.flag_1), Enum115.const_5, Origins.TopLeft, Enum114.const_0, vector2_0, float_0 + 0.0002f, true, new Color(255, 255, 255, 1), null);
         this.class531_2.vector2_5 = new Vector2(-49f, 8f);
         this.class531_2.bool_1 = true;
         this.class531_2.method_2(new EventHandler(this.method_5));
         this.class531_2.object_0 = this;
         this.class531_2.float_4 = -10f;
         this.class531_2.method_35(delegate(object sender, EventArgs e)
         {
             this.class531_2.float_3 = this.class531_0.float_3 * 1f;
             this.class531_2.color_0 = Color.get_White();
         });
         Class531 arg_15E_0 = this.class531_2;
         if (eventHandler == null)
         {
             eventHandler = new EventHandler(this.method_6);
         }
         arg_15E_0.method_37(eventHandler);
         this.list_0.Add(this.class531_2);
         this.class531_0.method_35(new EventHandler(this.method_3));
         this.class531_0.method_37(new EventHandler(this.method_2));
     }
 }
Ejemplo n.º 3
0
 // Token: 0x060028C5 RID: 10437
 // RVA: 0x00100D14 File Offset: 0x000FEF14
 internal Class658(Class911 class911_1, ProgressBarTypes progressBarTypes_0, float float_1)
 {
     this.class911_0 = class911_1;
     Enum115 enum115_;
     switch (progressBarTypes_0)
     {
     case ProgressBarTypes.Pie:
         return;
     case ProgressBarTypes.BottomRight:
         this.vector2_0 = new Vector2(118f, 460f);
         this.float_0 = 118f;
         enum115_ = Enum115.const_7;
         goto IL_9D;
     case ProgressBarTypes.Bottom:
         this.vector2_0 = new Vector2(0f, 477f);
         this.float_0 = (float)Class115.int_22 / Class115.float_4;
         enum115_ = Enum115.const_5;
         goto IL_9D;
     }
     this.vector2_0 = new Vector2(178f, float_1 - 2f);
     this.float_0 = 170f;
     enum115_ = Enum115.const_7;
     IL_9D:
     this.class531_0 = new Class531(Class115.class731_0, enum115_, Origins.TopLeft, Enum114.const_0, this.vector2_0, 0.938f, true, new Color(255, 255, 255, 20), null);
     this.class531_0.float_2 = 1.6f;
     this.class531_0.vector2_2 = new Vector2(this.float_0, 3f);
     this.class531_0.bool_7 = true;
     class911_1.Add(this.class531_0);
     this.class531_1 = new Class531(Class115.class731_0, enum115_, Origins.TopLeft, Enum114.const_0, this.vector2_0, 0.94f, true, new Color(255, 255, 128, 128), null);
     this.class531_1.float_2 = 1.6f;
     this.class531_1.vector2_2 = new Vector2(0f, 3f);
     this.class531_1.bool_7 = true;
     class911_1.Add(this.class531_1);
 }
Ejemplo n.º 4
0
 // Token: 0x06002D74 RID: 11636
 // RVA: 0x001279DC File Offset: 0x00125BDC
 internal Class750(string string_0, object object_1, Vector2 vector2_0, float float_0, bool bool_1, bool bool_2, Class746 class746_0, float float_1)
 {
     this.class531_0 = new Class531(bool_2 ? Class885.Load("selection-tab", Enum112.flag_6) : Class885.Load("selection-tab", Enum112.flag_1), Enum115.const_5, Origins.TopLeft, Enum114.const_0, vector2_0, float_0, true, class746_0.color_0, null);
     if (bool_1)
     {
         this.class531_0.method_43(true);
     }
     this.class531_0.class746_1 = class746_0;
     this.class531_0.method_35(delegate(object sender, EventArgs e)
     {
         Class331.smethod_36(null, "click-short", 1f, false);
     });
     this.class531_0.vector2_5 = new Vector2(70f, 12f);
     this.class531_0.object_0 = this;
     this.object_0 = (object_1 ?? this);
     int num = (int)(13f / float_1);
     if (!string.IsNullOrEmpty(string_0))
     {
         string_0 = ((string_0.Length > num) ? (string_0.Remove(num) + "..") : string_0);
         this.class531_0.bool_1 = true;
         this.class531_0.method_2(new EventHandler(this.method_1));
     }
     else
     {
         this.class531_0.color_0 = new Color(160, 8, 42);
     }
     this.class533_0 = new Class533(string_0, 12f * float_1, vector2_0, new Vector2(82f, 12f) * float_1, float_0 + 0.0001f, true, Color.get_White(), false);
     this.class533_0.bool_16 = true;
     this.class533_0.method_58(true);
     this.class533_0.origins_0 = Origins.Centre;
     this.class533_0.enum72_0 = Enum72.const_2;
     this.list_0.Add(this.class531_0);
     this.list_0.Add(this.class533_0);
 }
Ejemplo n.º 5
0
 // Token: 0x06001D41 RID: 7489
 // RVA: 0x0009E9F8 File Offset: 0x0009CBF8
 public Class404(Class392 class392_1, EventHandler eventHandler_0)
 {
     this.class392_0 = class392_1;
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, Vector2.get_Zero(), 0.1f, true, new Color(8, 8, 8, 191), null);
     this.class531_0.float_3 = 0.01f;
     this.class531_0.float_2 = 1.6f;
     this.class531_0.vector2_2 = new Vector2(160f, 40f);
     this.class531_0.bool_1 = true;
     this.class531_0.method_2(eventHandler_0);
     this.class531_0.bool_2 = true;
     this.class531_0.method_35(new EventHandler(this.method_1));
     this.class531_0.method_37(new EventHandler(this.method_0));
     this.class531_0.object_0 = this.class392_0;
     this.list_0.Add(this.class531_0);
     this.class531_1 = new Class531(Class115.class731_0, Enum115.const_7, Origins.TopRight, Enum114.const_0, Vector2.get_Zero(), 0.11f, true, Class885.color_1, null);
     this.class531_1.float_3 = 0f;
     this.class531_1.float_2 = 1.6f;
     this.class531_1.vector2_2 = new Vector2(4f, 40f);
     this.list_0.Add(this.class531_1);
     this.class534_0 = new Class534(class392_1.fontAwesome_0, 18f, new Vector2(20f, 20f))
     {
         color_0 = new Color(153, 153, 153)
     };
     this.list_0.Add(this.class534_0);
     this.class533_0 = new Class533(class392_1.string_0, 14f, new Vector2(45f, 20f), 0.5f, true, Color.get_White())
     {
         origins_0 = Origins.CentreLeft
     };
     this.list_0.Add(this.class533_0);
 }
Ejemplo n.º 6
0
		// Token: 0x06001CF3 RID: 7411
		// RVA: 0x0009B40C File Offset: 0x0009960C
		public Class398()
		{
			base.method_1(new Vector2(244f, 30f));
			this.class531_0 = Class599.smethod_0(Class885.smethod_37());
			this.class531_0.enum115_0 = Enum115.const_5;
			this.class531_0.vector2_2 = new Vector2(0.5f, 0.5f);
			this.class531_0.vector2_1 = new Vector2(base.method_0().X / 2f, base.method_0().Y / 2f);
			this.class911_0.Add(this.class531_0);
		}
Ejemplo n.º 7
0
 // Token: 0x060028C9 RID: 10441
 // RVA: 0x00100EB4 File Offset: 0x000FF0B4
 internal Class659(Class911 class911_1, Vector2 vector2_1)
     : base(class911_1, ProgressBarTypes.Pie, 34f)
 {
     this.vector2_0 = vector2_1;
     this.class531_2 = new Class531(Class885.Load("circularmetre", Enum112.flag_1), Enum115.const_7, Origins.Centre, Enum114.const_0, vector2_1, 0.95f, true, Color.get_White(), null);
     class911_1.Add(this.class531_2);
     this.class82_0.vector2_0 = new Vector2((float)Class115.int_22 / Class115.float_4 - vector2_1.X, vector2_1.Y);
     this.class82_0.float_1 = 10f;
 }
Ejemplo n.º 8
0
 // Token: 0x06002B1F RID: 11039
 // RVA: 0x001173F8 File Offset: 0x001155F8
 internal Class703(Class531 class531_1, string string_2, int int_6, int int_7)
 {
     this.class531_0 = class531_1;
     this.class538_0 = (class531_1 as Class538);
     this.int_5 = 0;
     this.int_5 = int_6;
     this.eventTypes_0 = EventTypes.Animation;
     this.int_4 = int_7;
     this.string_0 = string_2.Replace(Class466.Current.method_3() + Path.DirectorySeparatorChar, string.Empty);
 }
Ejemplo n.º 9
0
 // Token: 0x060025AE RID: 9646
 // RVA: 0x000E32C4 File Offset: 0x000E14C4
 public Class599(string string_0)
 {
     this.class533_0 = new Class533("", 14f, new Vector2((float)(Class115.smethod_43() / 2), 240f), 1f, true, Color.get_White());
     this.class533_0.origins_0 = Origins.Centre;
     this.class911_1.Add(new Class531(Class885.Load("beatmapimport-top", Enum112.flag_1), Vector2.get_Zero(), 1f, true, Color.get_White()));
     this.class531_0 = Class599.smethod_0(new Color(255, 96, 171));
     this.class531_0.method_15(2000);
     Class531 expr_C6_cp_0 = this.class531_0;
     expr_C6_cp_0.vector2_1.Y = expr_C6_cp_0.vector2_1.Y + 70f;
     this.class911_1.Add(this.class531_0);
     this.method_0(string_0);
 }
Ejemplo n.º 10
0
 // Token: 0x06002F19 RID: 12057
 // RVA: 0x0013204C File Offset: 0x0013024C
 internal Class796(Class911 class911_0, Vector2 vector2_1, Class799 class799_1)
 {
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, vector2_1, 0.999f, true, Color.get_Gray(), null);
     this.class531_0.float_2 = 1.6f;
     this.class531_0.float_3 = 0f;
     class911_0.Add(this.class531_0);
     this.class799_0 = class799_1;
     this.vector2_0 = vector2_1;
     this.class533_0 = new Class533[10];
     for (int i = 0; i < 10; i++)
     {
         this.class533_0[i] = new Class533("", 15f, vector2_1 + new Vector2(0f, (float)(15 * i)), 1f, true, Color.get_White());
         this.class533_0[i].float_3 = 0f;
         class911_0.Add(this.class533_0[i]);
     }
 }
Ejemplo n.º 11
0
 // Token: 0x06001D86 RID: 7558
 // RVA: 0x000A0AB8 File Offset: 0x0009ECB8
 public Class81()
     : base(Class115.class114_0)
 {
     this.list_0.Add(this.class85_1 = new Class85(Class331.class608_0, "effect volume", new Vector2(-100f, 170f), 0.8f, false, new EventHandler(this.method_1)));
     this.list_0.Add(this.class85_0 = new Class85(Class331.class608_2, "master volume", new Vector2(0f, 140f), 1f, true, new EventHandler(this.method_1)));
     this.list_0.Add(this.class85_2 = new Class85(Class331.class608_1, "music volume", new Vector2(100f, 170f), 0.8f, false, new EventHandler(this.method_1)));
     this.class911_0.Add(this.class531_0 = new Class531(Class885.Load("volume-background-gradient", Enum112.flag_1), Enum115.const_11, Origins.BottomLeft, Enum114.const_0, Vector2.get_Zero(), 0f, true, Color.get_TransparentWhite(), null));
     this.class85_0.vmethod_0(new EventHandler(this.method_2));
     this.class85_3 = this.class85_0;
     Class802.smethod_34(Enum96.const_1, new Delegate46(this.method_5), Enum98.const_1, Enum97.const_1);
     Class802.smethod_34(Enum96.const_0, new Delegate46(this.method_6), Enum98.const_1, Enum97.const_1);
     Class802.smethod_34(Enum96.const_1, new Delegate46(this.method_7), Enum98.const_7, Enum97.const_1);
     Class802.smethod_34(Enum96.const_0, new Delegate46(this.method_8), Enum98.const_7, Enum97.const_1);
     Class802.smethod_34(Enum96.const_1, new Delegate46(this.method_9), Enum98.const_8, Enum97.const_1);
     Class802.smethod_34(Enum96.const_0, new Delegate46(this.method_10), Enum98.const_8, Enum97.const_1);
 }
Ejemplo n.º 12
0
 // Token: 0x06001CCD RID: 7373
 // RVA: 0x0009A2FC File Offset: 0x000984FC
 public Class395(string string_0)
 {
     this.class533_0 = new Class533(string_0.ToUpper(), 12f, new Vector2(10f, 0f), 1f, true, Color.get_White());
     this.class533_0.bool_16 = true;
     this.class911_0.Add(this.class533_0);
     base.method_1(new Vector2(0f, 14f));
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, new Vector2(5f, 0f))
     {
         float_2 = 1.6f,
         vector2_2 = new Vector2(2f, 0f),
         bool_0 = true,
         bool_7 = true,
         color_0 = new Color(255, 255, 255, 40)
     };
     this.method_13();
     this.class911_0.Add(this.class531_0);
     base.method_8(string_0);
 }
Ejemplo n.º 13
0
 // Token: 0x060028BD RID: 10429
 // RVA: 0x001005D8 File Offset: 0x000FE7D8
 internal Class657(Class64 class64_1, Class911 class911_1)
 {
     this.class64_0 = class64_1;
     this.class911_0 = class911_1;
     this.class533_0 = new Class533("Blue Team", 16f, new Vector2(0f, 100f), 1f, true, Color.get_White());
     this.class533_0.bool_16 = true;
     this.class533_0.method_58(true);
     class911_1.Add(this.class533_0);
     this.class533_1 = new Class533("Red Team", 16f, new Vector2((float)Class115.smethod_43(), 100f), 1f, true, Color.get_White());
     this.class533_1.method_58(true);
     this.class533_1.bool_16 = true;
     this.class533_1.origins_0 = Origins.TopRight;
     class911_1.Add(this.class533_1);
     this.bool_0 = (Class64.class10_0.matchScoringType == MatchScoringTypes.Accuracy);
     this.class666_0 = new Class666(class911_1, new Vector2(0f, 120f), false, 0.7f, !this.bool_0, this.bool_0);
     this.class666_1 = new Class666(class911_1, new Vector2(0f, 120f), true, 0.7f, !this.bool_0, this.bool_0);
     this.class531_0 = new Class531(Class885.Load("lobby-crown", Enum112.flag_1), Origins.Centre, new Vector2((float)(Class115.smethod_43() / 2), 90f), 0.99f, true, Color.get_Yellow());
     this.class531_0.float_2 = 1.2f;
     class911_1.Add(this.class531_0);
     this.class531_1 = new Class531(Class885.Load("lobby-crown", Enum112.flag_1), Origins.Centre, new Vector2((float)(Class115.smethod_43() / 2), 90f), 1f, true, Color.get_Yellow());
     this.class531_1.bool_7 = true;
     Class746 class = new Class746(TransformationType.Scale, 1.2f, 1.3f, Class115.int_1, Class115.int_1 + 1000, Enum70.const_2);
Ejemplo n.º 14
0
 // Token: 0x06002C10 RID: 11280
 // RVA: 0x0011D7E4 File Offset: 0x0011B9E4
 protected override void vmethod_14(Class531 class531_0, bool bool_2, bool bool_3)
 {
     if (bool_2)
     {
         class531_0.class26_0.Add(new Class746(TransformationType.Scale, 0.6f, 1.1f, Class331.int_7, (int)((double)Class331.int_7 + (double)Class297.int_7 * 0.8), Enum70.const_0));
         class531_0.class26_0.Add(new Class746(TransformationType.Scale, 1.1f, 0.9f, Class331.int_7 + Class297.int_7, (int)((double)Class331.int_7 + (double)Class297.int_7 * 1.2), Enum70.const_0));
         class531_0.class26_0.Add(new Class746(TransformationType.Scale, 0.9f, 1f, Class331.int_7 + Class297.int_7, (int)((double)Class331.int_7 + (double)Class297.int_7 * 1.4), Enum70.const_0));
     }
     class531_0.class26_0.Add(new Class746(TransformationType.Fade, 0f, 1f, Class331.int_7, Class331.int_7 + Class297.int_7, Enum70.const_0));
     class531_0.class26_0.Add(new Class746(TransformationType.Fade, 1f, 0f, Class331.int_7 + Class297.int_7, (int)((double)Class331.int_7 + (double)Class297.int_7 * 2.5), Enum70.const_0));
 }
Ejemplo n.º 15
0
 // Token: 0x06002C0F RID: 11279
 // RVA: 0x0011D724 File Offset: 0x0011B924
 protected override void vmethod_13(Class531 class531_0)
 {
     class531_0.class26_0.Add(new Class746(new Vector2(320f, 240f), new Vector2(320f, 150f), Class331.int_7, Class331.int_7 + Class297.int_7 * 2, Enum70.const_1));
     class531_0.class26_0.Add(new Class746(TransformationType.Scale, 0.4f, 1f, Class331.int_7, Class331.int_7 + Class297.int_7 * 2, Enum70.const_1));
     class531_0.class26_0.Add(new Class746(TransformationType.Fade, 1f, 0f, Class331.int_7 + Class297.int_7 * 3, (int)((double)Class331.int_7 + (double)Class297.int_7 * 5.5), Enum70.const_0));
 }
Ejemplo n.º 16
0
 // Token: 0x06002C11 RID: 11281
 // RVA: 0x00021888 File Offset: 0x0001FA88
 protected override void vmethod_11(Class531 class531_0)
 {
     class531_0.enum115_0 = Enum115.const_1;
     base.vmethod_11(class531_0);
 }
Ejemplo n.º 17
0
 // Token: 0x06002259 RID: 8793
 // RVA: 0x000CAD04 File Offset: 0x000C8F04
 internal Class321(Class297 class297_1, Vector2 vector2_4, int int_12, bool bool_14, HitObjectSoundType hitObjectSoundType_0, CurveTypes curveTypes_2, int int_13, double double_3, List<Vector2> list_11, List<HitObjectSoundType> list_12, int int_14)
     : base(class297_1)
 {
     this.curveTypes_0 = curveTypes_2;
     this.curveTypes_1 = curveTypes_2;
     this.int_0 = int_14;
     this.class911_0 = this.class297_0.class911_0;
     this.StartTime = int_12;
     this.EndTime = int_12;
     this.Position = vector2_4;
     this.vector2_0 = vector2_4;
     this.EndPosition = vector2_4;
     this.SoundType = hitObjectSoundType_0;
     if (list_11 == null)
     {
         this.list_3 = new List<Vector2>();
         this.list_3.Add(this.Position);
     }
     else
     {
         this.list_3 = list_11;
         if (this.list_3.Count > 0)
         {
             if (this.list_3[0] != this.Position)
             {
                 this.list_3.Insert(0, this.Position);
             }
         }
         else
         {
             this.list_3.Add(this.Position);
         }
     }
     this.SegmentCount = Math.Max(1, int_13);
     this.bool_10 = (list_12 == null || list_12.Count == 0);
     if (!this.bool_10)
     {
         this.list_8 = list_12;
         this.list_9 = new List<SampleSet>(int_13 + 1);
         this.list_10 = new List<SampleSet>(int_13 + 1);
     }
     this.SpatialLength = double_3;
     this.bool_4 = true;
     this.list_2 = new List<Class311>();
     this.Type = HitObjectType.Slider;
     if (bool_14)
     {
         this.Type |= HitObjectType.NewCombo;
     }
     if (this.class911_0 != null)
     {
         this.vmethod_23();
         this.class538_1 = new Class538(Class885.smethod_27("sliderfollowcircle", Enum112.flag_6, true), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 0.99f, false, Color.get_TransparentWhite(), this);
         this.class538_1.method_61();
         Class731[] array = Class885.smethod_27("sliderb", Enum112.flag_6, false);
         bool flag = array[0].enum112_0 == Enum112.flag_1;
         this.class538_0 = new Class538(array, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 0.99f, false, flag ? Class885.smethod_23("SliderBall", true) : Color.get_White(), this);
         this.class538_0.bool_10 = true;
         if (flag)
         {
             this.class531_0 = new Class531(Class885.Load("sliderb-spec", Enum112.flag_6), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 1f, false, Color.get_White(), null)
             {
                 bool_7 = true
             };
             this.class531_1 = new Class531(Class885.Load("sliderb-nd", Enum112.flag_6), Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, 0.98f, false, new Color(5, 5, 5), null);
         }
         this.class531_2 = new Class531(null, Enum115.const_4, Origins.TopLeft, Enum114.const_1, this.Position, Class911.smethod_4((float)(this.EndTime + 10)), false, Color.get_White(), null);
         this.class531_2.bool_6 = true;
     }
 }
Ejemplo n.º 18
0
 // Token: 0x0600342C RID: 13356
 // RVA: 0x00166704 File Offset: 0x00164904
 internal Class883(Class911 class911_0, double double_5, double double_6, double double_7, Vector2 vector2_1, int int_1)
 {
     Class883 class883_0 = this;
     this.double_3 = double_5;
     this.double_2 = double_6;
     this.double_1 = (this.double_0 = Math.Max(double_5, Math.Min(double_6, double_7)));
     this.int_0 = int_1;
     this.color_0 = Class885.color_1;
     this.class531_1 = new Class883.Class542(Class115.class731_0, vector2_1, 0.992f, this.color_0, (float)int_1);
     this.class531_1.bool_1 = true;
     this.class531_1.nullable_2 = new bool?(true);
     this.class531_1.vector2_2 = new Vector2((float)int_1 * 1.6f, 1.5f);
     this.class531_2 = new Class531(Class115.class731_0, vector2_1, 0.991f, true, this.color_0);
     this.class531_2.nullable_2 = new bool?(true);
     this.class531_2.bool_1 = true;
     this.class531_2.float_3 = 0.5f;
     this.class531_2.vector2_2 = new Vector2((float)int_1 * 1.6f, 1.5f);
     this.class531_0 = new Class531(Class885.Load("circle-empty", Enum112.flag_1), Enum115.const_5, Origins.Centre, Enum114.const_0, this.method_18(), 0.99f, true, this.color_0, null);
     this.class531_0.bool_1 = true;
     Class531 arg_19C_0 = this.class531_0;
     VoidDelegate voidDelegate_ = delegate
     {
         float num = class883_0.class531_0.rectangleF_0.X - class883_0.class531_1.rectangleF_0.X;
         float num2 = (float)class883_0.class531_0.int_4 / 1.6f / 2f;
         class883_0.class531_1.vector2_2.X = Math.Max(0f, num / Class115.float_5);
         class883_0.class531_2.vector2_2.X = Math.Max(0f, (float)int_1 * 1.6f - (num + (float)class883_0.class531_0.int_4) / Class115.float_5);
         class883_0.class531_2.vector2_1.X = class883_0.class531_0.vector2_1.X + num2;
     };
     arg_19C_0.method_30(voidDelegate_);
     this.list_0.Add(this.class531_0);
     this.list_0.Add(this.class531_1);
     this.list_0.Add(this.class531_2);
     this.class531_1.method_35(new EventHandler(this.method_10));
     this.class531_1.method_37(new EventHandler(this.method_9));
     if (class911_0 != null)
     {
         class911_0.Add(this.class531_0);
         class911_0.Add(this.class531_1);
         class911_0.Add(this.class531_2);
     }
     this.method_21();
 }
Ejemplo n.º 19
0
		// Token: 0x06002CAF RID: 11439
		// RVA: 0x00021D90 File Offset: 0x0001FF90
		public Class730(Class531 class531_1, Vector2 vector2_1)
		{
			this.class531_0 = class531_1;
			this.vector2_0 = vector2_1;
		}
Ejemplo n.º 20
0
 // Token: 0x060028EC RID: 10476
 // RVA: 0x001024D0 File Offset: 0x001006D0
 internal Class665(int int_3, Class660 class660_1, Vector2 vector2_3, bool bool_6, SlotTeams slotTeams_0)
     : base(int_3, class660_1, vector2_3, bool_6)
 {
     bool flag = slotTeams_0 == SlotTeams.Red;
     this.class531_0 = new Class531(Class885.Load("play-warningarrow", Enum112.flag_1), flag ? Enum115.const_7 : Enum115.const_5, Origins.Centre, Enum114.const_0, new Vector2(vector2_3.X + 150f, -100f), 1f, true, Class115.bool_32 ? Color.get_YellowGreen() : Color.get_White(), "extra");
     Class746 class = new Class746(TransformationType.MovementX, vector2_3.X + 170f, vector2_3.X + 150f, Class115.int_1, Class115.int_1 + 300, Enum70.const_2);
Ejemplo n.º 21
0
 // Token: 0x06001C74 RID: 7284
 // RVA: 0x00098A6C File Offset: 0x00096C6C
 internal Class89(string string_0, bool bool_5)
     : base(Class115.class115_0)
 {
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_4, Origins.TopLeft, Enum114.const_0, Vector2.get_Zero(), 0.1f, true, new Color(0, 0, 0, this.byte_0), null);
     this.class531_0.vector2_2 = new Vector2((float)Class115.int_22, (float)(Class115.int_23 + Class115.int_25));
     this.class531_0.bool_1 = true;
     this.class911_0.Add(this.class531_0);
     this.bool_2 = bool_5;
     if (!string.IsNullOrEmpty(string_0))
     {
         Class533 class = new Class533(string_0, 24f, new Vector2(2f, 2f), new Vector2((float)(Class115.smethod_43() - 2), 0f), 0.92f, true, Color.get_White(), true);
Ejemplo n.º 22
0
 // Token: 0x06002ABC RID: 10940
 // RVA: 0x00114AFC File Offset: 0x00112CFC
 public Class78(Class114 class114_1)
 {
     EventHandler eventHandler = null;
     EventHandler eventHandler2 = null;
     EventHandler eventHandler3 = null;
     this.list_0 = new List<Class690>();
     base..ctor(class114_1);
     if (Class331.enum100_0 == Enum100.const_1)
     {
         this.bool_3 = true;
         Class331.smethod_88();
     }
     this.class911_1 = new Class911(true);
     this.class110_0 = new Class110(new Rectangle(0, 82, Class115.smethod_43() - 4 - 120, 350), Vector2.get_Zero(), true, 0f, Enum98.const_2);
     this.class911_2 = new Class911(true);
     this.class533_1 = new Class533("Type a search to begin.", 11f, new Vector2(20f, 40f), 1f, true, Color.get_YellowGreen());
     this.class533_1.bool_16 = true;
     this.class911_1.Add(this.class533_1);
     this.class533_0 = new Class533("", 16f, new Vector2(20f, 80f), 1f, true, Color.get_White());
     this.class911_1.Add(this.class533_0);
     this.class755_0 = new Class755(18, new Vector2(20f, 20f), 300f, false, 1.1f);
     this.class755_0.method_3(delegate(Class754 class754_0, bool bool_6)
     {
         this.int_2 = Class115.int_1 + 600;
     });
     this.class911_2.Add<Class531>(this.class755_0.list_0);
     this.class531_0 = new Class531(Class885.Load("searching", Enum112.flag_1), new Vector2(320f, 240f), 1f, true, Color.get_TransparentWhite());
     this.class531_0.origins_0 = Origins.Centre;
     this.class531_0.vmethod_9();
     Class115.class911_0.Add(this.class531_0);
     Class591 class = new Class591(new EventHandler(this.method_5), true, false);
Ejemplo n.º 23
0
 // Token: 0x0600200D RID: 8205
 // RVA: 0x000B64B4 File Offset: 0x000B46B4
 internal Class68(Class114 class114_1)
 {
     EventHandler eventHandler = null;
     EventHandler eventHandler2 = null;
     EventHandler eventHandler3 = null;
     this.enum113_0 = Enum113.const_2;
     this.list_0 = new List<Class531>();
     this.int_2 = -1;
     this.int_4 = -1;
     this.list_1 = new List<Class531>();
     this.bool_12 = true;
     base..ctor(class114_1);
     Class695.smethod_1();
     this.smartThreadPool_0 = new SmartThreadPool(new STPStartInfo
     {
         MaxWorkerThreads = 1,
         AreThreadsBackground = true,
         IdleTimeout = 1000,
         ThreadPriority = ThreadPriority.BelowNormal
     });
     this.class296_1 = Class466.Current;
     this.bool_5 = (Class115.osuModes_1 == OsuModes.SelectPlay);
     this.bool_4 = (Class115.osuModes_1 == OsuModes.SelectMulti);
     if (!this.bool_4 && this.bool_5)
     {
         Class62.Mode = Class68.class605_0;
     }
     Class908.smethod_1();
     Class476.smethod_3();
     if (Class466.Current != null)
     {
         Class466.Current.list_0.Clear();
     }
     Class62.class512_0 = null;
     lock (Class858.object_0)
     {
         Class802.smethod_1(false);
         Class802.bool_16 = false;
     }
     this.method_23();
     if ((Class466.Current == null || string.IsNullOrEmpty(Class466.Current.string_4) || !Class466.Current.bool_4) && (Class115.osuModes_1 == OsuModes.SelectPlay || Class115.osuModes_1 == OsuModes.SelectMulti || Class115.osuModes_1 == OsuModes.SelectEdit))
     {
         Class109.smethod_3(true, true);
     }
     Class570.smethod_4(new Class570.Delegate45(this.method_39));
     Class570.smethod_2(new Class570.Delegate44(this.method_38));
     Class569.smethod_0(new Class569.Delegate43(this.method_19));
     Class809.smethod_8(new VoidDelegate(this.method_21));
     Class876.smethod_0(new Class876.Delegate53(this.method_9));
     this.class86_0 = new Class86(class114_1);
     this.class86_0.method_16(new Class86.Delegate56(this.method_10));
     this.class86_0.method_18(new Class86.Delegate56(this.method_11));
     this.class86_0.method_20(new Class86.Delegate56(this.method_12));
     this.class86_0.method_22(new Class86.Delegate56(this.method_13));
     this.class86_0.method_24(new Class86.Delegate56(this.method_14));
     this.class86_0.method_26(new Class86.Delegate56(this.method_15));
     this.class86_0.method_28(new VoidDelegate(this.method_44));
     this.class86_0.method_30(new VoidDelegate(this.method_45));
     Class466.smethod_19(new Class466.Delegate33(this.method_32));
     if (Class62.class911_1 != null)
     {
         this.class911_3 = Class62.class911_1;
     }
     else
     {
         this.class911_3 = new Class911(true);
     }
     this.class110_0 = new Class110(new Rectangle(-5, 92, 290, 267), Vector2.get_Zero(), true, 0f, Enum98.const_2)
     {
         bool_2 = true,
         bool_8 = true
     };
     this.class911_2 = new Class911(true);
     this.class911_4 = new Class911(true);
     this.class911_1 = new Class911(true);
     this.class533_0 = new Class533(" ", 18f, new Vector2(21f, -3f), Vector2.get_Zero(), 0.79f, true, Color.get_White(), false);
     this.class533_0.vmethod_11();
     this.class911_1.Add(this.class533_0);
     this.class533_1 = new Class533(string.Empty, 12f, new Vector2(23f, 12f), Vector2.get_Zero(), 0.79f, true, Color.get_White(), false);
     this.class911_1.Add(this.class533_1);
     this.class533_2 = new Class533(string.Empty, 12f, new Vector2(1f, 24f), Vector2.get_Zero(), 0.79f, true, Color.get_White(), false);
     this.class911_1.Add(this.class533_2);
     this.class533_3 = new Class533(string.Empty, 12f, new Vector2(1f, 36f), Vector2.get_Zero(), 0.79f, true, Color.get_White(), false);
     this.class911_1.Add(this.class533_3);
     this.class533_4 = new Class533(string.Empty, 8f, new Vector2(1f, 48f), Vector2.get_Zero(), 1f, true, Color.get_White(), false);
     this.class911_1.Add(this.class533_4);
     this.class533_6 = new Class533(string.Empty, 20f, new Vector2(5f, -1f), 1f, true, new Color(255, 255, 255, 128))
     {
         enum115_0 = Enum115.const_7,
         origins_0 = Origins.TopRight,
         object_0 = 0.0
     };
     this.class911_1.Add(this.class533_6);
     this.class731_2 = Class885.Load("selection-ranked", Enum112.flag_1);
     this.class731_3 = Class885.Load("selection-question", Enum112.flag_1);
     this.class731_1 = Class885.Load("selection-approved", Enum112.flag_1);
     this.class531_12 = new Class531(this.class731_2, Enum115.const_5, Origins.Centre, Enum114.const_0, new Vector2(12f, 12f), 0.78f, true, Color.get_TransparentWhite(), null);
     this.class911_1.Add(this.class531_12);
     this.class531_13 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, Vector2.get_Zero(), 1f, true, Color.get_TransparentWhite(), null);
     this.class531_13.bool_13 = false;
     this.class531_13.bool_7 = true;
     this.class531_13.vector2_2 = new Vector2((float)Class115.int_22, (float)Class115.int_23);
     this.class911_1.Add(this.class531_13);
     this.class531_9 = new Class531(Class115.class731_0, Enum115.const_7, Origins.TopLeft, Enum114.const_0, new Vector2(3f, 73f), 0.88f, true, new Color(0, 0, 0, 128), null);
     this.class531_9.float_2 = 1.6f;
     this.class531_9.vector2_2 = new Vector2(3f, 330f);
     this.class531_10 = new Class531(Class115.class731_0, Enum115.const_7, Origins.TopLeft, Enum114.const_0, new Vector2(3f, 73f), 0.89f, true, new Color(255, 255, 255, 255), null);
     this.class531_10.float_2 = 1.6f;
     this.class531_10.vector2_2 = new Vector2(3f, 20f);
     this.class911_1.Add(this.class531_9);
     this.class911_1.Add(this.class531_10);
     if (!this.bool_5 && !this.bool_4)
     {
         Class876.class623_0 = Mods.None;
         Class531 class530_ = new Class531(Class885.Load("selection-drop", Enum112.flag_1), new Vector2(5f, 110f), 0.5f, true, Color.get_White());
         this.class911_1.Add(class530_);
     }
     else
     {
         bool flag;
         Enum115 enum115_ = (flag = (Class885.smethod_25() || Class885.Load("selection-mods", Enum112.flag_6).enum112_0 == Enum112.flag_1)) ? Enum115.const_11 : Enum115.const_5;
         Origins origins_ = flag ? Origins.BottomLeft : Origins.TopLeft;
         float num = (float)(flag ? 0 : 426);
         float num2 = (float)(Class115.bool_21 ? 140 : 120);
         if (Class68.bool_11)
         {
             this.class531_17 = new Class531(Class885.Load("selection-mode", Enum112.flag_6), enum115_, origins_, Enum114.const_0, new Vector2(num2, num), 0.95f, true, Color.get_White(), null);
             this.class911_1.Add(this.class531_17);
             this.class531_17 = new Class531(Class885.Load("selection-mode-over", Enum112.flag_6), enum115_, origins_, Enum114.const_0, new Vector2(num2, num), 0.96f, true, Color.get_White(), null);
             this.class531_17.float_3 = 0.01f;
             this.class531_17.class746_1 = new Class746(TransformationType.Fade, 0.01f, 1f, 0, 100, Enum70.const_0);
             this.class531_17.bool_1 = true;
             Class531 arg_831_0 = this.class531_17;
             if (Class68.eventHandler_4 == null)
             {
                 Class68.eventHandler_4 = new EventHandler(Class68.smethod_5);
             }
             arg_831_0.method_35(Class68.eventHandler_4);
             Class530 arg_850_0 = this.class531_17;
             if (eventHandler == null)
             {
                 eventHandler = new EventHandler(this.method_64);
             }
             arg_850_0.method_2(eventHandler);
             this.class911_1.Add(this.class531_17);
             this.class597_0 = new Class597(this.class911_1);
             float num3 = 80f;
             Vector2 vector;
             vector..ctor(num2, 344f);
             for (int i = 0; i < 4; i++)
             {
                 Class68.Class449 class = new Class68.Class449();
Ejemplo n.º 24
0
 // Token: 0x060021F1 RID: 8689
 // RVA: 0x000C88A0 File Offset: 0x000C6AA0
 internal Class306(Class297 class297_1, Vector2 vector2_1, int int_7, bool bool_6, bool bool_7, bool bool_8, bool bool_9, int int_8)
     : base(class297_1)
 {
     this.Position = vector2_1;
     this.vector2_0 = vector2_1;
     this.StartTime = int_7;
     this.EndTime = int_7;
     this.Type = HitObjectType.Normal;
     this.SoundType = HitObjectSoundType.None;
     this.sampleSet_0 = SampleSet.None;
     this.sampleSet_1 = SampleSet.None;
     int num = this.vmethod_22();
     if (bool_6)
     {
         this.Type |= HitObjectType.NewCombo;
         this.int_0 = int_8;
     }
     if (bool_7)
     {
         this.SoundType |= HitObjectSoundType.Whistle;
     }
     if (bool_8)
     {
         this.SoundType |= HitObjectSoundType.Finish;
     }
     if (bool_9)
     {
         this.SoundType |= HitObjectSoundType.Clap;
     }
     if (class297_1.class911_0 != null)
     {
         bool flag = Class876.smethod_6(this.class297_0.class623_0, Mods.Hidden);
         bool flag2 = this.vmethod_25() && (!flag || (class297_1.list_3.Count == 0 && Class341.class606_86));
         Color white = Color.get_White();
         Class731 class731_ = Class885.Load("approachcircle", Enum112.flag_6);
         Class731 class731_2 = Class885.Load(this.vmethod_23(), Enum112.flag_6);
         Class731[] class731_3 = Class885.smethod_27(this.vmethod_23() + "overlay", Enum112.flag_6, true);
         this.class531_0 = new Class531(class731_, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_3((float)(this.StartTime - num)), false, white, null);
         if (flag2)
         {
             this.list_1.Add(this.class531_0);
         }
         this.class531_0.class26_0.Add(new Class746(TransformationType.Fade, 0f, 0.9f, int_7 - num, Math.Min(int_7, int_7 - num + Class297.int_2 * 2), Enum70.const_0));
         this.class531_0.class26_0.Add(new Class746(TransformationType.Scale, 4f, 1f, int_7 - num, int_7, Enum70.const_0));
         this.class531_1 = new Class531(class731_2, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)this.StartTime), false, white, null)
         {
             int_0 = 1
         };
         this.list_1.Add(this.class531_1);
         this.list_0.Add(this.class531_1);
         this.class538_0 = new Class538(class731_3, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)(this.StartTime - (this.class297_0.method_32() ? 2 : 1))), false, Color.get_White());
         this.class538_0.method_53(500.0);
         this.list_1.Add(this.class538_0);
         this.list_0.Add(this.class538_0);
         this.class531_2 = new Class536(null, Class885.class547_0.string_3, Class885.class547_0.int_3, Enum115.const_0, Origins.Centre, Enum114.const_1, this.Position, Class911.smethod_4((float)(this.StartTime - (this.class297_0.method_32() ? 1 : 2))), false, Color.get_White(), true);
         this.class531_2.float_2 = 0.8f;
         if (this.vmethod_24())
         {
             this.list_1.Add(this.class531_2);
         }
         Class746 class;
Ejemplo n.º 25
0
 // Token: 0x06001F79 RID: 8057
 // RVA: 0x000B2190 File Offset: 0x000B0390
 public override void Initialize()
 {
     int num = this.method_2() + 45;
     int num2 = 0;
     this.vector2_0 = Class800.smethod_19();
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, new Vector2(0f, (float)num), 0.68f, true, this.method_3() ? new Color(0, 78, 155) : Color.get_DarkGray(), null);
     this.class531_0.float_2 = 1.6f;
     this.class531_0.vector2_2 = new Vector2((float)this.method_1(), 3f);
     this.class911_0.Add(this.class531_0);
     num += 3;
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, new Vector2(0f, (float)num), 0.68f, true, new Color(0, 0, 0, 180), null);
     this.class531_0.float_2 = 1.6f;
     this.class531_0.vector2_2 = new Vector2((float)this.method_1(), (float)this.int_1);
     this.class911_0.Add(this.class531_0);
     this.class911_0.Add(new Class533("Visual", 24f, new Vector2((float)num2, (float)num), Vector2.get_Zero(), 0.99f, true, Color.get_LightBlue(), true)
     {
         bool_16 = true
     });
     num += 15;
     this.class911_0.Add(new Class533("Settings", 22f, new Vector2((float)(num2 + 50), (float)num), Vector2.get_Zero(), 1f, true, Color.get_White(), true)
     {
         bool_16 = true
     });
     bool flag = this.method_3();
     if (!this.method_3())
     {
         Class911 arg_205_0 = this.class911_0;
         Class533 class = new Class533(Class41.GetString(OsuString.FunSpoiler_PlayFirst), 15f, new Vector2((float)(Class115.smethod_43() / 2), (float)num), new Vector2(480f, 0f), 1f, true, Color.get_OrangeRed(), true);
Ejemplo n.º 26
0
 private static void smethod_4(Class531 class531_3)
 {
     class531_3.method_16(100, Enum70.const_0);
 }
Ejemplo n.º 27
0
 // Token: 0x06002129 RID: 8489
 // RVA: 0x000C0494 File Offset: 0x000BE694
 protected void method_2(Class702 class702_0, Class744 class744_0, Class531 class531_0, bool bool_0)
 {
     if (bool_0)
     {
         class702_0.method_1(this.method_1());
     }
     if (class744_0.int_2 != 0 && (Class331.int_7 < class744_0.int_3 || Class331.int_7 > class744_0.int_2))
     {
         return;
     }
     if (!bool_0)
     {
         if (this.method_0())
         {
             class702_0.method_1(this.method_1());
         }
         else
         {
             class702_0.method_2(class744_0);
         }
     }
     class744_0.int_1 = Class331.int_7;
     class531_0.method_11(class744_0);
 }
Ejemplo n.º 28
0
 private static void smethod_5(Class531 class531_3)
 {
     class531_3.method_16(50, Enum70.const_0);
     class531_3.bool_0 = false;
 }
Ejemplo n.º 29
0
 // Token: 0x06002140 RID: 8512
 // RVA: 0x000C0954 File Offset: 0x000BEB54
 internal override void vmethod_1(Class702 class702_0, Class744 class744_0, Class531 class531_0)
 {
     Class481.Class485 class = new Class481.Class485();
Ejemplo n.º 30
0
 // Token: 0x0600290C RID: 10508
 // RVA: 0x00103058 File Offset: 0x00101258
 internal Class85(Class608 class608_1, string string_0, Vector2 vector2_0, float float_2, bool bool_3, EventHandler eventHandler_5)
     : base(Class115.class114_0)
 {
     this.vmethod_1(false);
     this.class608_0 = class608_1;
     this.method_3(eventHandler_5);
     this.float_1 = float_2;
     this.class531_0 = new Class531(Class885.Load("volume-circle-bg", Enum112.flag_1), Enum115.const_9, Origins.Centre, Enum114.const_0, vector2_0, 0.97f, true, this.color_1, null);
     this.class531_0.bool_1 = true;
     this.class531_0.method_35(new EventHandler(this.method_4));
     this.class911_0.Add(this.class531_0);
     this.class531_1 = new Class531(Class885.Load("volume-circle-fg", Enum112.flag_1), Enum115.const_9, Origins.Centre, Enum114.const_0, vector2_0, 0.98f, true, this.color_1, null);
     this.class911_1.Add(this.class531_1);
     this.class531_2 = new Class531(Class885.Load("volume-circle-fg2", Enum112.flag_1), Enum115.const_9, Origins.Centre, Enum114.const_0, vector2_0, 0.99f, true, Color.get_White(), null);
     this.class911_1.Add(this.class531_2);
     this.class533_0 = new Class533(string.Empty, 14f, vector2_0, 0.991f, true, Color.get_White())
     {
         enum115_0 = Enum115.const_9,
         origins_0 = Origins.Centre
     };
     this.class911_1.Add(this.class533_0);
     Class533 class530_ = new Class533(string_0, 12f, new Vector2(vector2_0.X, 220f), 0.991f, true, Color.get_White())
     {
         enum115_0 = Enum115.const_9,
         origins_0 = Origins.Centre
     };
     this.class911_2.Add(class530_);
     this.class82_0.color_0 = Color.get_White();
     this.class82_0.float_2 = 1f;
     List<Class530> arg_23E_0 = this.class911_1.list_2;
     if (Class85.action_0 == null)
     {
         Class85.action_0 = new Action<Class530>(Class85.smethod_0);
     }
     arg_23E_0.ForEach(Class85.action_0);
     this.class911_0.list_2.ForEach(delegate(Class530 class530_0)
     {
         class530_0.float_3 = 0f;
     });
     this.class911_2.list_2.ForEach(delegate(Class530 class530_0)
     {
         class530_0.float_3 = 0f;
     });
     this.method_2(bool_3);
 }