Ejemplo n.º 1
0
 internal void method_6()
 {
     if (this.method_0() != 0)
     {
         Class228[] classArray = new Class228[30];
         using (IEnumerator enumerator = this.System.Collections.IEnumerable.GetEnumerator())
         {
             while (enumerator.MoveNext())
             {
                 Class228 current = (Class228)enumerator.Current;
                 if (current.method_12() != OdsoFieldMappingType.Null)
                 {
                     PredefinedMergeFieldName name = Class533.smethod_10(current.method_8());
                     if (name != PredefinedMergeFieldName.Invalid)
                     {
                         classArray[(int)name] = current;
                     }
                 }
             }
         }
         for (int i = 0; i < classArray.Length; i++)
         {
             if (classArray[i] == null)
             {
                 classArray[i] = new Class228();
             }
         }
         this.method_4();
         foreach (Class228 class3 in classArray)
         {
             this.method_3(class3);
         }
     }
 }
Ejemplo n.º 2
0
    protected void method_0(Class460 A_0, Interface52 A_1)
    {
        int num = 1;

        if (!A_0.method_0())
        {
            this.class460_0    = A_0;
            this.interface52_0 = A_1;
            Class398 class2 = this.interface52_0.imethod_1();
            class2.method_4(BookmarkStart.b("倦ጨ䘪䰬䘮崰縲倴䔶常帺", num));
            class2.method_26(BookmarkStart.b("倦ጨ䘪䰬䘮弰眲娴吶䰸嘺堼儾㕀ᝂ㱄㝆ⱈ", num), Class533.smethod_1(this.class460_0.method_27(), A_1.imethod_2()));
            class2.method_31(BookmarkStart.b("倦ጨ䜪䐬䄮娰朲娴昶䰸帺似䘾", num), this.class460_0.method_21());
            class2.method_26(BookmarkStart.b("倦ጨ伪䰬嬮倰朲䰴䜶尸", num), Class533.smethod_5(this.class460_0.method_13(), A_1.imethod_2()));
            class2.method_25(BookmarkStart.b("倦ጨ䠪䈬䄮弰嘲嘴䌶樸伺似嘾⽀⑂", num), this.class460_0.method_9());
            class2.method_24(BookmarkStart.b("倦ጨ娪堬䨮䌰䨲", num), this.class460_0.method_31());
            this.vmethod_0(this.class460_0.method_11());
            this.vmethod_1(this.class460_0.method_19());
            class2.method_31(BookmarkStart.b("倦ጨ伪䈬愮帰䜲昴䈶䤸䬺似娾㉀あ݄⭆⡈╊♌͎㡐㵒ご⑖", num), this.class460_0.method_17());
            class2.method_24(BookmarkStart.b("倦ጨ伪䠬尮䔰娲嬴嘶䴸刺刼儾", num), Class533.smethod_3(this.class460_0.method_15(), A_1.imethod_2()));
            class2.method_24(BookmarkStart.b("倦ጨ䨪䤬䬮䌰嘲䘴䐶缸刺堼匾╀ൂ⑄⩆ⱈ", num), this.class460_0.method_5());
            class2.method_24(BookmarkStart.b("倦ጨ䘪䰬䘮崰怲䀴唶匸帺帼䬾", num), this.class460_0.method_25());
            class2.method_31(BookmarkStart.b("倦ጨ䘪䰬䘮崰爲䘴瘶䴸伺尼尾⥀⹂⁄⥆㵈", num), this.class460_0.method_23());
            class2.method_31(BookmarkStart.b("倦ጨ崪䐬䨮䘰縲倴䔶常帺夼笾⁀㝂⑄", num), this.class460_0.method_33());
            class2.method_32(BookmarkStart.b("倦ጨ䨪丬嬮堰䔲倴收尸堺刼䴾╀", num), this.class460_0.method_3(), 0);
            class2.method_32(BookmarkStart.b("倦ጨ䠪䔬䨮到堲瀴䔶䬸吺似䰾", num), (int)this.class460_0.method_7(), 2);
            this.method_1();
            class2.method_5();
        }
    }
