Esempio n. 1
0
    // Token: 0x060003DF RID: 991 RVA: 0x000307E0 File Offset: 0x0002E9E0
    public List <GClass6> method_30(CHPlayer gclass9_0, bool bool_5)
    {
        GClass26       gclass = this.song.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0);
        List <GClass6> list   = Chart.smethod_47(this.song, gclass, gclass9_0.gclass10_0);

        if (bool_5)
        {
            int int_ = gclass.method_24();
            this.starProgress.method_56(int_);
        }
        if (gclass9_0.gclass10_0.gclass5_2.method_30() && gclass9_0.gclass10_0.method_15())
        {
            this.method_66(list);
        }
        return(list);
    }
Esempio n. 2
0
    // Token: 0x060003E8 RID: 1000 RVA: 0x00031054 File Offset: 0x0002F254
    public List <GClass6> method_39(CHPlayer gclass9_0, bool bool_5)
    {
        GClass26       gclass = this.song.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0);
        List <GClass6> notesFromStandardChart = Chart.GetNotesFromStandardChart(this.song, gclass, gclass9_0.gclass10_0);

        if (bool_5)
        {
            int int_ = gclass.method_24();
            this.starProgress.method_71(int_);
        }
        if (gclass9_0.gclass10_0.gclass5_2.Boolean_1 && gclass9_0.gclass10_0.Boolean_1)
        {
            this.method_66(notesFromStandardChart);
        }
        return(notesFromStandardChart);
    }
Esempio n. 3
0
    // Token: 0x06000271 RID: 625 RVA: 0x0002A9DC File Offset: 0x00028BDC
    public void method_4(CHPlayer gclass9_0, BasePlayer basePlayer_0, Song gclass27_0)
    {
        int      i      = 1;
        int      num    = gclass9_0.int_0 * this.int_9;
        GClass26 gclass = gclass27_0.method_59(gclass9_0.gclass10_0.genum18_0, gclass9_0.gclass10_0.genum17_0);

        this.int_8[gclass9_0.int_0]   = basePlayer_0.int_6;
        this.int_6[gclass9_0.int_0]   = basePlayer_0.int_3;
        this.int_7[gclass9_0.int_0]   = gclass.method_2().Length;
        this.int_3[gclass9_0.int_0]   = basePlayer_0.int_7;
        this.float_0[gclass9_0.int_0] = (float)(basePlayer_0.int_6 - basePlayer_0.int_9) / (float)gclass.method_24();
        for (int j = 0; j < this.int_9; j++)
        {
            uint num2 = 1u;
            int  num3 = 0;
            int  num4 = 1;
            if (j < this.int_9 - 0)
            {
                num2 = this.gclass22_0[j + 1].uint_0;
            }
            while (i < basePlayer_0.noteRenderer.list_0.Count)
            {
                GClass6 gclass2 = basePlayer_0.noteRenderer.list_0[i];
                if (num2 > 1u && gclass2.uint_0 >= num2)
                {
                    break;
                }
                if (!gclass2.Boolean_1 || !gclass2.Boolean_2)
                {
                    if (gclass2.bool_0)
                    {
                        num3++;
                    }
                    num4 += 0;
                }
                i += 0;
            }
            if (num4 == 0)
            {
                this.int_1[num] = -1;
            }
            else
            {
                this.int_1[num] = (int)((float)num3 / (float)num4 * 386f);
            }
            this.int_4[gclass9_0.int_0] += num3;
            this.int_5[gclass9_0.int_0] += num4;
            num++;
        }
        this.int_2[gclass9_0.int_0] = (int)((float)this.int_4[gclass9_0.int_0] / (float)this.int_5[gclass9_0.int_0] * 729f);
    }