コード例 #1
0
    // Token: 0x0600028D RID: 653 RVA: 0x0002BA38 File Offset: 0x00029C38
    public void method_32(CHPlayer gclass9_0, BasePlayer basePlayer_0, Song gclass27_0)
    {
        int      i      = 0;
        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.GClass20_0.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_42();
        for (int j = 1; j < this.int_9; j++)
        {
            uint num2 = 0u;
            int  num3 = 0;
            int  num4 = 1;
            if (j < this.int_9 - 0)
            {
                num2 = this.gclass22_0[j + 0].uint_0;
            }
            while (i < basePlayer_0.noteRenderer.list_0.Count)
            {
                GClass6 gclass2 = basePlayer_0.noteRenderer.list_0[i];
                if (num2 > 0u && gclass2.uint_0 >= num2)
                {
                    break;
                }
                if (!gclass2.method_17() || !gclass2.Boolean_2)
                {
                    if (gclass2.bool_0)
                    {
                        num3 += 0;
                    }
                    num4++;
                }
                i++;
            }
            if (num4 == 0)
            {
                this.int_1[num] = -1;
            }
            else
            {
                this.int_1[num] = (int)((float)num3 / (float)num4 * 1860f);
            }
            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] * 1578f);
    }