Ejemplo n.º 3
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.º 4
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.º 5
0
    protected override void vmethod_4(Class1035 A_0)
    {
        int num = 0x12;

        this.class398_0.method_24(BookmarkStart.b("伷9嘻娽㌿ⵁ၃㽅㡇⽉", 0x12), Class533.smethod_7(A_0.method_9(), false));
        if (A_0.method_3())
        {
            this.class398_0.method_28(BookmarkStart.b("伷9娻瘽␿ぁ", num), 1);
        }
    }
Ejemplo n.º 6
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.º 7
0
 // Token: 0x06001D59 RID: 7513
 // RVA: 0x0009EF80 File Offset: 0x0009D180
 public Class401(string string_0)
 {
     int num = 20;
     this.class533_0 = new Class533(string_0, 12f, new Vector2(0f, 10f), new Vector2(244f, 0f), 1f, true, Color.get_White(), true);
     this.class533_0.enum72_0 = Enum72.const_2;
     this.class533_0.bool_1 = true;
     this.class533_0.method_2(delegate(object sender, EventArgs e)
     {
         Class115.smethod_90("http://osu.ppy.sh/p/changelog?v=" + Class344.smethod_0(), null);
     });
     this.class533_0.bool_2 = true;
     this.class911_0.Add(this.class533_0);
     base.method_1(base.method_0() + new Vector2(0f, (float)num));
     base.method_8("version");
 }
Ejemplo n.º 8
0
    private void method_2(Class228 A_0, Class398 A_1)
    {
        int num = 7;

        A_1.method_4(BookmarkStart.b("娬ᔮ地娲倴嬶崸瘺尼伾Հ≂ㅄ♆", 7));
        A_1.method_24(BookmarkStart.b("娬ᔮ䔰䨲䔴制", 7), Class533.smethod_9(A_0.method_12(), this.interface52_0.imethod_2()));
        A_1.method_24(BookmarkStart.b("娬ᔮ弰刲場制", 7), A_0.method_10());
        A_1.method_24(BookmarkStart.b("娬ᔮ尰刲䔴䜶尸强猼帾ⱀ♂", 7), A_0.method_8());
        if (!this.interface52_0.imethod_2() || Class567.smethod_16(A_0.method_10()))
        {
            A_1.method_28(BookmarkStart.b("娬ᔮ到尲头䈶吸唺", num), A_0.method_1());
        }
        A_1.method_24(BookmarkStart.b("娬ᔮ崰娲儴", num), Class860.smethod_1((int)A_0.method_6(), this.interface52_0.imethod_2()));
        A_1.method_31(BookmarkStart.b("娬ᔮ唰䨲嬴嘶吸刺帼績╀❂㝄≆㩈㡊", num), A_0.method_4());
        A_1.method_5();
    }
Ejemplo n.º 9
0
 // Token: 0x060027C2 RID: 10178
 // RVA: 0x000F746C File Offset: 0x000F566C
 internal Class641(Class296 class296_1, Class95 class95_1, string string_0, string string_1, int int_0)
 {
     this.class95_0 = class95_1;
     this.class296_0 = class296_1;
     this.class533_0 = new Class533(class296_1.method_75(), 20f, new Vector2(0f, (float)(int_0 * 30 + 5)), 2f, true, Color.get_White());
     this.class540_0 = new Class540(new Vector2(0f, (float)(int_0 * 30)), new Vector2(640f * Class115.smethod_46() - 30f, 30f), 1f, new Color(50, 50, 50))
     {
         float_3 = 0.01f,
         bool_7 = true,
         bool_1 = true,
         bool_2 = true
     };
     this.class540_0.method_35(new EventHandler(this.method_0));
     this.class540_0.method_37(new EventHandler(this.method_1));
     this.class540_0.method_2(new EventHandler(this.method_2));
 }
