Пример #1
0
 // Token: 0x06000102 RID: 258 RVA: 0x0000604C File Offset: 0x0000424C
 public void method_0(object sender, DrawItemEventArgs e)
 {
     if (GClass1.smethod_3(e) < 0)
     {
         return;
     }
     GClass1.smethod_4(e);
     GClass1.smethod_5(e);
     GClass1.smethod_7(GClass1.smethod_6(e), SmoothingMode.HighQuality);
     GClass1.smethod_8(GClass1.smethod_6(e), PixelOffsetMode.HighQuality);
     GClass1.smethod_9(GClass1.smethod_6(e), TextRenderingHint.ClearTypeGridFit);
     GClass1.smethod_10(GClass1.smethod_6(e), InterpolationMode.HighQualityBicubic);
     if ((GClass1.smethod_2(e) & DrawItemState.Selected) == DrawItemState.Selected)
     {
         GClass1.smethod_13(GClass1.smethod_6(e), GClass1.smethod_11(this.color_2), GClass1.smethod_12(e));
     }
     else
     {
         GClass1.smethod_13(GClass1.smethod_6(e), GClass1.smethod_11(this.color_0), GClass1.smethod_12(e));
     }
     GClass1.smethod_6(e).DrawString(GClass1.smethod_16(this, GClass1.smethod_15(GClass1.smethod_14(this), GClass1.smethod_3(e))), GClass1.smethod_17("Segoe UI", 8f), GClass1.smethod_18(), new Rectangle(GClass1.smethod_12(e).X + 2, e.Bounds.Y + 2, e.Bounds.Width, e.Bounds.Height));
     e.Graphics.Dispose();
 }
Пример #2
0
    // Token: 0x06000186 RID: 390 RVA: 0x0001D0E8 File Offset: 0x0001B2E8
    public void method_47(bool bool_0, bool bool_1, SongEntry songEntry_0, CHPlayer gclass9_0)
    {
        if (!base.enabled)
        {
            return;
        }
        if (!bool_1)
        {
            string text = gclass9_0.gclass10_0.genum18_0.ToString();
            string str  = gclass9_0.gclass10_0.genum17_0.ToString();
            this.gclass2_0.string_4 = (str + text).ToLower();
            this.gclass2_0.string_5 = str + "Resume" + text;
        }
        else
        {
            this.gclass2_0.string_4 = "Artist = \"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"";
            this.gclass2_0.string_5 = "No";
        }
        if (bool_0)
        {
            this.gclass2_0.string_1 = "has_bots";
        }
        else
        {
            this.gclass2_0.string_1 = songEntry_0.artistName;
        }
        this.gclass2_0.string_0 = songEntry_0.songName;
        string text2 = "Prefabs/Gameplay/Players/Guitar Player " + GlobalVariables.instance.songSpeed.String_1 + " + ";

        if (this.gclass2_0.string_0.Length + text2.Length <= -104)
        {
            GClass1.GClass2 gclass = this.gclass2_0;
            gclass.string_0 += text2;
        }
        this.method_53();
        GClass1.smethod_10(this.gclass2_0);
    }