Ejemplo n.º 10
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.º 11
0
 // Token: 0x06001D4C RID: 7500
 // RVA: 0x0009EDD4 File Offset: 0x0009CFD4
 public Class400(string string_0, bool bool_1)
 {
     this.class533_0 = new Class533(string_0, 12f, Vector2.get_Zero(), 1f, true, Color.get_White());
     this.class911_0.Add(this.class533_0);
     this.class754_0 = new Class754(string.Empty, 12, new Vector2(0f, this.class533_0.vmethod_11().Y + 5f), 239f, 1f, bool_2);
     Class754 arg_8D_0 = this.class754_0;
     Class754.Delegate37 delegate37_ = delegate(Class754 class754_1, bool bool_1)
     {
         this.method_14();
     };
     arg_8D_0.method_3(delegate37_);
     Class754 arg_A6_0 = this.class754_0;
     Class754.Delegate37 delegate37_2 = new Class754.Delegate37(this.method_17);
     arg_A6_0.method_2(delegate37_2);
     this.class911_0.Add<Class531>(this.class754_0.list_0);
     base.method_8(string_0);
     this.method_14();
 }
Ejemplo n.º 12
0
    private void method_7(int A_0)
    {
        int      num4;
        int      num    = 6;
        Class228 class2 = new Class228();

Label_005D:
        num4 = this.binaryReader_0.ReadInt16();
        int num2 = this.binaryReader_0.ReadInt16();

        switch (num4)
        {
        case 0:
            if (Class567.smethod_16(class2.method_10()))
            {
                class2.method_13(OdsoFieldMappingType.Column);
            }
            this.class460_0.method_29().method_13().method_3(class2);
            return;

        case 1:
            if (this.method_9(num2) != 1)
            {
                throw new InvalidOperationException(BookmarkStart.b("含嘭䠯", num));
            }
            goto Label_005D;

        case 2:
            class2.method_11(this.method_8(num2));
            goto Label_005D;

        case 3:
            this.method_8(num2);
            class2.method_9(Class533.smethod_11((PredefinedMergeFieldName)A_0));
            goto Label_005D;

        case 4:
            class2.method_3(this.method_9(num2));
            goto Label_005D;
        }
        this.binaryReader_0.ReadBytes(num2);
        goto Label_005D;
    }
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: 0x060024F0 RID: 9456
 // RVA: 0x000DE118 File Offset: 0x000DC318
 public Class578(Vector2 vector2_0, float float_1, float float_2, float float_3, Class841 class841_0, string string_0)
 {
     EventHandler eventHandler = null;
     this.list_0 = new List<Class531>();
     this.color_0 = new Color(104, 137, 255);
     base..ctor();
     this.float_0 = float_2;
     this.class533_1 = new Class533(string.Empty, float_2, vector2_0, new Vector2(float_3, 0f), float_1, true, Color.get_White(), true);
     this.class533_0 = new Class533(string.Empty, float_2, vector2_0, new Vector2(float_3, 0f), float_1, true, Color.get_White(), true);
     this.class533_1.method_62(string_0);
     this.class533_0.method_62(string_0);
     bool flag = class841_0.string_1.Length > 8 && class841_0.string_1[7] == '*' && class841_0.string_0.Length == 0;
     this.color_1 = class841_0.color_0;
     this.class533_0.Text = class841_0.string_0;
     this.class533_1.Text = class841_0.string_1;
     this.class533_1.color_0 = this.color_1;
     this.class533_1.bool_1 = (!flag && class841_0.class861_0 != null);
     this.class533_1.object_0 = class841_0.class861_0;
     this.class533_1.method_35(delegate(object sender, EventArgs e)
     {
         ((Class531)sender).method_39(this.color_0, 100, false, Enum70.const_0);
     });
     Class531 arg_179_0 = this.class533_1;
     if (eventHandler == null)
     {
         eventHandler = new EventHandler(this.method_2);
     }
     arg_179_0.method_37(eventHandler);
     this.class533_1.method_2(new EventHandler(Class111.smethod_42));
     this.class533_1.bool_2 = true;
     float num = Math.Max(50f, this.class533_1.vmethod_11().X);
     Class533 expr_1C7_cp_0 = this.class533_0;
     expr_1C7_cp_0.vector2_1.X = expr_1C7_cp_0.vector2_1.X + num;
     Class533 expr_1DF_cp_0 = this.class533_0;
     expr_1DF_cp_0.vector2_0.X = expr_1DF_cp_0.vector2_0.X + num;
     Class533 expr_1F7_cp_0 = this.class533_0;
     expr_1F7_cp_0.vector2_9.X = expr_1F7_cp_0.vector2_9.X - num;
     Class533 class = flag ? this.class533_1 : this.class533_0;
Ejemplo n.º 15
0
 // Token: 0x06001FE0 RID: 8160
 // RVA: 0x000B52B8 File Offset: 0x000B34B8
 private void method_9()
 {
     if (this.class533_0 == null)
     {
         this.class533_0 = new Class533(Class41.GetString(OsuString.General_Rename), 10f, this.vector2_1 + this.vector2_0, 0.96f, true, Color.get_White());
         this.class533_0.bool_1 = true;
         this.class533_0.method_2(new EventHandler(this.method_10));
         this.class533_0.enum72_0 = Enum72.const_2;
         this.class533_0.vector2_9 = new Vector2(35f, 11f);
         this.class533_0.color_0 = Class441.color_1;
         this.class533_0.method_53(Color.get_Orange());
         this.class533_0.int_7 = 2;
         this.class533_0.method_55(Color.get_Orange());
         this.list_0.Add(this.class533_0);
         this.vector2_0 += new Vector2(10f + this.class533_0.vector2_9.X, 0f);
     }
     if (this.class533_2 == null)
     {
         this.class533_2 = new Class533("+Set", 10f, this.vector2_1 + this.vector2_0, 0.96f, true, Color.get_White());
         this.class533_2.bool_1 = true;
         this.class533_2.method_2(new EventHandler(this.method_15));
         this.class533_2.string_0 = Class41.GetString(OsuString.CollectionSprites_AddSetToCollection);
         this.class533_2.enum72_0 = Enum72.const_2;
         this.class533_2.vector2_9 = new Vector2(30f, 11f);
         this.class533_2.method_53(Color.get_Green());
         this.class533_2.int_7 = 2;
         this.class533_2.method_55(Color.get_YellowGreen());
         this.list_0.Add(this.class533_2);
         this.vector2_0 += new Vector2(5f + this.class533_2.vector2_9.X, 0f);
     }
     if (this.class533_1 == null)
     {
         this.class533_1 = new Class533("+", 10f, this.vector2_1 + this.vector2_0, 0.96f, true, Color.get_White());
         this.class533_1.bool_1 = true;
         this.class533_1.method_2(new EventHandler(this.method_15));
         this.class533_1.string_0 = Class41.GetString(OsuString.CollectionSprites_AddToCollection);
         this.class533_1.enum72_0 = Enum72.const_2;
         this.class533_1.vector2_9 = new Vector2(20f, 11f);
         this.class533_1.method_53(Color.get_Green());
         this.class533_1.int_7 = 2;
         this.class533_1.method_55(Color.get_YellowGreen());
         this.list_0.Add(this.class533_1);
         this.vector2_0 += new Vector2(5f + this.class533_1.vector2_9.X, 0f);
     }
     if (this.class533_4 == null)
     {
         this.class533_4 = new Class533("-Set", 10f, this.vector2_1 + this.vector2_0, 0.96f, true, Color.get_White());
         this.class533_4.bool_1 = true;
         this.class533_4.method_2(new EventHandler(this.method_14));
         this.class533_4.string_0 = Class41.GetString(OsuString.CollectionSprites_RemoveSetFromCollection);
         this.class533_4.enum72_0 = Enum72.const_2;
         this.class533_4.vector2_9 = new Vector2(30f, 11f);
         this.class533_4.method_53(Color.get_OrangeRed());
         this.class533_4.int_7 = 2;
         this.class533_4.method_55(Color.get_DarkOrange());
         this.list_0.Add(this.class533_4);
         this.vector2_0 += new Vector2(5f + this.class533_4.vector2_9.X, 0f);
     }
     if (this.class533_3 == null)
     {
         this.class533_3 = new Class533("-", 10f, this.vector2_1 + this.vector2_0, 0.96f, true, Color.get_White());
         this.class533_3.bool_1 = true;
         this.class533_3.method_2(new EventHandler(this.method_14));
         this.class533_3.string_0 = Class41.GetString(OsuString.CollectionSprites_RemoveFromCollection);
         this.class533_3.enum72_0 = Enum72.const_2;
         this.class533_3.vector2_9 = new Vector2(20f, 11f);
         this.class533_3.method_53(Color.get_OrangeRed());
         this.class533_3.int_7 = 2;
         this.class533_3.method_55(Color.get_DarkOrange());
         this.list_0.Add(this.class533_3);
     }
 }
Ejemplo n.º 16
0
 // Token: 0x06003155 RID: 12629
 // RVA: 0x00143734 File Offset: 0x00141934
 internal override void vmethod_3()
 {
     Class533 class530_ = new Class533(Class41.GetString(OsuString.Lobby_Search), 15f, new Vector2((float)(Class102.int_1 + 30), 35f), 0.95f, true, Color.get_White());
     this.class911_0.Add(class530_);
     this.class754_0 = new Class754(string.Empty, 15, new Vector2((float)(Class102.int_1 + 80), 35f), 100f, 0.94f, false);
     this.class754_0.bool_4 = false;
     this.class754_0.method_3(new Class754.Delegate37(this.method_11));
     this.class754_0.method_2(new Class754.Delegate37(this.method_9));
     this.class911_0.Add<Class531>(this.class754_0.list_0);
     this.method_10();
     this.class754_0.method_19(true);
     base.vmethod_3();
 }
Ejemplo n.º 17
0
 // Token: 0x060028E9 RID: 10473
 // RVA: 0x00102420 File Offset: 0x00100620
 public void method_3(string string_0)
 {
     if (this.class533_0 != null)
     {
         this.class533_0.method_16(100, Enum70.const_0);
     }
     this.class533_0 = new Class533(string_0, 12f, this.vector2_0 + (this.method_0() ? this.vector2_2 : Vector2.get_Zero()) - new Vector2(0f, 5f), 1f, false, Color.get_White());
     this.class533_0.origins_0 = Origins.BottomLeft;
     this.class533_0.bool_16 = true;
     this.class533_0.method_16(6000, Enum70.const_0);
     this.class911_0.Add(this.class533_0);
 }
Ejemplo n.º 18
0
 // Token: 0x06002DB1 RID: 11697
 // RVA: 0x00128FE8 File Offset: 0x001271E8
 public Class754(string string_1, int int_5, Vector2 vector2_0, float float_2, float float_3, bool bool_7)
 {
     this.method_8(int_5);
     this.float_1 = float_2;
     this.class533_0 = new Class533(string.Empty, (float)int_5, vector2_0, new Vector2(float_2, 0f), float_3, true, Color.get_White(), false);
     this.class533_0.bool_16 = true;
     this.class533_0.method_53(this.color_2);
     this.class533_0.method_57(Color.get_White());
     this.class533_0.enum72_0 = Enum72.const_1;
     this.class533_0.bool_1 = true;
     this.class533_0.bool_2 = true;
     this.class533_0.method_55(new Color(180, 180, 180));
     this.class533_0.int_7 = 2;
     this.class531_0 = new Class531(Class115.class731_0, Enum115.const_5, Origins.TopLeft, Enum114.const_0, vector2_0, float_3 + 0.001f, true, Color.get_TransparentWhite(), null);
     this.class531_0.vector2_2 = new Vector2(2f, (float)int_5 * 1.5f);
     this.class531_0.method_8(true);
     Class531 expr_15D_cp_0 = this.class531_0;
     expr_15D_cp_0.vector2_1.Y = expr_15D_cp_0.vector2_1.Y + (float)this.int_3;
     this.list_0.Add(this.class531_0);
     if (bool_7)
     {
         this.textInputControl_0 = new Control1(this);
     }
     else
     {
         this.textInputControl_0 = new TextInputControl(this);
     }
     this.textInputControl_0.method_7(new Delegate0(this.method_11));
     this.textInputControl_0.method_9(new VoidDelegate(this.method_9));
     this.textInputControl_0.method_8(new VoidDelegate(this.method_10));
     this.class533_1 = new Class533(string.Empty, (float)int_5, this.class531_0.vector2_1, float_3 + 0.002f, true, Color.get_PaleVioletRed());
     this.list_0.Add(this.class533_1);
     this.bool_5 = true;
     this.textInputControl_0.class754_0 = this;
     this.class533_0.method_2(new EventHandler(this.method_14));
     Class802.smethod_34(Enum96.const_8, new Delegate46(this.method_16), Enum98.const_8, Enum97.const_2);
     this.textInputControl_0.method_5(new EventHandler(this.vmethod_0));
     this.textInputControl_0.method_11(new KeyEventHandler(this.vmethod_2));
     this.list_0.Add(this.class533_0);
     this.Text = string_1;
 }
Ejemplo n.º 19
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();
Ejemplo n.º 20
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.º 21
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[]
Ejemplo n.º 22
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();
 }
Ejemplo n.º 23
0
 // Token: 0x06002D93 RID: 11667
 // RVA: 0x00128204 File Offset: 0x00126404
 internal Class753(Class911 class911_1, string string_1, Vector2 vector2_2, float float_2, float float_3, bool bool_4, bool bool_5)
 {
     this.class911_0 = class911_1;
     this.float_0 = float_2;
     this.bool_1 = bool_4;
     this.bool_0 = bool_5;
     this.vector2_0 = vector2_2;
     this.float_1 = float_3;
     this.method_13(0);
     this.class533_0 = new Class533(string_1, 13f, vector2_2, new Vector2(float_2 + 2f, 15f), float_3 + 0.001f, true, Color.get_White(), false);
     this.class533_0.method_53(new Color(0, 0, 0, 128));
     this.class533_0.vector4_0 = Vector4.get_One() * 5f;
     this.class533_0.enum72_0 = (this.bool_0 ? Enum72.const_2 : Enum72.const_1);
     this.class533_0.method_58(true);
     this.class533_0.method_35(new EventHandler(this.method_17));
     this.class533_0.method_37(new EventHandler(this.method_16));
     this.class533_0.bool_1 = true;
     this.class533_0.method_2(new EventHandler(this.method_14));
     this.list_0.Add(this.class533_0);
     this.class534_0 = new Class534(FontAwesome.chevron_down, 14f, new Vector2(vector2_2.X + float_2 - 8f, vector2_2.Y + 8f))
     {
         float_0 = float_3 + 0.002f
     };
     this.list_0.Add(this.class534_0);
     if (class911_1 != null)
     {
         class911_1.Add<Class531>(this.list_0);
     }
 }
Ejemplo n.º 24
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);
 }
Ejemplo n.º 25
0
 // Token: 0x06002AAE RID: 10926
 // RVA: 0x001140AC File Offset: 0x001122AC
 public Class100(Enum62 enum62_1)
     : base(Class41.GetString(OsuString.ModSelection_Title), true)
 {
     this.enum62_0 = enum62_1;
     this.class911_0.Add(this.class533_0 = new Class533("", 30f, new Vector2(0f, this.float_0 - 20f), Vector2.get_Zero(), 0.94f, true, Color.get_White(), true)
     {
         enum115_0 = Enum115.const_6
     });
     this.class533_0.origins_0 = Origins.Centre;
     this.float_0 += this.class533_0.vmethod_11().Y + 35f;
     this.float_1 = this.float_0;
     this.class911_0.Add(new Class533(Class41.GetString(OsuString.ModSelection_Reduction), 24f, new Vector2(20f, this.float_0 - 13f), Vector2.get_Zero(), 0.94f, true, Color.get_LimeGreen(), true));
     if ((this.enum62_0 & (Enum62.flag_1 | Enum62.flag_3)) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(0, 0), new Mods[]
         {
             Mods.Easy
         }));
     }
     if ((this.enum62_0 & (Enum62.flag_1 | Enum62.flag_3)) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(0, 1), new Mods[]
         {
             Mods.NoFail
         }));
     }
     if ((this.enum62_0 & Enum62.flag_1) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(0, 2), new Mods[]
         {
             Mods.HalfTime
         }));
     }
     this.float_0 += 60f;
     this.class911_0.Add(new Class533(Class41.GetString(OsuString.ModSelection_Increase), 24f, new Vector2(20f, this.float_0 - 13f), Vector2.get_Zero(), 0.94f, true, Color.get_OrangeRed(), true));
     if ((this.enum62_0 & (Enum62.flag_1 | Enum62.flag_3)) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(1, 0), new Mods[]
         {
             Mods.HardRock
         }));
     }
     if ((this.enum62_0 & Enum62.flag_2) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(1, 1), new Mods[]
         {
             Mods.SuddenDeath,
             Mods.Perfect
         }));
     }
     else if ((this.enum62_0 & (Enum62.flag_1 | Enum62.flag_3)) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(1, 1), new Mods[]
         {
             Mods.SuddenDeath
         }));
     }
     if ((this.enum62_0 & Enum62.flag_1) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(1, 2), new Mods[]
         {
             Mods.DoubleTime,
             Mods.Nightcore
         }));
     }
     if ((this.enum62_0 & (Enum62.flag_1 | Enum62.flag_3)) > (Enum62)0)
     {
         if (Class62.Mode == PlayModes.OsuMania)
         {
             this.method_9(new Class692(this.method_10(1, 3), new Mods[]
             {
                 Mods.FadeIn,
                 Mods.Hidden
             }));
         }
         else
         {
             this.method_9(new Class692(this.method_10(1, 3), new Mods[]
             {
                 Mods.Hidden
             }));
         }
         this.method_9(new Class692(this.method_10(1, 4), new Mods[]
         {
             Mods.Flashlight
         }));
     }
     this.float_0 += 60f;
     this.class911_0.Add(new Class533(Class41.GetString(OsuString.ModSelection_Special), 24f, new Vector2(20f, this.float_0 - 13f), Vector2.get_Zero(), 0.94f, true, Color.get_White(), true));
     int num = 0;
     if ((this.enum62_0 & (Enum62.flag_1 | Enum62.flag_3)) > (Enum62)0)
     {
         if (Class62.Mode == PlayModes.OsuMania)
         {
             this.method_9(new Class692(this.method_10(2, num++), new Mods[]
             {
                 Mods.Key4,
                 Mods.Key5,
                 Mods.Key6,
                 Mods.Key7,
                 Mods.Key8,
                 Mods.Key9,
                 Mods.Key1,
                 Mods.Key2,
                 Mods.Key3
             }));
             this.method_9(new Class692(this.method_10(2, num++), new Mods[]
             {
                 Mods.KeyCoop
             }));
             this.method_9(new Class692(this.method_10(2, num++), new Mods[]
             {
                 Mods.Random
             }));
         }
         else
         {
             this.method_9(new Class692(this.method_10(2, num++), new Mods[]
             {
                 Mods.Relax
             }));
         }
         if (Class62.Mode == PlayModes.Osu)
         {
             this.method_9(new Class692(this.method_10(2, num++), new Mods[]
             {
                 Mods.Relax2
             }));
             this.method_9(new Class692(this.method_10(2, num++), new Mods[]
             {
                 Mods.SpunOut
             }));
         }
     }
     if ((this.enum62_0 & Enum62.flag_2) > (Enum62)0)
     {
         this.method_9(new Class692(this.method_10(2, num++), new Mods[]
         {
             Mods.Autoplay,
             Mods.Cinema
         }));
     }
     this.float_0 += 60f;
     base.method_3(Class41.GetString(OsuString.ModSelection_Reset), Color.get_OrangeRed(), new EventHandler(this.method_13), false, false, true);
     base.method_3(Class41.GetString(OsuString.General_Close), Color.get_Gray(), new EventHandler(this.method_14), true, false, true);
 }
Ejemplo n.º 26
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();